Query: dev_driver_string
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DEV_DRIVER_STRING(9) Device drivers infrastructure DEV_DRIVER_STRING(9)NAMEdev_driver_string - Return a device's driver name, if at all possibleSYNOPSISconst char * dev_driver_string(const struct device * dev);ARGUMENTSdev struct device to get the name ofDESCRIPTIONWill return the device's driver's name if it is bound to a device. If the device is not bound to a device, 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 DEV_DRIVER_STRING(9)