bus_find_device_by_name — device iterator for locating a particular device of a specific name
struct device * bus_find_device_by_name
(struct bus_type * bus, struct device * start, const char * name);
bus type
Device to begin with
name of the device to match
This is similar to the bus_find_device function above, but it handles searching by a name automatically, no need to write another strcmp matching function.