From 413be59e2f33382305876b17f218666d03cf3aac Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 19 Feb 2014 16:34:11 +0800 Subject: [PATCH] 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-format-patch failed