diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-06-30 14:33:39 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-07-08 09:24:07 +0200 |
commit | 3cd7f770fe8e230274e011198bf290a25dfaa570 (patch) | |
tree | 195c1d9a86a85a47999f01a7a853b0aa69d476b3 /drivers/gpio/gpio-pmic-eic-sprd.c | |
parent | 670647d7c418b4c4a4effc7eab80729310a97f0a (diff) | |
download | lwn-3cd7f770fe8e230274e011198bf290a25dfaa570.tar.gz lwn-3cd7f770fe8e230274e011198bf290a25dfaa570.zip |
gpio: gpio-pmic-eic-sprd: Fix incorrectly named property 'map'
A good attempt has been made to properly document 'struct
sprd_pmic_eic', but 'map' has been incorrectly described as
'regmap' since the driver's inception in 2018.
Fixes the following W=1 kernel build warning:
drivers/gpio/gpio-pmic-eic-sprd.c:65: warning: Function parameter or member 'map' not described in 'sprd_pmic_eic'
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Baolin Wang <baolin.wang7@gmail.com>
Cc: Orson Zhai <orsonzhai@gmail.com>
Cc: Baolin Wang <baolin.wang7@gmail.com>
Cc: Chunyan Zhang <zhang.lyra@gmail.com>
Link: https://lore.kernel.org/r/20200630133345.2232932-5-lee.jones@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pmic-eic-sprd.c')
-rw-r--r-- | drivers/gpio/gpio-pmic-eic-sprd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pmic-eic-sprd.c b/drivers/gpio/gpio-pmic-eic-sprd.c index 05000cace9b2..938285190566 100644 --- a/drivers/gpio/gpio-pmic-eic-sprd.c +++ b/drivers/gpio/gpio-pmic-eic-sprd.c @@ -48,7 +48,7 @@ enum { * struct sprd_pmic_eic - PMIC EIC controller * @chip: the gpio_chip structure. * @intc: the irq_chip structure. - * @regmap: the regmap from the parent device. + * @map: the regmap from the parent device. * @offset: the EIC controller's offset address of the PMIC. * @reg: the array to cache the EIC registers. * @buslock: for bus lock/sync and unlock. |