linux/Documentation/driver-api/gpio
Andy Shevchenko e9fdcc2d83 Documentation: gpio: Advertise irqd_to_hwirq() helper in the examples
Instead of direct dereferencing the IRQ data in order to get HW IRQ number
use the irqd_to_hwirq() helper.

Fixes: 5644b66a9c ("Documentation: Update the recommended pattern for GPIO irqchips")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
2022-05-16 20:16:54 +03:00
..
board.rst ACPI: docs: gpio-properties: Unify ASL style for GPIO examples 2022-03-08 20:04:51 +01:00
bt8xxgpio.rst docs: driver-api: bt8xxgpio: Revive dead link 2019-10-09 11:13:36 +02:00
consumer.rst docs: gpio: explain GPIOD_OUT_* values and toggling active low 2021-07-21 15:21:36 +02:00
driver.rst Documentation: gpio: Advertise irqd_to_hwirq() helper in the examples 2022-05-16 20:16:54 +03:00
drivers-on-gpio.rst gpio: Mention GPIO MUX in docs 2021-03-26 14:56:19 +01:00
index.rst gpio: Add use guidance documentation 2020-01-15 11:11:43 +01:00
intro.rst Documentation: gpio: chip should be plural 2021-03-25 11:41:37 -06:00
legacy.rst Documentation: rename pinctl to pin-control 2021-03-10 14:41:58 +01:00
using-gpio.rst docs: driver-api: gpio: using-gpio.rst: avoid using ReST :doc:foo markup 2021-06-17 13:24:37 -06:00