diff options
Diffstat (limited to 'drivers/mfd/tps65911-comparator.c')
-rw-r--r-- | drivers/mfd/tps65911-comparator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/tps65911-comparator.c b/drivers/mfd/tps65911-comparator.c index 283ac6759757..e7ff783aa31e 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) | |||
157 | struct tps65910 *tps65910; | 157 | struct tps65910 *tps65910; |
158 | 158 | ||
159 | tps65910 = dev_get_drvdata(pdev->dev.parent); | 159 | tps65910 = dev_get_drvdata(pdev->dev.parent); |
160 | device_remove_file(&pdev->dev, &dev_attr_comp2_threshold); | ||
161 | device_remove_file(&pdev->dev, &dev_attr_comp1_threshold); | ||
160 | 162 | ||
161 | return 0; | 163 | return 0; |
162 | } | 164 | } |