generic: ar8216: move ar8xxx_id_chip into ar8xxx_phy_probe
authorChuanhong Guo <gch981213@gmail.com>
Thu, 10 Jan 2019 06:54:56 +0000 (14:54 +0800)
committerPetr Štetiar <ynezz@true.cz>
Sun, 24 Mar 2019 00:44:25 +0000 (01:44 +0100)
commitda64a8c65630388369fc3ea600f1b09cc5364f13
treedc05bccd06ac503371a6f485aa8915325026591b
parentebec6c9f857618b0f4a115fa095c5822396a7582
generic: ar8216: move ar8xxx_id_chip into ar8xxx_phy_probe

ar8xxx_id_chip is used to determine current ar8xxx_chip using switch
id and this isn't needed during mdiodev probing.
Move it out of ar8xxx_probe_switch so that we can skip it.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/generic/files/drivers/net/phy/ar8216.c