summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-08-28 19:15:46 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-30 09:59:11 +0100
commit13dc931918ac7c1f5bc919f4a9049aa10f27ceee (patch)
tree5187baa19cd3724ad832aa928869fecf6c0b87ca /Documentation/devicetree/bindings/net
parentf52749a285646d51a1b3f8fdc33881983e15ee5d (diff)
ixp4xx_eth: Stop referring to GPIOs
The driver is being passed interrupts, then looking up the same interrupts as GPIOs a second time to convert them into interrupts and set properties on them. This is pointless: the GPIO and irqchip APIs of a GPIO chip are orthogonal. Just request the interrupts and be done with it, drop reliance on any GPIO functions or definitions. Use devres-managed functions and add a small devress quirk to unregister the clock as well and we can rely on devres to handle all the resources and cut down a bunch of boilerplate in the process. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
0 files changed, 0 insertions, 0 deletions