commit | 8d6d09e7a0149b60a8b504b21cafe5f4b304fd97 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Thu Mar 26 18:36:31 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 29 13:23:51 2015 -0700 |
tree | 50e06344eb8769bf34f09351aa2059be1a630bfb | |
parent | 366f0a0f98370d435de64978d623e6abf2630b01 [diff] |
net: dsa: mv88e6xxx: Split mv88e6xxx_reg_read and mv88e6xxx_reg_write Split mv88e6xxx_reg_read and mv88e6xxx_reg_write into two functions each, one to acquire smi_mutex and one to get struct mii_bus *bus from struct dsa_switch *ds and to call the actual read/write function. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>