diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-08-03 01:45:45 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-08-12 05:28:06 -0400 |
commit | 288129f35aae3987b8afd308e63274a270532b09 (patch) | |
tree | eb9b907cd1fc0eb53db5333ec59938ddfb4613cb /drivers | |
parent | 08b877b80f286e86a0034b460ac15b09f67da8a7 (diff) |
mfd: Annotate tc6387xb probe/remove routines with __devinit/__devexit
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mfd/tc6387xb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c index 1bc71da5278c..6315f63f017d 100644 --- a/drivers/mfd/tc6387xb.c +++ b/drivers/mfd/tc6387xb.c | |||
@@ -137,7 +137,7 @@ static struct mfd_cell tc6387xb_cells[] = { | |||
137 | }, | 137 | }, |
138 | }; | 138 | }; |
139 | 139 | ||
140 | static int tc6387xb_probe(struct platform_device *dev) | 140 | static int __devinit tc6387xb_probe(struct platform_device *dev) |
141 | { | 141 | { |
142 | struct tc6387xb_platform_data *pdata = dev->dev.platform_data; | 142 | struct tc6387xb_platform_data *pdata = dev->dev.platform_data; |
143 | struct resource *iomem, *rscr; | 143 | struct resource *iomem, *rscr; |
@@ -212,7 +212,7 @@ err_no_irq: | |||
212 | return ret; | 212 | return ret; |
213 | } | 213 | } |
214 | 214 | ||
215 | static int tc6387xb_remove(struct platform_device *dev) | 215 | static int __devexit tc6387xb_remove(struct platform_device *dev) |
216 | { | 216 | { |
217 | struct tc6387xb *tc6387xb = platform_get_drvdata(dev); | 217 | struct tc6387xb *tc6387xb = platform_get_drvdata(dev); |
218 | 218 | ||
@@ -233,7 +233,7 @@ static struct platform_driver tc6387xb_platform_driver = { | |||
233 | .name = "tc6387xb", | 233 | .name = "tc6387xb", |
234 | }, | 234 | }, |
235 | .probe = tc6387xb_probe, | 235 | .probe = tc6387xb_probe, |
236 | .remove = tc6387xb_remove, | 236 | .remove = __devexit_p(tc6387xb_remove), |
237 | .suspend = tc6387xb_suspend, | 237 | .suspend = tc6387xb_suspend, |
238 | .resume = tc6387xb_resume, | 238 | .resume = tc6387xb_resume, |
239 | }; | 239 | }; |