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)
commit8402817f65b32fa0b27dce75274d3a62f03f068c
treeec228aea495c5fef3ec68f7b3cd73ce76e127810
parent5ece5a05068cd537e722178733075a4bd929a1ca
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43742 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c