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)
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>

No differences found