ata: sata_mv: Fix probe failures with optional phys
authorAndrew Lunn <andrew@lunn.ch>
Tue, 4 Feb 2014 17:33:13 +0000 (18:33 +0100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 5 Feb 2014 05:48:58 +0000 (05:48 +0000)
commit90aa2997029fa623fe9e3ec3a469a00a34130237
tree2da9ff5ee00061ae2c39cccaea0905f60d317273
parent788a4d56ff378bff0b8e685d03a962b36903a149
ata: sata_mv: Fix probe failures with optional phys

Make use of devm_phy_optional_get() in order to fix probe failures on
Armada 370, XP and others, when there is no phy driver available.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/ata/sata_mv.c