sys/kern/subr_bus.c
/**
 * @brief Return the current driver for the device or @c NULL if there
 * is no driver currently attached
 */
@brief Return the current driver for the device or @c NULL if there
is no driver currently attached
@brief Return the current driver for the device or @c NULL if there is no driver currently attached
driver_t *
device_get_driver(device_t dev)
{
	return (dev->driver);
}
driver_t * device_get_driver ( device_t dev ) { return ( dev -> driver ) ; }
@brief Return the current driver for the device or @c NULL if there
 is no driver currently attached
@brief Return the current driver for the device or @c NULL if there is no driver currently attached