Skip to content

Commit

Permalink
mfd: Remove comp{1,2}_threshold sysfs entries in tps65911_comparator_…
Browse files Browse the repository at this point in the history
…remove

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
  • Loading branch information
Axel Lin authored and Samuel Ortiz committed Jul 31, 2011
1 parent 5608801 commit 2f22334
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/mfd/tps65911-comparator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2f22334

Please sign in to comment.