1DEV_DRIVER_STRING(9) Device drivers infrastructure DEV_DRIVER_STRING(9)
2
3
4
6 dev_driver_string - Return a device's driver name, if at all possible
7
9 const char * dev_driver_string(const struct device * dev);
10
12 dev
13 struct device to get the name of
14
16 Will return the device's driver's name if it is bound to a device. If
17 the device is not bound to a driver, it will return the name of the bus
18 it is attached to. If it is not attached to a bus either, an empty
19 string will be returned.
20
22Kernel Hackers Manual 3.10 June 2019 DEV_DRIVER_STRING(9)