ar8216: factor out set_mirror_regs to ar8xxx_chip
authorJohn Crispin <blogic@openwrt.org>
Mon, 1 Dec 2014 16:14:43 +0000 (16:14 +0000)
committerJohn Crispin <blogic@openwrt.org>
Mon, 1 Dec 2014 16:14:43 +0000 (16:14 +0000)
commitf7b3266ff9f8503482e9fa30b52660b0560b2742
tree5aab5e99feddb8e2338f931ecbc637868dcecea9
parent8a609f9af771939e16a618070f774ac6002926a8
ar8216: factor out set_mirror_regs to ar8xxx_chip

Factor out set_mirror_regs to ar8xxx_chip.
Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43468 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/files/drivers/net/phy/ar8216.c