Skip to contentSkip to conversation

of/address: Fix variable name in comment of of_iomap

PATCH Applied Wenchao Hao 2 participants 2 messages Jul 1, 2020 – Jul 15, 2020 Device tree

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/of/address.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/address.c +1 -1
index 8eea3f6e29a4..381dc9be7b22 100644
@@ -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
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 8 lines · Wenchao Hao

The first variable name of of_iomap is np while previous comment write device here.

---
 drivers/of/address.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!