linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/1] gpio: rockchip: Do not mention legacy API in the code
@ 2023-01-12 13:46 Andy Shevchenko
  2023-01-16  9:33 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2023-01-12 13:46 UTC (permalink / raw)
  To: linux-gpio, linux-arm-kernel, linux-rockchip, linux-kernel
  Cc: Linus Walleij, Bartosz Golaszewski, Heiko Stuebner,
	Andy Shevchenko

Replace mentioning of legacy API by the latest one.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-rockchip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-rockchip.c b/drivers/gpio/gpio-rockchip.c
index 200e43a6f4b4..e5de15a2ab9a 100644
--- a/drivers/gpio/gpio-rockchip.c
+++ b/drivers/gpio/gpio-rockchip.c
@@ -299,7 +299,7 @@ static int rockchip_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
 }
 
 /*
- * gpiolib gpio_to_irq callback function. Creates a mapping between a GPIO pin
+ * gpiod_to_irq() callback function. Creates a mapping between a GPIO pin
  * and a virtual IRQ, if not already present.
  */
 static int rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset)
-- 
2.39.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1 1/1] gpio: rockchip: Do not mention legacy API in the code
  2023-01-12 13:46 [PATCH v1 1/1] gpio: rockchip: Do not mention legacy API in the code Andy Shevchenko
@ 2023-01-16  9:33 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2023-01-16  9:33 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: linux-gpio, linux-arm-kernel, linux-rockchip, linux-kernel,
	Linus Walleij, Heiko Stuebner

On Thu, Jan 12, 2023 at 2:46 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> Replace mentioning of legacy API by the latest one.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/gpio/gpio-rockchip.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-rockchip.c b/drivers/gpio/gpio-rockchip.c
> index 200e43a6f4b4..e5de15a2ab9a 100644
> --- a/drivers/gpio/gpio-rockchip.c
> +++ b/drivers/gpio/gpio-rockchip.c
> @@ -299,7 +299,7 @@ static int rockchip_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
>  }
>
>  /*
> - * gpiolib gpio_to_irq callback function. Creates a mapping between a GPIO pin
> + * gpiod_to_irq() callback function. Creates a mapping between a GPIO pin
>   * and a virtual IRQ, if not already present.
>   */
>  static int rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset)
> --
> 2.39.0
>

Applied, thanks!

Bart

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-16  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-12 13:46 [PATCH v1 1/1] gpio: rockchip: Do not mention legacy API in the code Andy Shevchenko
2023-01-16  9:33 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).