mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 23:50:25 +00:00
driver core: fix comments for device_block_probing()
Correct function name and spelling/typo for device_block_probing() in drivers/base/dd.c. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
63c9804705
commit
dbf03d6569
@ -179,7 +179,7 @@ static void driver_deferred_probe_trigger(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* device_block_probing() - Block/defere device's probes
|
* device_block_probing() - Block/defer device's probes
|
||||||
*
|
*
|
||||||
* It will disable probing of devices and defer their probes instead.
|
* It will disable probing of devices and defer their probes instead.
|
||||||
*/
|
*/
|
||||||
@ -456,7 +456,7 @@ static int really_probe(struct device *dev, struct device_driver *drv)
|
|||||||
if (defer_all_probes) {
|
if (defer_all_probes) {
|
||||||
/*
|
/*
|
||||||
* Value of defer_all_probes can be set only by
|
* Value of defer_all_probes can be set only by
|
||||||
* device_defer_all_probes_enable() which, in turn, will call
|
* device_block_probing() which, in turn, will call
|
||||||
* wait_for_device_probe() right after that to avoid any races.
|
* wait_for_device_probe() right after that to avoid any races.
|
||||||
*/
|
*/
|
||||||
dev_dbg(dev, "Driver %s force probe deferral\n", drv->name);
|
dev_dbg(dev, "Driver %s force probe deferral\n", drv->name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user