summaryrefslogtreecommitdiff
path: root/drivers/of/address.c
diff options
context:
space:
mode:
authorWenchao Hao <haowenchao22@gmail.com>2020-07-01 19:24:44 +0300
committerRob Herring <robh@kernel.org>2020-07-15 23:36:33 +0300
commit1094d5db26c21e85cd84c97e28d5ba502603da38 (patch)
treea9fc67104b1c8b5fed5300454fad7132152ae9aa /drivers/of/address.c
parent71eef84e37302d819156e1a940d88c92ce2b74be (diff)
downloadlinux-1094d5db26c21e85cd84c97e28d5ba502603da38.tar.xz
of/address: Fix variable name in comment of of_iomap
The first variable name of of_iomap is np while previous comment write device here. Signed-off-by: Wenchao Hao <haowenchao22@gmail.com> Link: https://lore.kernel.org/r/20200701162444.9494-1-haowenchao22@gmail.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/address.c')
-rw-r--r--drivers/of/address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/address.c b/drivers/of/address.c
index 8eea3f6e29a4..381dc9be7b22 100644
--- a/drivers/of/address.c
+++ b/drivers/of/address.c
@@ -864,7 +864,7 @@ EXPORT_SYMBOL_GPL(of_address_to_resource);
/**
* of_iomap - Maps the memory mapped IO for a given device_node
- * @device: the device whose io range will be mapped
+ * @np: the device whose io range will be mapped
* @index: index of the io range
*
* Returns a pointer to the mapped memory