[v1,1/1] pinctrl: samsung: Do not mention legacy API in the code

Message ID 20230112134849.59534-1-andriy.shevchenko@linux.intel.com
State New
Headers
Series [v1,1/1] pinctrl: samsung: Do not mention legacy API in the code |

Commit Message

Andy Shevchenko Jan. 12, 2023, 1:48 p.m. UTC
  Replace mentioning of legacy API by the latest one.

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

Comments

Krzysztof Kozlowski Jan. 12, 2023, 2:03 p.m. UTC | #1
On 12/01/2023 14:48, Andy Shevchenko wrote:
> Replace mentioning of legacy API by the latest one.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/pinctrl/samsung/pinctrl-samsung.c | 2 +-


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Linus, please pick it up directly.

Best regards,
Krzysztof
  
Linus Walleij Jan. 16, 2023, 1:59 p.m. UTC | #2
On Thu, Jan 12, 2023 at 2:48 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>

Patch applied!

Yours,
Linus Walleij
  

Patch

diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c
index 514001e448b9..833e170e3d99 100644
--- a/drivers/pinctrl/samsung/pinctrl-samsung.c
+++ b/drivers/pinctrl/samsung/pinctrl-samsung.c
@@ -649,7 +649,7 @@  static int samsung_gpio_direction_output(struct gpio_chip *gc, unsigned 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 samsung_gpio_to_irq(struct gpio_chip *gc, unsigned offset)