Commit 1094d5db authored by Wenchao Hao's avatar Wenchao Hao Committed by Rob Herring
Browse files

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: default avatarWenchao Hao <haowenchao22@gmail.com>
Link: https://lore.kernel.org/r/20200701162444.9494-1-haowenchao22@gmail.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 71eef84e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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