summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/tps65911-comparator.c
diff options
context:
space:
mode:
authorPekka Enberg <penberg@kernel.org>2011-09-19 17:46:07 +0300
committerPekka Enberg <penberg@kernel.org>2011-09-19 17:46:07 +0300
commitd20bbfab01802e195a50435940f7e4aa747c217c (patch)
tree82b0007e33c083050a4e60a49dbb2f5477b4c99d /drivers/mfd/tps65911-comparator.c
parenta37933c37c14b64e81c7c9cc44a5d3f5e0c91412 (diff)
parent136333d104bd3a62d783b0ac3d0f32ac0108c5d0 (diff)
downloadop-kernel-dev-d20bbfab01802e195a50435940f7e4aa747c217c.zip
op-kernel-dev-d20bbfab01802e195a50435940f7e4aa747c217c.tar.gz
Merge branch 'slab/urgent' into slab/next
Diffstat (limited to 'drivers/mfd/tps65911-comparator.c')
-rw-r--r--drivers/mfd/tps65911-comparator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/tps65911-comparator.c b/drivers/mfd/tps65911-comparator.c
index 283ac67..e7ff783 100644
--- a/drivers/mfd/tps65911-comparator.c
+++ b/drivers/mfd/tps65911-comparator.c
@@ -157,6 +157,8 @@ static __devexit int tps65911_comparator_remove(struct platform_device *pdev)
struct tps65910 *tps65910;
tps65910 = dev_get_drvdata(pdev->dev.parent);
+ device_remove_file(&pdev->dev, &dev_attr_comp2_threshold);
+ device_remove_file(&pdev->dev, &dev_attr_comp1_threshold);
return 0;
}
OpenPOWER on IntegriCloud