aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2019-08-09 11:20:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-09 15:02:24 +0200
commit1f573cce48a2ebb35953034062ef01056b7d6a58 (patch)
treee1412d53b458591f6fd61c3d68e9d577e2d30bd5 /include/linux/device.h
parentof/platform: Fix device_links_supplier_sync_state_resume() warning (diff)
downloadlinux-dev-1f573cce48a2ebb35953034062ef01056b7d6a58.tar.xz
linux-dev-1f573cce48a2ebb35953034062ef01056b7d6a58.zip
device.h: Fix warnings for mismatched parameter names in comments
Fix the warnings for parameter named as "driver" instead of the actual "drv" in the comments as reported by the kbuild robot. Reported-by: kbuild test robot <lkp@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20190809102033.28463-1-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 23efaff5f10c..e32038f4ef56 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -479,7 +479,7 @@ struct device *driver_find_device(struct device_driver *drv,
/**
* driver_find_device_by_name - device iterator for locating a particular device
* of a specific name.
- * @driver: the driver we're iterating
+ * @drv: the driver we're iterating
* @name: name of the device to match
*/
static inline struct device *driver_find_device_by_name(struct device_driver *drv,
@@ -491,7 +491,7 @@ static inline struct device *driver_find_device_by_name(struct device_driver *dr
/**
* driver_find_device_by_of_node- device iterator for locating a particular device
* by of_node pointer.
- * @driver: the driver we're iterating
+ * @drv: the driver we're iterating
* @np: of_node pointer to match.
*/
static inline struct device *
@@ -504,7 +504,7 @@ driver_find_device_by_of_node(struct device_driver *drv,
/**
* driver_find_device_by_fwnode- device iterator for locating a particular device
* by fwnode pointer.
- * @driver: the driver we're iterating
+ * @drv: the driver we're iterating
* @fwnode: fwnode pointer to match.
*/
static inline struct device *
@@ -536,7 +536,7 @@ static inline struct device *driver_find_next_device(struct device_driver *drv,
/**
* driver_find_device_by_acpi_dev : device iterator for locating a particular
* device matching the ACPI_COMPANION device.
- * @driver: the driver we're iterating
+ * @drv: the driver we're iterating
* @adev: ACPI_COMPANION device to match.
*/
static inline struct device *