aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/act8865-regulator.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c
index db048f20745b..dfae29488f1c 100644
--- a/drivers/regulator/act8865-regulator.c
+++ b/drivers/regulator/act8865-regulator.c
@@ -334,17 +334,6 @@ static int act8865_pmic_probe(struct i2c_client *client,
334 return 0; 334 return 0;
335} 335}
336 336
337static int act8865_pmic_remove(struct i2c_client *client)
338{
339 struct act8865 *act8865 = i2c_get_clientdata(client);
340 int i;
341
342 for (i = 0; i < ACT8865_REG_NUM; i++)
343 regulator_unregister(act8865->rdev[i]);
344
345 return 0;
346}
347
348static const struct i2c_device_id act8865_ids[] = { 337static const struct i2c_device_id act8865_ids[] = {
349 { "act8865", 0 }, 338 { "act8865", 0 },
350 { }, 339 { },
@@ -357,7 +346,6 @@ static struct i2c_driver act8865_pmic_driver = {
357 .owner = THIS_MODULE, 346 .owner = THIS_MODULE,
358 }, 347 },
359 .probe = act8865_pmic_probe, 348 .probe = act8865_pmic_probe,
360 .remove = act8865_pmic_remove,
361 .id_table = act8865_ids, 349 .id_table = act8865_ids,
362}; 350};
363 351