Merge branch 'net-dsa-mv88e6xxx-centralize-SERDES-IRQ-handling'
authorDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2019 19:16:38 +0000 (12:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2019 19:16:38 +0000 (12:16 -0700)
commit4bc61b0b16955322576265724ab0a0075a30dc84
tree4ed06a60199887ca6303fe3acd5d0fcf76af5bde
parentb943e03341e69cfd384ceabbb4efc28a82f69e0c
parent45de77ff8286156f78ac2beef03f6088bb3e451b
Merge branch 'net-dsa-mv88e6xxx-centralize-SERDES-IRQ-handling'

Vivien Didelot says:

====================
net: dsa: mv88e6xxx: centralize SERDES IRQ handling

Following Marek's work on the abstraction of the SERDES lanes mapping, this
series trades the .serdes_irq_setup and .serdes_irq_free callbacks for new
.serdes_irq_mapping, .serdes_irq_enable and .serdes_irq_status operations.

This has the benefit to limit the various SERDES implementations to simple
register accesses only; centralize the IRQ handling and mutex locking logic;
as well as reducing boilerplate in the driver.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>