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)
commitcdb18359980eac0c4056c05af6c2766561b3ba33
treee4bcba4c36624170651c19f8c0259e63f25ec551
parent03af3617c793f1fef2a9481c28af9f42a5849683
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