centos man page for dev_driver_string

Query: dev_driver_string

OS: centos

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)

NAME
dev_driver_string - Return a device's driver name, if at all possible
SYNOPSIS
const char * dev_driver_string(const struct device * dev);
ARGUMENTS
dev struct 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
Kernel Hackers Manual 3.10 June 2014 DEV_DRIVER_STRING(9)
Related Man Pages
struct_bus_type(9) - centos
device(9) - freebsd
device(9) - minix
device(9) - bsd
device(9) - opensolaris
Similar Topics in the Unix Linux Community
Weird 'find' results
Tar Command
CentOS7 restoring file capabilities
Controlling user input
[TIP] Processing YAML files with yq