Skip to content

Commit 1094d5d

Browse files
haowenchaorobherring
authored andcommitted
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: Wenchao Hao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent 71eef84 commit 1094d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/of/address.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ EXPORT_SYMBOL_GPL(of_address_to_resource);
864864

865865
/**
866866
* of_iomap - Maps the memory mapped IO for a given device_node
867-
* @device: the device whose io range will be mapped
867+
* @np: the device whose io range will be mapped
868868
* @index: index of the io range
869869
*
870870
* Returns a pointer to the mapped memory

0 commit comments

Comments
 (0)