1. NAME

driver_find - locate driver on a bus by its name.

2. SYNOPSIS

struct device_driver * driver_find(const char *  name , struct bus_type *  bus );

3. ARGUMENTS

name
    name of the driver.

bus
    bus to scan for the driver.

4. DESCRIPTION

Call kset_find_obj to iterate over list of drivers on a bus to find driver by name. Return driver if found.

This routine provides no locking to prevent the driver it returns from being unregistered or unloaded while the caller is using it. The caller is responsible for preventing this.

5. COPYRIGHT