ata: sata_mv: Fix probe failures with optional phys
authorAndrew Lunn <[email protected]>
Tue, 4 Feb 2014 17:33:13 +0000 (18:33 +0100)
committerJason Cooper <[email protected]>
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 <[email protected]>
Tested-by: Gregory CLEMENT <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Acked-by: Kishon Vijay Abraham I <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
drivers/ata/sata_mv.c