UPSTREAM: extcon: Move extcon_get_edev_by_phandle() errors to dbg level
authorStephen Boyd <stephen.boyd@linaro.org>
Tue, 5 Jul 2016 18:57:05 +0000 (11:57 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 3 Aug 2016 01:44:06 +0000 (09:44 +0800)
commit8693c5671ff59bfb5ace423ad4a0caf1bac5a287
tree4998d3bbe878b3e1d1d75d0dba8c035c5bc77194
parent4d97894a8488ec10e12eefd13e4348b9af1ca81f
UPSTREAM: extcon: Move extcon_get_edev_by_phandle() errors to dbg level

Sometimes drivers may call this API and expect it to fail because
the extcon they're looking for is optional. Let's move these
prints to debug level so it doesn't look like there's a problem
when there isn't one.

Change-Id: Id3297af428cbaaef208e1990e1678b9ef04a7246
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
(cherry picked from commit 27210e4efd5259c691c4c3ab53e74239efa0d581)
drivers/extcon/extcon.c