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

NAME

6       dev_driver_string - Return a device´s driver name, if at all possible
7

SYNOPSIS

9       const char * dev_driver_string(const struct device * dev);
10

ARGUMENTS

12       dev
13           struct device to get the name of
14

DESCRIPTION

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 device, 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 2.6.         June 2019              DEV_DRIVER_STRING(9)
Impressum