diff mbox series

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

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

Commit Message

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

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

Comments

Bartosz Golaszewski Jan. 13, 2023, 12:42 p.m. UTC | #1
On Thu, Jan 12, 2023 at 3:17 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>
> ---
>  include/linux/gpio/driver.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
> index 8e2e2618d40e..ddc7a14a274f 100644
> --- a/include/linux/gpio/driver.h
> +++ b/include/linux/gpio/driver.h
> @@ -339,7 +339,7 @@ struct device_node;
>   * @set_multiple: assigns output values for multiple signals defined by "mask"
>   * @set_config: optional hook for all kinds of settings. Uses the same
>   *     packed config format as generic pinconf.
> - * @to_irq: optional hook supporting non-static gpio_to_irq() mappings;
> + * @to_irq: optional hook supporting non-static gpiod_to_irq() mappings;
>   *     implementation may not sleep
>   * @dbg_show: optional routine to show contents in debugfs; default code
>   *     will be used when this is omitted, but custom code can show extra
> --
> 2.39.0
>

Applied, thanks!

Bart
diff mbox series

Patch

diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 8e2e2618d40e..ddc7a14a274f 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -339,7 +339,7 @@  struct device_node;
  * @set_multiple: assigns output values for multiple signals defined by "mask"
  * @set_config: optional hook for all kinds of settings. Uses the same
  *	packed config format as generic pinconf.
- * @to_irq: optional hook supporting non-static gpio_to_irq() mappings;
+ * @to_irq: optional hook supporting non-static gpiod_to_irq() mappings;
  *	implementation may not sleep
  * @dbg_show: optional routine to show contents in debugfs; default code
  *	will be used when this is omitted, but custom code can show extra