summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-amdpt.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-04-15 16:15:26 +0200
committerLinus Walleij <linus.walleij@linaro.org>2020-04-17 12:30:06 +0200
commite092bc5044ca8bb7acfa2930a96a5f1dba4148aa (patch)
tree117edd56ded78b4f03f55d8df2c1fd65d4f99716 /drivers/gpio/gpio-amdpt.c
parentgpio: dwapb: Deduplicate IRQ resource management (diff)
downloadlinux-e092bc5044ca8bb7acfa2930a96a5f1dba4148aa.tar.xz
linux-e092bc5044ca8bb7acfa2930a96a5f1dba4148aa.zip
gpio: dwapb: Convert to use irqd_to_hwirq()
Convert to use irqd_to_hwirq() instead of direct access to the hwirq member. Also amend the type of the hwirq holding variable to be irq_hw_number_t. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Tested-by: Serge Semin <fancer.lancer@gmail.com> Reviewed-by: Serge Semin <fancer.lancer@gmail.com> Cc: Serge Semin <fancer.lancer@gmail.com> Link: https://lore.kernel.org/r/20200415141534.31240-7-andriy.shevchenko@linux.intel.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-amdpt.c')
0 files changed, 0 insertions, 0 deletions