ar8216: Remove read/write/rmw member functions from ar8xxx_priv
authorFelix Fietkau <nbd@openwrt.org>
Thu, 18 Dec 2014 11:28:39 +0000 (11:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 18 Dec 2014 11:28:39 +0000 (11:28 +0000)
commit2289c7a010fe1a68424b1a3cc54af7164e011e7e
tree4154e4c5a5927760a15f57421ec2fee803ec0d09
parent45a494b808e2b4778346146acf6dc65c6fad21e9
ar8216: Remove read/write/rmw member functions from ar8xxx_priv

Remove read/write/rmw member functions from ar8xxx_priv

There seems to be no real benefit of the ar8xxx_priv member functions
read/write/rmw as one implementation exists for each of them only.
Especially ar8xxx_mii_rmw is assigned to priv->rmw first and then
mapped to ar8xxx_rmw.
Rename the ar8xxx_mii_.. functions to ar8xxx_.. and use them directly.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43742
target/linux/generic/files/drivers/net/phy/ar8216.c