From: Jani Nikula Date: Thu, 29 Apr 2010 07:55:11 +0000 (+0300) Subject: regulator: simplify regulator_register() error handling X-Git-Tag: v2.6.35-rc1~268^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4033b54fc91221b13e2850bf298683c0f2ff37d;p=pandora-kernel.git regulator: simplify regulator_register() error handling Simply remove all consumer supplies for the regulator on errors. Remove unset_consumer_device_supply() which is no longer used. Signed-off-by: Jani Nikula Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed