From: Hans de Goede Date: Mon, 17 Feb 2014 08:59:22 +0000 (+0530) Subject: phy-core: phy_get: Leave error logging to the caller X-Git-Tag: v3.14-rc4~6^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f40037fd3677ae240978f469cc4155bf3ca7c076;p=pandora-kernel.git phy-core: phy_get: Leave error logging to the caller In various cases errors may be expected, ie probe-deferral or a call to phy_get from a driver where the use of a phy is optional. Rather then adding all sort of complicated checks for this, and/or adding special functions like devm_phy_get_optional, simply don't log an error, and let deciding if get_phy returning an error really should result in a dev_err up to the caller. Signed-off-by: Hans de Goede Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed