diff mbox series

of/address: Fix variable name in comment of of_iomap

Message ID 20200701162444.9494-1-haowenchao22@gmail.com
State Accepted
Headers show
Series of/address: Fix variable name in comment of of_iomap | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Wenchao Hao July 1, 2020, 4:24 p.m. UTC
The first variable name of of_iomap is np while previous
comment write device here.

Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
---
 drivers/of/address.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring July 15, 2020, 8:36 p.m. UTC | #1
On Thu, 02 Jul 2020 00:24:44 +0800, Wenchao Hao wrote:
> The first variable name of of_iomap is np while previous
> comment write device here.
> 
> Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
> ---
>  drivers/of/address.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Applied, thanks!
diff mbox series

Patch

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