commit | 4bd11675cf0d39e912b55e4d8fa91c85a82d946a | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Aug 18 15:30:15 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 19 17:15:36 2016 -0700 |
tree | 988a0dc09ee2c4ff4b085e1325e776e3818259f5 | |
parent | d9338023fb8e60aa09014034a993f8ddc86c65fa [diff] |
net: dsa: bcm_sf2: Use device managed helpers Now that we have converted the drivers into a proper platform device driver, we can use the device managed helper functions to simplify the error paths a bit wrt. register resources and IRQs. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>