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)
commit5d0105ca57e02d847c7c7ca32e1f247f474da392
treeec228aea495c5fef3ec68f7b3cd73ce76e127810
parent6739702b4b03206cce0ddb92229c92476920f274
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