OSDN Git Service

phy: core: Check requested PHY status in _of_phy_get()
authorAxel Lin <axel.lin@ingics.com>
Tue, 7 Apr 2015 04:23:38 +0000 (12:23 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 11 May 2015 16:12:27 +0000 (21:42 +0530)
commit33f434d283a27116fb358ae5bc3b42967c12f85a
treed713eba563c8f01adc146e1e02ac872d0efa1ffb
parent5bea496820cdcb0f6711741ba663ccfe78ac4dbf
phy: core: Check requested PHY status in _of_phy_get()

This is a common checking in various drivers, so move the checking to
_of_phy_get().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-core.c
drivers/phy/phy-miphy28lp.c
drivers/phy/phy-miphy365x.c
drivers/phy/phy-rcar-gen2.c