projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5608801
)
mfd: Remove comp{1,2}_threshold sysfs entries in tps65911_comparator_remove
author
Axel Lin
<axel.lin@gmail.com>
Thu, 23 Jun 2011 02:19:16 +0000
(10:19 +0800)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 31 Jul 2011 21:28:24 +0000
(23:28 +0200)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps65911-comparator.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/tps65911-comparator.c
b/drivers/mfd/tps65911-comparator.c
index 283ac67597575831b778ad9653420b6750aab763..e7ff783aa31ec2a214d691cde38902105bebfa49 100644
(file)
--- 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;
}