1BUS_FIND_DEVICE_BY_N(9)  Device drivers infrastructure BUS_FIND_DEVICE_BY_N(9)
2
3
4

NAME

6       bus_find_device_by_name - device iterator for locating a particular
7       device of a specific name
8

SYNOPSIS

10       struct device * bus_find_device_by_name(struct bus_type * bus,
11                                               struct device * start,
12                                               const char * name);
13

ARGUMENTS

15       bus
16           bus type
17
18       start
19           Device to begin with
20
21       name
22           name of the device to match
23

DESCRIPTION

25       This is similar to the bus_find_device function above, but it handles
26       searching by a name automatically, no need to write another strcmp
27       matching function.
28
30Kernel Hackers Manual 2.6.       November 2011         BUS_FIND_DEVICE_BY_N(9)
Impressum