Skip to contentSkip to conversation

gpiolib: Do not mention legacy API in the code

PATCH Applied Andy Shevchenko 2 participants 2 messages Jan 12, 2023 – Jan 13, 2023 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpiolib: Do not mention legacy API in the code

Replace mentioning of legacy API by the latest one.

---
 include/linux/gpio/driver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/gpio/driver.h +1 -1
index 8e2e2618d40e..ddc7a14a274f 100644
@@ -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
Signature · 1 line
2.39.0
#1 lore raw
Quoted 22 lines · Andy Shevchenko

Replace mentioning of legacy API by the latest one.

---
 include/linux/gpio/driver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/gpio/driver.h +1 -2
index 8e2e2618d40e..ddc7a14a274f 100644
@@ -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
--
Quoted 2 lines

2.39.0

Applied, thanks!

Bart