From: Andrew Lunn Date: Tue, 4 Feb 2014 17:33:12 +0000 (+0100) Subject: drivers: phy: Add support for optional phys X-Git-Tag: v3.14-rc3~9^2~8^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788a4d56ff378bff0b8e685d03a962b36903a149;p=pandora-kernel.git drivers: phy: Add support for optional phys Add devm_phy_optional_get and phy_optional_get, which should be used when the phy is optional. They does not return an error when the phy does not exist, rather they returns NULL, which is considered as a valid phy, but results in NOPs when used with the consumer API. Signed-off-by: Andrew Lunn Tested-by: Gregory CLEMENT Acked-by: Kishon Vijay Abraham I Signed-off-by: Jason Cooper --- Reading git-diff-tree failed