From: Mark Brown Date: Thu, 11 Feb 2010 19:20:48 +0000 (+0000) Subject: regulator: Fix display of null constraints for regulators X-Git-Tag: v2.6.33-rc8~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=973e9a2795b3b41d8408a0bb6f87b783c5efc88a;p=pandora-kernel.git regulator: Fix display of null constraints for regulators If the regulator constraints are empty and there is no voltage reported then nothing will be added to the text displayed for the constraints, leading to random stack data being printed. This is unlikely to happen for practical regulators since most will at least report a voltage but should still be fixed. Signed-off-by: Mark Brown Cc: stable@kernel.org Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed