diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2021-02-19 23:39:08 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-05-19 13:33:49 +0100 |
commit | c06a40e9513d246bdeacd290f2357bb99251dc9a (patch) | |
tree | d92bb7f8d33ab6122ed4526840c2f68df11bff90 /drivers/gpio | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) | |
download | linux-stable-c06a40e9513d246bdeacd290f2357bb99251dc9a.tar.gz linux-stable-c06a40e9513d246bdeacd290f2357bb99251dc9a.tar.bz2 linux-stable-c06a40e9513d246bdeacd290f2357bb99251dc9a.zip |
mfd: lp87565: Fix typo in define names
"GOIO" should be "GPIO" here.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-lp87565.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-lp87565.c b/drivers/gpio/gpio-lp87565.c index e1244520cf7d..fcde6708b5df 100644 --- a/drivers/gpio/gpio-lp87565.c +++ b/drivers/gpio/gpio-lp87565.c @@ -123,14 +123,14 @@ static int lp87565_gpio_set_config(struct gpio_chip *gc, unsigned int offset, return regmap_update_bits(gpio->map, LP87565_REG_GPIO_CONFIG, BIT(offset + - __ffs(LP87565_GOIO1_OD)), + __ffs(LP87565_GPIO1_OD)), BIT(offset + - __ffs(LP87565_GOIO1_OD))); + __ffs(LP87565_GPIO1_OD))); case PIN_CONFIG_DRIVE_PUSH_PULL: return regmap_update_bits(gpio->map, LP87565_REG_GPIO_CONFIG, BIT(offset + - __ffs(LP87565_GOIO1_OD)), 0); + __ffs(LP87565_GPIO1_OD)), 0); default: return -ENOTSUPP; } |