Query: subsys_find_device_by_id
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SUBSYS_FIND_DEVICE_B(9) Device drivers infrastructure SUBSYS_FIND_DEVICE_B(9)NAMEsubsys_find_device_by_id - find a device with a specific enumeration numberSYNOPSISstruct device * subsys_find_device_by_id(struct bus_type * subsys, unsigned int id, struct device * hint);ARGUMENTSsubsys subsystem id index 'id' in struct device hint device to check firstDESCRIPTIONCheck the hint's next object and if it is a match return it directly, otherwise, fall back to a full list search. Either way a reference for the returned object is taken.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SUBSYS_FIND_DEVICE_B(9)