diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-07-16 11:28:35 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-07-17 14:03:38 +0200 |
commit | 80606cb24161d504acb4d89f406d68f72196575e (patch) | |
tree | 1095a29272df4aadc36789fb6db095350c30e163 /drivers/gpio/gpio-tc3589x.c | |
parent | 761b5c30c206ba1788c6ceb23e5812f319548b52 (diff) |
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