From: David Brownell Date: Wed, 31 Dec 2008 12:54:19 +0000 (+0000) Subject: regulator: catch some registration errors X-Git-Tag: v2.6.29-rc1~44^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6001e13c5f708eb68c744a69df3c2c281156030d;p=pandora-kernel.git regulator: catch some registration errors Prevent registration of duplicate "struct regulator" names. They'd be unavailable, and clearly indicate something wrong. [Edited to remove check for NULL consumer device until we have a solution for things like cpufreq -- broonie] Signed-off-by: David Brownell Signed-off-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed