diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-03-26 21:36:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-29 16:23:51 -0400 |
commit | 8d6d09e7a0149b60a8b504b21cafe5f4b304fd97 (patch) | |
tree | 50e06344eb8769bf34f09351aa2059be1a630bfb /kernel | |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions