diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-09 20:58:19 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-03-15 10:58:13 +0100 |
commit | db4064cc108214bf0912b89c7e660c7d9d6bba1d (patch) | |
tree | 37fb3b81f3a4bdf9a7b8999c3a29f4534fe5e9d3 /drivers/gpio/gpio-reg.c | |
parent | c122f461ccac0e78e8e45d4f6de14e58942572f6 (diff) |
gpiolib: Use IRQ hardware number getter instead of direct access
IRQ framework provides special type and getter to transform
the Linux IRQ to the hardware pin. Use that type and getter
function instead of direct access.
While at it, amend an indentation in a couple of places.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-reg.c')
0 files changed, 0 insertions, 0 deletions