diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2022-09-17 23:30:35 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-09-19 10:02:56 +0300 |
commit | e5ec1f9da84324d01b7b8ec3a8bf50e8430b99a7 (patch) | |
tree | 2271feeafaa156014ef29d29a8b9af7998d37ed1 /lib/dim | |
parent | 92858eb6cb64cfafdc2b35c942d1812275f4205a (diff) | |
download | linux-e5ec1f9da84324d01b7b8ec3a8bf50e8430b99a7.tar.xz |
pinctrl: nomadik: Dereference gpio_chip properly
The irq data passed to irc_chip handlers i the struct gpio_chip
and nothing else. We are just lucky that the nomadik chip
pointer is first in the struct. Use the proper dereferencing
and helpers.
Reported-by: Marc Zyngier <maz@kernel.org>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220917203036.167607-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/dim')
0 files changed, 0 insertions, 0 deletions