aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tc3589x.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-07-16 11:28:35 +0200
committerLinus Walleij <linus.walleij@linaro.org>2020-07-17 14:03:38 +0200
commit80606cb24161d504acb4d89f406d68f72196575e (patch)
tree1095a29272df4aadc36789fb6db095350c30e163 /drivers/gpio/gpio-tc3589x.c
parentgpio: mmio: replace open-coded for_each_set_bit() (diff)
downloadlinux-dev-80606cb24161d504acb4d89f406d68f72196575e.tar.xz
linux-dev-80606cb24161d504acb4d89f406d68f72196575e.zip
gpio: max77620: Use helper variable and clarify
Most other drivers fill out the gpio_irq_chip using a struct gpio_irq_chip *girq helper variable for ease of reading. We also make a habit of explicitly assigning NULL and zero to the parent IRQs when using ordinary IRQ handlers in the driver, mostly for code readability and maintenance. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Cc: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20200716092835.69176-1-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpio/gpio-tc3589x.c')
0 files changed, 0 insertions, 0 deletions