diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2018-11-06 02:41:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-11 12:54:42 -0500 |
commit | dbf03d6569d76e74bb7b3253396ddd192f1c7b51 (patch) | |
tree | 7fe8aa42650f8dd68ec592c8ea89eb32d0a8da93 /drivers/base/dd.c | |
parent | 63c980470526842f2e5219ffdfeca7c3051c110c (diff) |
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>
Diffstat (limited to 'drivers/base/dd.c')
-rw-r--r-- | drivers/base/dd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 940abad069c0..689ac9dc6d81 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c | |||
@@ -179,7 +179,7 @@ static void driver_deferred_probe_trigger(void) | |||
179 | } | 179 | } |
180 | 180 | ||
181 | /** | 181 | /** |
182 | * device_block_probing() - Block/defere device's probes | 182 | * device_block_probing() - Block/defer device's probes |
183 | * | 183 | * |
184 | * It will disable probing of devices and defer their probes instead. | 184 | * It will disable probing of devices and defer their probes instead. |
185 | */ | 185 | */ |
@@ -456,7 +456,7 @@ static int really_probe(struct device *dev, struct device_driver *drv) | |||
456 | if (defer_all_probes) { | 456 | if (defer_all_probes) { |
457 | /* | 457 | /* |
458 | * Value of defer_all_probes can be set only by | 458 | * Value of defer_all_probes can be set only by |
459 | * device_defer_all_probes_enable() which, in turn, will call | 459 | * device_block_probing() which, in turn, will call |
460 | * wait_for_device_probe() right after that to avoid any races. | 460 | * wait_for_device_probe() right after that to avoid any races. |
461 | */ | 461 | */ |
462 | dev_dbg(dev, "Driver %s force probe deferral\n", drv->name); | 462 | dev_dbg(dev, "Driver %s force probe deferral\n", drv->name); |