diff options
author | Rajendra Nayak <rnayak@ti.com> | 2012-03-16 14:20:21 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-16 23:26:09 +0400 |
commit | 16fbcc3b1139e90fe560fde5619169db74dc02c2 (patch) | |
tree | 7f453cf1d0ba14ed3afac2e4cb394ae84552a914 /include/linux/regulator | |
parent | 073512336e6333ffcaabbb2b92f8e616db3a0789 (diff) | |
download | linux-16fbcc3b1139e90fe560fde5619169db74dc02c2.tar.xz |
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 <tomi.valkeinen@ti.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions