diff options
| author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2019-08-01 06:20:25 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-01 10:04:13 -0400 |
| commit | b9515ecbf6caef2ea911ca59801eff84d034fa48 (patch) | |
| tree | 1fb28fc5baae682c5668a1a599825365495c12f2 /include/linux/device.h | |
| parent | 644bf60088955421051e716ab9c8fe7fb7997fd7 (diff) | |
drivers: Fix typo in parameter description for driver_find_device_by_acpi_dev
Fix a typo in the comment describing the parameters for the new API, which
triggers the following warning for htmldocs:
include/linux/device.h:479: warning: Function parameter or member 'drv' not described in 'driver_find_device_by_acpi_dev'
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20190801102026.27312-2-suzuki.poulose@arm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/device.h')
| -rw-r--r-- | include/linux/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 23ef6eba7213..8e1b2ead5d96 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
| @@ -467,7 +467,7 @@ driver_find_device_by_fwnode(struct device_driver *drv, | |||
| 467 | /** | 467 | /** |
| 468 | * driver_find_device_by_devt- device iterator for locating a particular device | 468 | * driver_find_device_by_devt- device iterator for locating a particular device |
| 469 | * by devt. | 469 | * by devt. |
| 470 | * @driver: the driver we're iterating | 470 | * @drv: the driver we're iterating |
| 471 | * @devt: devt pointer to match. | 471 | * @devt: devt pointer to match. |
| 472 | */ | 472 | */ |
| 473 | static inline struct device *driver_find_device_by_devt(struct device_driver *drv, | 473 | static inline struct device *driver_find_device_by_devt(struct device_driver *drv, |
