From: Rajendra Nayak Date: Fri, 16 Mar 2012 10:20:21 +0000 (+0530) Subject: regulator: Fix up a confusing dev_warn when DT lookup fails X-Git-Tag: v3.4-rc1~168^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16fbcc3b1139e90fe560fde5619169db74dc02c2;p=pandora-kernel.git 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 Signed-off-by: Rajendra Nayak Signed-off-by: Mark Brown --- Reading git-diff-tree failed