From: Karol Lewandowski Date: Wed, 25 Jan 2012 09:31:45 +0000 (+0100) Subject: regulator: Set apply_uV only when min and max voltages are defined X-Git-Tag: v3.3-rc2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a093049c604ab32d94bcc5baa24f7939d5e3f7b;p=pandora-kernel.git regulator: Set apply_uV only when min and max voltages are defined apply_uV is errornously set when regulator is instantiated from device tree, even when it doesn't contain any voltage constraints. This commit fixes error: machine_constraints_voltage: CHARGER: failed to apply 0uV constraint for following regulator description in DTS: CHARGER { regulator-min-microamp = <100000>; regulator-max-microamp = <200000>; } Signed-off-by: Karol Lewandowski Signed-off-by: Kyungmin Park Signed-off-by: Mark Brown --- Reading git-diff-tree failed