AA: generic: ar8216: introduce ar8216_mib_op helper
authorGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 16:23:03 +0000 (16:23 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 25 Nov 2012 16:23:03 +0000 (16:23 +0000)
commitf22bbf122a4509c1192412c16e2caf3fa454723d
tree9e312582682f94e98cf2b572a5be2a81af90b6c9
parentfb5e12bfc3c4a96338621fb2626bbe54028b40cb
AA: generic: ar8216: introduce ar8216_mib_op helper

Backport of r34297.

The ar8216_mib_{capture,flush} functions are similar.
Move the common code into a helper and use that from
the original functions.

This change also fixes a lockdep warning in
ar8216_mib_flush.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34372
target/linux/generic/files/drivers/net/phy/ar8216.c