Query: platform_device_alloc
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PLATFORM_DEVICE_ALLO(9) Device drivers infrastructure PLATFORM_DEVICE_ALLO(9)NAMEplatform_device_alloc - create a platform deviceSYNOPSISstruct platform_device * platform_device_alloc(const char * name, int id);ARGUMENTSname base name of the device we're adding id instance idDESCRIPTIONCreate a platform device object which can have other objects attached to it, and which will have attached objects freed when it is released.COPYRIGHTKernel Hackers Manual 3.10 June 2014 PLATFORM_DEVICE_ALLO(9)