diff options
| author | 2020-07-16 11:28:35 +0200 | |
|---|---|---|
| committer | 2020-07-17 14:03:38 +0200 | |
| commit | 80606cb24161d504acb4d89f406d68f72196575e (patch) | |
| tree | 1095a29272df4aadc36789fb6db095350c30e163 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | gpio: mmio: replace open-coded for_each_set_bit() (diff) | |
| download | linux-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 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
