diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-02-17 14:29:22 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 12:13:15 -0800 |
commit | f40037fd3677ae240978f469cc4155bf3ca7c076 (patch) | |
tree | aa7cd5fc27b062f4e7b8c06b51e7459b3ef3611e /include | |
parent | 06c304e88907cac9b1f5b21727ff268bf1705bb5 (diff) | |
download | linux-f40037fd3677ae240978f469cc4155bf3ca7c076.tar.bz2 |
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 <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions