of/address: Fix variable name in comment of of_iomap
authorWenchao Hao <haowenchao22@gmail.com>
Wed, 1 Jul 2020 16:24:44 +0000 (00:24 +0800)
committerRob Herring <robh@kernel.org>
Wed, 15 Jul 2020 20:36:33 +0000 (14:36 -0600)
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>
drivers/of/address.c

index 8eea3f6..381dc9b 100644 (file)
@@ -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