From: Himangi Saraogi Date: Mon, 7 Jul 2014 15:42:14 +0000 (+0530) Subject: regulator: lp8755: Use devm_regulator_register X-Git-Tag: omap-for-v3.17/fixes-against-rc2~156^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57135250358e54c237450f30474616f3d850b8de;p=pandora-kernel.git regulator: lp8755: Use devm_regulator_register This patch moves data allocated using regulator_register to devm_regulator_register and does away with the calls to regulator_unregister. Also some labels are removed and a new labelerr is introduced which is less specific to context. Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: Mark Brown --- Reading git-diff-tree failed