* [PATCH] of/address: Fix variable name in comment of of_iomap
@ 2020-07-01 16:24 Wenchao Hao
2020-07-15 20:36 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Wenchao Hao @ 2020-07-01 16:24 UTC (permalink / raw)
To: robh+dt, frowand.list; +Cc: devicetree, linux-kernel, Wenchao Hao
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(-)
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
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] of/address: Fix variable name in comment of of_iomap
2020-07-01 16:24 [PATCH] of/address: Fix variable name in comment of of_iomap Wenchao Hao
@ 2020-07-15 20:36 ` Rob Herring
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-07-15 20:36 UTC (permalink / raw)
To: Wenchao Hao; +Cc: robh+dt, linux-kernel, frowand.list, devicetree
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!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-15 20:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-01 16:24 [PATCH] of/address: Fix variable name in comment of of_iomap Wenchao Hao
2020-07-15 20:36 ` Rob Herring
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.