Re: [PATCH v3 1/6] gpio: treewide rename gpio_chip_hwgpio to gpiod_to_offset

From: Andrew Jeffery
Date: Sun Dec 01 2019 - 21:57:45 EST




On Sat, 30 Nov 2019, at 03:55, Marco Felsch wrote:
> During discussion [1] we decided to rename the gpio subsystem local
> helper so the name is more meaningful for users outside the gpio
> subsystem. Making the helper public is done by a 2nd patch. The
> current users are the gpiolib itself and the aspeed gpio driver.
> The renaming is done by the following command:
>
> find ./drivers/gpio -type f -exec sed -i
> 's/gpio_chip_hwgpio/gpiod_to_offset/g' {} \;
>
> [1] https://lkml.org/lkml/2019/11/27/357
>
> Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx>
> ---
> Changelog:
> v3:
> - new patch
>
> drivers/gpio/gpio-aspeed.c | 6 ++---

For the aspeed portion:

Reviewed-by: Andrew Jeffery <andrew@xxxxxxxx>