of_platform_device_create — Alloc, initialize and register a platform device
struct platform_device * of_platform_device_create ( | struct device_node * np, |
const char * bus_id, | |
struct device * parent) ; |
np
Pointer to node to create device for
bus_id
NULL or name to assign to the device
parent
Linux device model parent device.