From: Axel Lin Date: Wed, 19 Feb 2014 08:34:11 +0000 (+0800) Subject: regulator: tps65218: Remove unnecessary regulator_unregister call X-Git-Tag: v3.15-rc1~148^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=413be59e2f33382305876b17f218666d03cf3aac;p=pandora-kernel.git regulator: tps65218: Remove unnecessary regulator_unregister call Current code uses devm_regulator_register() so the we don't need to explicitly call regulator_unregister() in .remove. And then we don't need to save rdev pointer to tps->rdev[id]. Signed-off-by: Axel Lin Acked-by: Keerthy Signed-off-by: Mark Brown --- Reading git-diff-tree failed