diff options
Diffstat (limited to 'drivers/mfd/tps65911-comparator.c')
-rw-r--r-- | drivers/mfd/tps65911-comparator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/tps65911-comparator.c b/drivers/mfd/tps65911-comparator.c index 0b6e361432c4..c0816ebd9d7e 100644 --- a/drivers/mfd/tps65911-comparator.c +++ b/drivers/mfd/tps65911-comparator.c | |||
@@ -122,7 +122,7 @@ static ssize_t comp_threshold_show(struct device *dev, | |||
122 | static DEVICE_ATTR(comp1_threshold, S_IRUGO, comp_threshold_show, NULL); | 122 | static DEVICE_ATTR(comp1_threshold, S_IRUGO, comp_threshold_show, NULL); |
123 | static DEVICE_ATTR(comp2_threshold, S_IRUGO, comp_threshold_show, NULL); | 123 | static DEVICE_ATTR(comp2_threshold, S_IRUGO, comp_threshold_show, NULL); |
124 | 124 | ||
125 | static __devinit int tps65911_comparator_probe(struct platform_device *pdev) | 125 | static int tps65911_comparator_probe(struct platform_device *pdev) |
126 | { | 126 | { |
127 | struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); | 127 | struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent); |
128 | struct tps65910_board *pdata = dev_get_platdata(tps65910->dev); | 128 | struct tps65910_board *pdata = dev_get_platdata(tps65910->dev); |
@@ -152,7 +152,7 @@ static __devinit int tps65911_comparator_probe(struct platform_device *pdev) | |||
152 | return ret; | 152 | return ret; |
153 | } | 153 | } |
154 | 154 | ||
155 | static __devexit int tps65911_comparator_remove(struct platform_device *pdev) | 155 | static int tps65911_comparator_remove(struct platform_device *pdev) |
156 | { | 156 | { |
157 | struct tps65910 *tps65910; | 157 | struct tps65910 *tps65910; |
158 | 158 | ||
@@ -169,7 +169,7 @@ static struct platform_driver tps65911_comparator_driver = { | |||
169 | .owner = THIS_MODULE, | 169 | .owner = THIS_MODULE, |
170 | }, | 170 | }, |
171 | .probe = tps65911_comparator_probe, | 171 | .probe = tps65911_comparator_probe, |
172 | .remove = __devexit_p(tps65911_comparator_remove), | 172 | .remove = tps65911_comparator_remove, |
173 | }; | 173 | }; |
174 | 174 | ||
175 | static int __init tps65911_comparator_init(void) | 175 | static int __init tps65911_comparator_init(void) |