table of contents
other versions
- jessie 3.16.56-1+deb8u1
DEV_DRIVER_STRING(9) | Device drivers infrastructure | DEV_DRIVER_STRING(9) |
NAME¶
dev_driver_string - Return a device's driver name, if at all possibleSYNOPSIS¶
const char *
dev_driver_string(const struct device * dev);
ARGUMENTS¶
devstruct device to get the name of
DESCRIPTION¶
Will return the device's driver's name if it is bound to a device. If the device is not bound to a driver, it will return the name of the bus it is attached to. If it is not attached to a bus either, an empty string will be returned.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |