aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorRajendra Nayak <[email protected]>2012-03-16 15:50:21 +0530
committerMark Brown <[email protected]>2012-03-16 19:26:09 +0000
commit16fbcc3b1139e90fe560fde5619169db74dc02c2 (patch)
tree7f453cf1d0ba14ed3afac2e4cb394ae84552a914 /lib/mpi
parent073512336e6333ffcaabbb2b92f8e616db3a0789 (diff)
regulator: Fix up a confusing dev_warn when DT lookup fails
of_parse_phandle() returns NULL either if the property name itself does not exist or if it (exists and) does not reference a valid phandle. Giving out a warn like the one below (that the property references an invalid phandle) can be confusing when the property itself does not exist in the node. Fix it with a more sensible message and make it a dev_dbg instead of a dev_warn. Reported-by: Tomi Valkeinen <[email protected]> Signed-off-by: Rajendra Nayak <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions