From: Wenchao Hao Date: Wed, 1 Jul 2020 16:24:44 +0000 (+0800) Subject: of/address: Fix variable name in comment of of_iomap X-Git-Tag: v5.15~3203^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1094d5db26c21e85cd84c97e28d5ba502603da38;p=platform%2Fkernel%2Flinux-starfive.git 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 Link: https://lore.kernel.org/r/20200701162444.9494-1-haowenchao22@gmail.com Signed-off-by: Rob Herring --- diff --git a/drivers/of/address.c b/drivers/of/address.c index 8eea3f6..381dc9b 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