Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Axel Lin and committed by
Samuel Ortiz
288129f3 08b877b8

+3 -3
+3 -3
drivers/mfd/tc6387xb.c
··· 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 142 struct tc6387xb_platform_data *pdata = dev->dev.platform_data; 143 143 struct resource *iomem, *rscr; ··· 212 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 217 struct tc6387xb *tc6387xb = platform_get_drvdata(dev); 218 218 ··· 233 233 .name = "tc6387xb", 234 234 }, 235 235 .probe = tc6387xb_probe, 236 - .remove = tc6387xb_remove, 236 + .remove = __devexit_p(tc6387xb_remove), 237 237 .suspend = tc6387xb_suspend, 238 238 .resume = tc6387xb_resume, 239 239 };