History

Merge tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core

Pull driver core updates from Greg Kroah-Hartman: "Here's the large driver core updates for 3.8-rc1. The biggest thing here is the various __dev* marking removals. This is going to be a pain for the merge with different subsystem trees, I know, but all of the patches included here have been ACKed by their various subsystem maintainers, as they wanted them to go through here. If this is too much of a pain, I can pull all of them out of this tree and just send you one with the other fixes/updates and then, after 3.8-rc1 is out, do the rest of the removals to ensure we catch them all, it's up to you. The merges should all be trivial, and Stephen has been doing them all in linux-next for a few weeks now quite easily. Other than the __dev* marking removals, there's nothing major here, some firmware loading updates and other minor things in the driver core. All of these have (much to Stephen's annoyance), been in linux-next for a while. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>" Fixed up trivial conflicts in drivers/gpio/gpio-{em,stmpe}.c due to gpio update. * tag 'driver-core-3.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (93 commits) modpost.c: Stop checking __dev* section mismatches init.h: Remove __dev* sections from the kernel acpi: remove use of __devinit PCI: Remove __dev* markings PCI: Always build setup-bus when PCI is enabled PCI: Move pci_uevent into pci-driver.c PCI: Remove CONFIG_HOTPLUG ifdefs unicore32/PCI: Remove CONFIG_HOTPLUG ifdefs sh/PCI: Remove CONFIG_HOTPLUG ifdefs powerpc/PCI: Remove CONFIG_HOTPLUG ifdefs mips/PCI: Remove CONFIG_HOTPLUG ifdefs microblaze/PCI: Remove CONFIG_HOTPLUG ifdefs dma: remove use of __devinit dma: remove use of __devexit_p firewire: remove use of __devinitdata firewire: remove use of __devinit leds: remove use of __devexit leds: remove use of __devinit leds: remove use of __devexit_p mmc: remove use of __devexit ...

Linus Torvalds committed 13 years ago

Commit cff2f742 parents b0885d0 92e9e6d492 files · +2042 −1840Browse files

Unified · Split

492 files
  1. Documentation/firmware_class/README +12 −0
  2. Documentation/zh_CN/arm/kernel_user_helpers.txt +284 −0
  3. Documentation/zh_CN/arm64/memory.txt +7 −7
  4. arch/microblaze/pci/pci-common.c +0 −4
  5. arch/mips/pci/pci.c +0 −2
  6. arch/powerpc/kernel/pci-common.c +0 −4
  7. arch/powerpc/kernel/pci_64.c +0 −4
  8. arch/sh/drivers/pci/pci.c +0 −2
  9. arch/unicore32/kernel/pci.c +0 −2
  10. drivers/acpi/apei/ghes.c +1 −1
  11. drivers/acpi/hed.c +1 −1
  12. drivers/acpi/pci_root.c +1 −1
  13. drivers/base/Kconfig +3 −4
  14. drivers/base/attribute_container.c +1 −1
  15. drivers/base/bus.c +0 −14
  16. drivers/base/core.c +5 −3
  17. drivers/base/devres.c +2 −2
  18. drivers/base/firmware_class.c +40 −12
  19. drivers/base/platform.c +2 −2
  20. drivers/char/tpm/tpm_i2c_infineon.c +2 −2
  21. drivers/char/tpm/tpm_ibmvtpm.c +1 −1
  22. drivers/char/tpm/tpm_infineon.c +2 −2
  23. drivers/char/tpm/tpm_tis.c +1 −1
  24. drivers/clk/clk-max77686.c +3 −3
  25. drivers/clk/clk-wm831x.c +3 −3
  26. drivers/dma/dw_dmac.c +2 −2
  27. drivers/dma/edma.c +2 −2
  28. drivers/dma/fsldma.c +2 −2
  29. drivers/dma/intel_mid_dma.c +2 −2
  30. drivers/dma/ioat/pci.c +1 −1
  31. drivers/dma/iop-adma.c +5 −5
  32. drivers/dma/mmp_pdma.c +3 −3
  33. drivers/dma/mmp_tdma.c +3 −3
  34. drivers/dma/mpc512x_dma.c +2 −2
  35. drivers/dma/mv_xor.c +4 −4
  36. drivers/dma/pch_dma.c +2 −2
  37. drivers/dma/pl330.c +1 −1
  38. drivers/dma/ppc4xx/adma.c +2 −2
  39. drivers/dma/sa11x0-dma.c +3 −3
  40. drivers/dma/sh/shdma.c +3 −3
  41. drivers/dma/sirf-dma.c +2 −2
  42. drivers/dma/tegra20-apb-dma.c +2 −2
  43. drivers/dma/timb_dma.c +1 −1
  44. drivers/firewire/nosy.c +2 −2
  45. drivers/firewire/ohci.c +1 −1
  46. drivers/gpio/gpio-74x164.c +3 −3
  47. drivers/gpio/gpio-ab8500.c +3 −3
  48. drivers/gpio/gpio-adnp.c +5 −5
  49. drivers/gpio/gpio-adp5520.c +3 −3
  50. drivers/gpio/gpio-adp5588.c +3 −3
  51. drivers/gpio/gpio-arizona.c +3 −3
  52. drivers/gpio/gpio-cs5535.c +3 −3
  53. drivers/gpio/gpio-da9052.c +4 −4
  54. drivers/gpio/gpio-em.c +3 −3
  55. drivers/gpio/gpio-ep93xx.c +1 −1
  56. drivers/gpio/gpio-generic.c +3 −3
  57. drivers/gpio/gpio-ich.c +5 −5
  58. drivers/gpio/gpio-janz-ttl.c +5 −5
  59. drivers/gpio/gpio-langwell.c +4 −4
  60. drivers/gpio/gpio-lpc32xx.c +2 −2
  61. drivers/gpio/gpio-max7300.c +3 −3
  62. drivers/gpio/gpio-max7301.c +3 −3
  63. drivers/gpio/gpio-max730x.c +2 −2
  64. drivers/gpio/gpio-max732x.c +4 −4
  65. drivers/gpio/gpio-mc33880.c +3 −3
  66. drivers/gpio/gpio-mcp23s08.c +3 −3
  67. drivers/gpio/gpio-ml-ioh.c +4 −4
  68. drivers/gpio/gpio-mpc5200.c +2 −2
  69. drivers/gpio/gpio-msic.c +1 −1
  70. drivers/gpio/gpio-msm-v2.c +3 −3
  71. drivers/gpio/gpio-mvebu.c +2 −2
  72. drivers/gpio/gpio-mxc.c +2 −2
  73. drivers/gpio/gpio-mxs.c +1 −1
  74. drivers/gpio/gpio-omap.c +3 −3
  75. drivers/gpio/gpio-pca953x.c +3 −3
  76. drivers/gpio/gpio-pch.c +4 −4
  77. drivers/gpio/gpio-pxa.c +3 −3
  78. drivers/gpio/gpio-rc5t583.c +3 −3
  79. drivers/gpio/gpio-rdc321x.c +3 −3
  80. drivers/gpio/gpio-sch.c +3 −3
  81. drivers/gpio/gpio-sodaville.c +2 −2
  82. drivers/gpio/gpio-sta2x11.c +2 −2
  83. drivers/gpio/gpio-stmpe.c +4 −4
  84. drivers/gpio/gpio-stp-xway.c +1 −1
  85. drivers/gpio/gpio-sx150x.c +3 −3
  86. drivers/gpio/gpio-tc3589x.c +3 −3
  87. drivers/gpio/gpio-tegra.c +2 −2
  88. drivers/gpio/gpio-timberdale.c +2 −2
  89. drivers/gpio/gpio-tps6586x.c +3 −3
  90. drivers/gpio/gpio-tps65910.c +3 −3
  91. drivers/gpio/gpio-tps65912.c +3 −3
  92. drivers/gpio/gpio-twl4030.c +4 −4
  93. drivers/gpio/gpio-twl6040.c +2 −2
  94. drivers/gpio/gpio-vr41xx.c +3 −3
  95. drivers/gpio/gpio-vt8500.c +1 −1
  96. drivers/gpio/gpio-vx855.c +3 −3
  97. drivers/gpio/gpio-wm831x.c +3 −3
  98. drivers/gpio/gpio-wm8350.c +3 −3
  99. drivers/gpio/gpio-wm8994.c +3 −3
  100. drivers/gpio/gpio-xilinx.c +2 −2
  101. drivers/hwmon/abituguru.c +6 −6
  102. drivers/hwmon/abituguru3.c +3 −3
  103. drivers/hwmon/ad7314.c +3 −3
  104. drivers/hwmon/ad7414.c +2 −2
  105. drivers/hwmon/adcxx.c +3 −3
  106. drivers/hwmon/ads7871.c +3 −3
  107. drivers/hwmon/adt7411.c +3 −3
  108. drivers/hwmon/coretemp.c +4 −4
  109. drivers/hwmon/da9052-hwmon.c +3 −3
  110. drivers/hwmon/dme1737.c +3 −3
  111. drivers/hwmon/f71805f.c +4 −4
  112. drivers/hwmon/f71882fg.c +4 −4
  113. drivers/hwmon/fam15h_power.c +5 −5
  114. drivers/hwmon/gpio-fan.c +4 −4
  115. drivers/hwmon/hih6130.c +3 −3
  116. drivers/hwmon/i5k_amb.c +9 −9
  117. drivers/hwmon/it87.c +6 −6
  118. drivers/hwmon/jz4740-hwmon.c +3 −3
  119. drivers/hwmon/k10temp.c +4 −4
  120. drivers/hwmon/k8temp.c +4 −4
  121. drivers/hwmon/lm70.c +3 −3
  122. drivers/hwmon/lm78.c +3 −3
  123. drivers/hwmon/max1111.c +4 −4
  124. drivers/hwmon/max197.c +3 −3
  125. drivers/hwmon/mc13783-adc.c +2 −2
  126. drivers/hwmon/ntc_thermistor.c +3 −3
  127. drivers/hwmon/pc87360.c +4 −4
  128. drivers/hwmon/pc87427.c +5 −5
  129. drivers/hwmon/s3c-hwmon.c +3 −3
  130. drivers/hwmon/sch5627.c +2 −2
  131. drivers/hwmon/sch5636.c +1 −1
  132. drivers/hwmon/sht15.c +3 −3
  133. drivers/hwmon/sht21.c +3 −3
  134. drivers/hwmon/sis5595.c +8 −8
  135. drivers/hwmon/smsc47b397.c +3 −3
  136. drivers/hwmon/tmp102.c +3 −3
  137. drivers/hwmon/twl4030-madc-hwmon.c +2 −2
  138. drivers/hwmon/ultra45_env.c +3 −3
  139. drivers/hwmon/via-cputemp.c +3 −3
  140. drivers/hwmon/via686a.c +7 −7
  141. drivers/hwmon/vt1211.c +4 −4
  142. drivers/hwmon/vt8231.c +6 −6
  143. drivers/hwmon/w83627ehf.c +6 −6
  144. drivers/hwmon/w83627hf.c +7 −7
  145. drivers/hwmon/w83781d.c +3 −3
  146. drivers/hwmon/wm831x-hwmon.c +3 −3
  147. drivers/hwmon/wm8350-hwmon.c +3 −3
  148. drivers/hwspinlock/omap_hwspinlock.c +3 −3
  149. drivers/hwspinlock/u8500_hsem.c +3 −3
  150. drivers/leds/leds-adp5520.c +4 −4
  151. drivers/leds/leds-asic3.c +3 −3
  152. drivers/leds/leds-atmel-pwm.c +1 −1
  153. drivers/leds/leds-bd2802.c +1 −1
  154. drivers/leds/leds-blinkm.c +3 −3
  155. drivers/leds/leds-clevo-mail.c +1 −1
  156. drivers/leds/leds-cobalt-qube.c +3 −3
  157. drivers/leds/leds-cobalt-raq.c +3 −3
  158. drivers/leds/leds-da903x.c +3 −3
  159. drivers/leds/leds-da9052.c +3 −3
  160. drivers/leds/leds-gpio.c +6 −6
  161. drivers/leds/leds-lm3530.c +3 −3
  162. drivers/leds/leds-lm3533.c +4 −4
  163. drivers/leds/leds-lm355x.c +4 −4
  164. drivers/leds/leds-lm3642.c +4 −4
  165. drivers/leds/leds-lp3944.c +3 −3
  166. drivers/leds/leds-lp5521.c +4 −4
  167. drivers/leds/leds-lp5523.c +2 −2
  168. drivers/leds/leds-lp8788.c +3 −3
  169. drivers/leds/leds-lt3593.c +4 −4
  170. drivers/leds/leds-max8997.c +3 −3
  171. drivers/leds/leds-mc13783.c +5 −5
  172. drivers/leds/leds-netxbig.c +5 −5
  173. drivers/leds/leds-ns2.c +4 −4
  174. drivers/leds/leds-ot200.c +3 −3
  175. drivers/leds/leds-pca955x.c +3 −3
  176. drivers/leds/leds-pca9633.c +3 −3
  177. drivers/leds/leds-pwm.c +2 −2
  178. drivers/leds/leds-rb532.c +3 −3
  179. drivers/leds/leds-regulator.c +3 −3
  180. drivers/leds/leds-renesas-tpu.c +3 −3
  181. drivers/leds/leds-ss4200.c +2 −2
  182. drivers/leds/leds-sunfire.c +6 −6
  183. drivers/leds/leds-tca6507.c +3 −3
  184. drivers/mfd/88pm800.c +6 −6
  185. drivers/mfd/88pm805.c +5 −5
  186. drivers/mfd/88pm80x.c +1 −1
  187. drivers/mfd/88pm860x-core.c +52 −52
  188. drivers/mfd/ab3100-core.c +6 −7
  189. drivers/mfd/ab8500-core.c +20 −20
  190. drivers/mfd/ab8500-debugfs.c +3 −3
  191. drivers/mfd/ab8500-gpadc.c +3 −3
  192. drivers/mfd/ab8500-sysctrl.c +3 −3
  193. drivers/mfd/adp5520.c +3 −3
  194. drivers/mfd/arizona-core.c +2 −2
  195. drivers/mfd/arizona-i2c.c +3 −3
  196. drivers/mfd/arizona-spi.c +3 −3
  197. drivers/mfd/asic3.c +2 −2
  198. drivers/mfd/cs5535-mfd.c +6 −6
  199. drivers/mfd/da903x.c +5 −5
  200. drivers/mfd/da9052-core.c +2 −2
  201. drivers/mfd/da9052-i2c.c +3 −3
  202. drivers/mfd/da9052-spi.c +3 −3
  203. drivers/mfd/da9055-core.c +2 −2
  204. drivers/mfd/da9055-i2c.c +3 −3
  205. drivers/mfd/davinci_voicecodec.c +2 −2
  206. drivers/mfd/db8500-prcmu.c +1 −1
  207. drivers/mfd/ezx-pcap.c +4 −4
  208. drivers/mfd/htc-i2cpld.c +6 −6
  209. drivers/mfd/intel_msic.c +5 −5
  210. drivers/mfd/janz-cmodio.c +5 −5
  211. drivers/mfd/jz4740-adc.c +3 −3
  212. drivers/mfd/lm3533-core.c +9 −9
  213. drivers/mfd/lp8788.c +2 −2
  214. drivers/mfd/lpc_ich.c +10 −10
  215. drivers/mfd/lpc_sch.c +3 −3
  216. drivers/mfd/max77686.c +1 −1
  217. drivers/mfd/max8907.c +2 −2
  218. drivers/mfd/max8925-core.c +29 −29
  219. drivers/mfd/max8925-i2c.c +3 −3
  220. drivers/mfd/mc13xxx-i2c.c +2 −2
  221. drivers/mfd/mc13xxx-spi.c +2 −2
  222. drivers/mfd/omap-usb-host.c +2 −2
  223. drivers/mfd/omap-usb-tll.c +3 −3
  224. drivers/mfd/palmas.c +3 −3
  225. drivers/mfd/pcf50633-adc.c +3 −3
  226. drivers/mfd/pcf50633-core.c +3 −3
  227. drivers/mfd/pm8921-core.c +4 −4
  228. drivers/mfd/pm8xxx-irq.c +2 −2
  229. drivers/mfd/rc5t583.c +3 −3
  230. drivers/mfd/rdc321x-southbridge.c +3 −3
  231. drivers/mfd/sm501.c +8 −8
  232. drivers/mfd/sta2x11-mfd.c +10 −10
  233. drivers/mfd/stmpe-i2c.c +3 −3
  234. drivers/mfd/stmpe-spi.c +3 −3
  235. drivers/mfd/syscon.c +3 −3
  236. drivers/mfd/tc3589x.c +4 −4
  237. drivers/mfd/tc6387xb.c +3 −3
  238. drivers/mfd/tc6393xb.c +6 −6
  239. drivers/mfd/ti-ssp.c +3 −3
  240. drivers/mfd/timberdale.c +32 −32
  241. drivers/mfd/tps6105x.c +4 −4
  242. drivers/mfd/tps65090.c +4 −4
  243. drivers/mfd/tps65217.c +3 −3
  244. drivers/mfd/tps6586x.c +5 −5
  245. drivers/mfd/tps65910.c +5 −5
  246. drivers/mfd/tps65911-comparator.c +3 −3
  247. drivers/mfd/tps65912-spi.c +3 −3
  248. drivers/mfd/twl-core.c +1 −1
  249. drivers/mfd/twl4030-audio.c +3 −3
  250. drivers/mfd/twl4030-madc.c +2 −2
  251. drivers/mfd/twl4030-power.c +10 −10
  252. drivers/mfd/vx855.c +3 −3
  253. drivers/mfd/wl1273-core.c +2 −2
  254. drivers/mfd/wm831x-spi.c +3 −3
  255. drivers/mfd/wm8994-core.c +8 −8
  256. drivers/mmc/host/atmel-mci.c +1 −1
  257. drivers/mmc/host/au1xmmc.c +2 −2
  258. drivers/mmc/host/bfin_sdh.c +3 −3
  259. drivers/mmc/host/cb710-mmc.c +3 −3
  260. drivers/mmc/host/dw_mmc-pci.c +2 −2
  261. drivers/mmc/host/dw_mmc-pltfm.c +2 −2
  262. drivers/mmc/host/dw_mmc-pltfm.h +1 −1
  263. drivers/mmc/host/jz4740_mmc.c +6 −6
  264. drivers/mmc/host/mmc_spi.c +3 −3
  265. drivers/mmc/host/mmci.c +5 −5
  266. drivers/mmc/host/omap.c +4 −4
  267. drivers/mmc/host/omap_hsmmc.c +3 −3
  268. drivers/mmc/host/pxamci.c +2 −2
  269. drivers/mmc/host/s3cmci.c +3 −3
  270. drivers/mmc/host/sdhci-cns3xxx.c +3 −3
  271. drivers/mmc/host/sdhci-dove.c +4 −4
  272. drivers/mmc/host/sdhci-esdhc-imx.c +4 −4
  273. drivers/mmc/host/sdhci-of-esdhc.c +3 −3
  274. drivers/mmc/host/sdhci-of-hlwd.c +3 −3
  275. drivers/mmc/host/sdhci-pci.c +7 −7
  276. drivers/mmc/host/sdhci-pxav2.c +3 −3
  277. drivers/mmc/host/sdhci-pxav3.c +3 −3
  278. drivers/mmc/host/sdhci-s3c.c +5 −5
  279. drivers/mmc/host/sdhci-spear.c +5 −7
  280. drivers/mmc/host/sdhci-tegra.c +5 −5
  281. drivers/mmc/host/sh_mmcif.c +2 −2
  282. drivers/mmc/host/sh_mobile_sdhi.c +2 −2
  283. drivers/mmc/host/tmio_mmc.c +3 −3
  284. drivers/mmc/host/tmio_mmc_pio.c +1 −1
  285. drivers/mmc/host/via-sdmmc.c +3 −3
  286. drivers/mmc/host/wbsd.c +14 −14
  287. drivers/pci/Makefile +1 −6
  288. drivers/pci/hotplug.c +0 −37
  289. drivers/pci/hotplug/cpcihp_zt5550.c +2 −2
  290. drivers/pci/ioapic.c +3 −3
  291. drivers/pci/pci-driver.c +30 −12
  292. drivers/pci/pci-sysfs.c +0 −7
  293. drivers/pci/pci.c +2 −2
  294. drivers/pci/pci.h +0 −5
  295. drivers/pci/pcie/aer/aerdrv.c +2 −2
  296. drivers/pci/pcie/portdrv_pci.c +1 −1
  297. drivers/pci/probe.c +9 −11
  298. drivers/pci/quirks.c +66 −66
  299. drivers/pci/xen-pcifront.c +5 −5
  300. drivers/pcmcia/bcm63xx_pcmcia.c +6 −6
  301. drivers/pcmcia/bfin_cf_pcmcia.c +3 −3
  302. drivers/pcmcia/db1xxx_ss.c +3 −3
  303. drivers/pcmcia/ds.c +1 −12
  304. drivers/pcmcia/electra_cf.c +2 −2
  305. drivers/pcmcia/i82092.c +3 −3
  306. drivers/pcmcia/pd6729.c +4 −4
  307. drivers/pcmcia/pxa2xx_sharpsl.c +1 −1
  308. drivers/pcmcia/rsrc_nonstatic.c +3 −3
  309. drivers/pcmcia/sa1100_assabet.c +1 −1
  310. drivers/pcmcia/sa1100_cerf.c +1 −1
  311. drivers/pcmcia/sa1100_generic.c +2 −2
  312. drivers/pcmcia/sa1100_h3600.c +1 −1
  313. drivers/pcmcia/sa1100_shannon.c +1 −1
  314. drivers/pcmcia/sa1100_simpad.c +1 −1
  315. drivers/pcmcia/sa1111_generic.c +2 −2
  316. drivers/pcmcia/sa1111_jornada720.c +1 −1
  317. drivers/pcmcia/vrc4171_card.c +4 −4
  318. drivers/pcmcia/vrc4173_cardu.c +4 −4
  319. drivers/pcmcia/xxs1500_ss.c +3 −3
  320. drivers/pcmcia/yenta_socket.c +3 −3
  321. drivers/pinctrl/pinctrl-bcm2835.c +4 −4
  322. drivers/pinctrl/pinctrl-imx.c +1 −1
  323. drivers/pinctrl/pinctrl-imx23.c +2 −2
  324. drivers/pinctrl/pinctrl-imx28.c +2 −2
  325. drivers/pinctrl/pinctrl-imx35.c +2 −2
  326. drivers/pinctrl/pinctrl-imx51.c +2 −2
  327. drivers/pinctrl/pinctrl-imx53.c +2 −2
  328. drivers/pinctrl/pinctrl-imx6q.c +2 −2
  329. drivers/pinctrl/pinctrl-mmp2.c +2 −2
  330. drivers/pinctrl/pinctrl-mxs.c +1 −1
  331. drivers/pinctrl/pinctrl-pxa168.c +2 −2
  332. drivers/pinctrl/pinctrl-pxa910.c +2 −2
  333. drivers/pinctrl/pinctrl-single.c +3 −3
  334. drivers/pinctrl/pinctrl-sirf.c +1 −1
  335. drivers/pinctrl/pinctrl-tegra.c +1 −1
  336. drivers/pinctrl/pinctrl-tegra20.c +2 −2
  337. drivers/pinctrl/pinctrl-tegra30.c +2 −2
  338. drivers/pinctrl/pinctrl-u300.c +2 −2
  339. drivers/pinctrl/spear/pinctrl-spear.c +1 −1
  340. drivers/pinctrl/spear/pinctrl-spear.h +1 −1
  341. drivers/pinctrl/spear/pinctrl-spear1310.c +3 −3
  342. drivers/pinctrl/spear/pinctrl-spear1340.c +3 −3
  343. drivers/pinctrl/spear/pinctrl-spear300.c +3 −3
  344. drivers/pinctrl/spear/pinctrl-spear310.c +3 −3
  345. drivers/pinctrl/spear/pinctrl-spear320.c +3 −3
  346. drivers/pnp/pnpbios/core.c +7 −13
  347. drivers/power/88pm860x_battery.c +3 −3
  348. drivers/power/88pm860x_charger.c +3 −3
  349. drivers/power/ab8500_btemp.c +3 −3
  350. drivers/power/ab8500_charger.c +3 −3
  351. drivers/power/ab8500_fg.c +3 −3
  352. drivers/power/abx500_chargalg.c +3 −3
  353. drivers/power/avs/smartreflex.c +4 −4
  354. drivers/power/bq27x00_battery.c +3 −3
  355. drivers/power/charger-manager.c +2 −2
  356. drivers/power/collie_battery.c +3 −3
  357. drivers/power/da9052-battery.c +3 −3
  358. drivers/power/ds2780_battery.c +3 −3
  359. drivers/power/ds2781_battery.c +3 −3
  360. drivers/power/generic-adc-battery.c +3 −3
  361. drivers/power/gpio-charger.c +3 −3
  362. drivers/power/intel_mid_battery.c +4 −4
  363. drivers/power/isp1704_charger.c +3 −3
  364. drivers/power/jz4740-battery.c +3 −3
  365. drivers/power/lp8727_charger.c +2 −2
  366. drivers/power/lp8788-charger.c +3 −3
  367. drivers/power/max17040_battery.c +3 −3
  368. drivers/power/max17042_battery.c +3 −3
  369. drivers/power/max8903_charger.c +3 −3
  370. drivers/power/max8925_power.c +5 −5
  371. drivers/power/max8997_charger.c +3 −3
  372. drivers/power/max8998_charger.c +3 −3
  373. drivers/power/olpc_battery.c +3 −3
  374. drivers/power/pcf50633-charger.c +3 −3
  375. drivers/power/s3c_adc_battery.c +1 −1
  376. drivers/power/sbs-battery.c +3 −3
  377. drivers/power/smb347-charger.c +1 −1
  378. drivers/power/tosa_battery.c +3 −3
  379. drivers/power/wm831x_backup.c +3 −3
  380. drivers/power/wm831x_power.c +3 −3
  381. drivers/power/wm8350_power.c +3 −3
  382. drivers/power/wm97xx_battery.c +3 −3
  383. drivers/power/z2_battery.c +3 −3
  384. drivers/ptp/ptp_pch.c +2 −2
  385. drivers/pwm/pwm-ab8500.c +3 −3
  386. drivers/pwm/pwm-bfin.c +2 −2
  387. drivers/pwm/pwm-imx.c +3 −3
  388. drivers/pwm/pwm-jz4740.c +3 −3
  389. drivers/pwm/pwm-lpc32xx.c +2 −2
  390. drivers/pwm/pwm-mxs.c +2 −2
  391. drivers/pwm/pwm-puv3.c +3 −3
  392. drivers/pwm/pwm-pxa.c +3 −3
  393. drivers/pwm/pwm-samsung.c +2 −2
  394. drivers/pwm/pwm-tegra.c +2 −2
  395. drivers/pwm/pwm-tiecap.c +3 −3
  396. drivers/pwm/pwm-tiehrpwm.c +3 −3
  397. drivers/pwm/pwm-twl6030.c +1 −1
  398. drivers/rapidio/devices/tsi721.c +2 −2
  399. drivers/rapidio/devices/tsi721.h +1 −1
  400. drivers/rapidio/devices/tsi721_dma.c +1 −1
  401. drivers/rapidio/rio-scan.c +7 −7
  402. drivers/rapidio/rio.c +3 −3
  403. drivers/video/backlight/adp5520_bl.c +3 −3
  404. drivers/video/backlight/adp8860_bl.c +7 −7
  405. drivers/video/backlight/adp8870_bl.c +7 −7
  406. drivers/video/backlight/ams369fg06.c +3 −3
  407. drivers/video/backlight/apple_bl.c +2 −2
  408. drivers/video/backlight/corgi_lcd.c +3 −3
  409. drivers/video/backlight/ep93xx_bl.c +1 −1
  410. drivers/video/backlight/hp680_bl.c +1 −1
  411. drivers/video/backlight/ili9320.c +2 −2
  412. drivers/video/backlight/l4f00242t03.c +3 −3
  413. drivers/video/backlight/ld9040.c +2 −2
  414. drivers/video/backlight/lm3533_bl.c +4 −4
  415. drivers/video/backlight/lm3630_bl.c +4 −4
  416. drivers/video/backlight/lm3639_bl.c +4 −4
  417. drivers/video/backlight/lms283gf05.c +3 −3
  418. drivers/video/backlight/lp855x_bl.c +2 −2
  419. drivers/video/backlight/ltv350qv.c +3 −3
  420. drivers/video/backlight/max8925_bl.c +3 −3
  421. drivers/video/backlight/pcf50633-backlight.c +3 −3
  422. drivers/video/backlight/platform_lcd.c +3 −3
  423. drivers/video/backlight/s6e63m0.c +3 −3
  424. drivers/video/backlight/tdo24m.c +3 −3
  425. drivers/video/backlight/tosa_bl.c +3 −3
  426. drivers/video/backlight/tosa_lcd.c +3 −3
  427. drivers/video/backlight/vgg2432a4.c +3 −3
  428. drivers/watchdog/acquirewdt.c +3 −3
  429. drivers/watchdog/advantechwdt.c +3 −3
  430. drivers/watchdog/ar7_wdt.c +3 −3
  431. drivers/watchdog/at91rm9200_wdt.c +3 −3
  432. drivers/watchdog/ath79_wdt.c +3 −3
  433. drivers/watchdog/bcm63xx_wdt.c +3 −3
  434. drivers/watchdog/bfin_wdt.c +3 −3
  435. drivers/watchdog/cpu5wdt.c +4 −4
  436. drivers/watchdog/cpwd.c +3 −3
  437. drivers/watchdog/da9052_wdt.c +3 −3
  438. drivers/watchdog/davinci_wdt.c +3 −3
  439. drivers/watchdog/dw_wdt.c +3 −3
  440. drivers/watchdog/ep93xx_wdt.c +3 −3
  441. drivers/watchdog/gef_wdt.c +2 −2
  442. drivers/watchdog/geodewdt.c +3 −3
  443. drivers/watchdog/hpwdt.c +15 −15
  444. drivers/watchdog/i6300esb.c +5 −5
  445. drivers/watchdog/iTCO_wdt.c +4 −4
  446. drivers/watchdog/ib700wdt.c +3 −3
  447. drivers/watchdog/ie6xx_wdt.c +5 −5
  448. drivers/watchdog/jz4740_wdt.c +3 −3
  449. drivers/watchdog/ks8695_wdt.c +3 −3
  450. drivers/watchdog/lantiq_wdt.c +3 −3
  451. drivers/watchdog/max63xx_wdt.c +3 −3
  452. drivers/watchdog/mixcomwd.c +1 −1
  453. drivers/watchdog/mpc8xxx_wdt.c +3 −3
  454. drivers/watchdog/mpcore_wdt.c +3 −3
  455. drivers/watchdog/mtx-1_wdt.c +3 −3
  456. drivers/watchdog/mv64x60_wdt.c +3 −3
  457. drivers/watchdog/nuc900_wdt.c +3 −3
  458. drivers/watchdog/nv_tco.c +5 −5
  459. drivers/watchdog/of_xilinx_wdt.c +4 −4
  460. drivers/watchdog/omap_wdt.c +3 −3
  461. drivers/watchdog/orion_wdt.c +4 −4
  462. drivers/watchdog/pcwd.c +4 −4
  463. drivers/watchdog/pcwd_pci.c +3 −3
  464. drivers/watchdog/pnx4008_wdt.c +3 −3
  465. drivers/watchdog/rc32434_wdt.c +3 −3
  466. drivers/watchdog/rdc321x_wdt.c +3 −3
  467. drivers/watchdog/riowd.c +3 −3
  468. drivers/watchdog/s3c2410_wdt.c +3 −3
  469. drivers/watchdog/sch311x_wdt.c +3 −3
  470. drivers/watchdog/shwdt.c +3 −3
  471. drivers/watchdog/sp5100_tco.c +5 −5
  472. drivers/watchdog/sp805_wdt.c +3 −3
  473. drivers/watchdog/stmp3xxx_wdt.c +3 −3
  474. drivers/watchdog/ts72xx_wdt.c +3 −3
  475. drivers/watchdog/twl4030_wdt.c +3 −3
  476. drivers/watchdog/via_wdt.c +3 −3
  477. drivers/watchdog/wdt_pci.c +3 −3
  478. drivers/watchdog/wm831x_wdt.c +3 −3
  479. drivers/watchdog/wm8350_wdt.c +3 −3
  480. drivers/watchdog/xen_wdt.c +3 −3
  481. fs/debugfs/inode.c +0 −1
  482. fs/sysfs/file.c +2 −2
  483. include/linux/init.h +7 −11
  484. include/linux/kobject.h +0 −18
  485. include/linux/mfd/88pm80x.h +1 −1
  486. include/linux/mfd/abx500/ab8500.h +2 −2
  487. include/linux/mfd/pm8xxx/irq.h +4 −4
  488. include/linux/pci.h +3 −5
  489. kernel/ksysfs.c +1 −4
  490. kernel/sysctl.c +2 −2
  491. lib/Makefile +1 −2
  492. scripts/mod/modpost.c +10 −14
Documentation/firmware_class/README+12−0
@@ -22,12 +22,17 @@ · 21 unmodified lines
2222 - calls request_firmware(&fw_entry, $FIRMWARE, device)
2323 - kernel searchs the fimware image with name $FIRMWARE directly
2424 in the below search path of root filesystem:
25+ User customized search path by module parameter 'path'[1]
2526 "/lib/firmware/updates/" UTS_RELEASE,
2627 "/lib/firmware/updates",
2728 "/lib/firmware/" UTS_RELEASE,
2829 "/lib/firmware"
2930 - If found, goto 7), else goto 2)
3031
32+ [1], the 'path' is a string parameter which length should be less
33+ than 256, user should pass 'firmware_class.path=$CUSTOMIZED_PATH'
34+ if firmware_class is built in kernel(the general situation)
35+
3136 2), userspace:
3237 - /sys/class/firmware/xxx/{loading,data} appear.
3338 - hotplug gets called with a firmware identifier in $FIRMWARE
@@ -114,3 +119,10 @@ · 80 unmodified lines
114119 on the setup, so I think that the choice on what firmware to make
115120 persistent should be left to userspace.
116121
122+ about firmware cache:
123+ --------------------
124+ After firmware cache mechanism is introduced during system sleep,
125+ request_firmware can be called safely inside device's suspend and
126+ resume callback, and callers need't cache the firmware by
127+ themselves any more for dealing with firmware loss during system
128+ resume.
Documentation/zh_CN/arm/kernel_user_helpers.txt+284−0
@@ -0,0 +1,284 @@
1+Chinese translated version of Documentation/arm/kernel_user_helpers.txt
2+
3+If you have any comment or update to the content, please contact the
4+original document maintainer directly. However, if you have a problem
5+communicating in English you can also ask the Chinese maintainer for
6+help. Contact the Chinese maintainer if this translation is outdated
7+or if there is a problem with the translation.
8+
9+Maintainer: Nicolas Pitre <nicolas.pitre@linaro.org>
10+ Dave Martin <dave.martin@linaro.org>
11+Chinese maintainer: Fu Wei <tekkamanninja@gmail.com>
12+---------------------------------------------------------------------
13+Documentation/arm/kernel_user_helpers.txt 的中文翻译
14+
15+如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
16+交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
17+译存在问题,请联系中文版维护者。
18+英文版维护者: Nicolas Pitre <nicolas.pitre@linaro.org>
19+ Dave Martin <dave.martin@linaro.org>
20+中文版维护者: 傅炜 Fu Wei <tekkamanninja@gmail.com>
21+中文版翻译者: 傅炜 Fu Wei <tekkamanninja@gmail.com>
22+中文版校译者: 宋冬生 Dongsheng Song <dongshneg.song@gmail.com>
23+ 傅炜 Fu Wei <tekkamanninja@gmail.com>
24+
25+
26+以下为正文
27+---------------------------------------------------------------------
28+内核提供的用户空间辅助代码
29+=========================
30+
31+在内核内存空间的固定地址处,有一个由内核提供并可从用户空间访问的代码
32+段。它用于向用户空间提供因在许多 ARM CPU 中未实现的特性和/或指令而需
33+内核提供帮助的某些操作。这些代码直接在用户模式下执行的想法是为了获得
34+最佳效率,但那些与内核计数器联系过于紧密的部分,则被留给了用户库实现。
35+事实上,此代码甚至可能因不同的 CPU 而异,这取决于其可用的指令集或它
36+是否为 SMP 系统。换句话说,内核保留在不作出警告的情况下根据需要更改
37+这些代码的权利。只有本文档描述的入口及其结果是保证稳定的。
38+
39+这与完全成熟的 VDSO 实现不同(但两者并不冲突),尽管如此,VDSO 可阻止
40+某些通过常量高效跳转到那些代码段的汇编技巧。且由于那些代码段在返回用户
41+代码前仅使用少量的代码周期,则一个 VDSO 间接远程调用将会在这些简单的
42+操作上增加一个可测量的开销。
43+
44+在对那些拥有原生支持的新型处理器进行代码优化时,仅在已为其他操作使用
45+了类似的新增指令,而导致二进制结果已与早期 ARM 处理器不兼容的情况下,
46+用户空间才应绕过这些辅助代码,并在内联函数中实现这些操作(无论是通过
47+编译器在代码中直接放置,还是作为库函数调用实现的一部分)。也就是说,
48+如果你编译的代码不会为了其他目的使用新指令,则不要仅为了避免使用这些
49+内核辅助代码,导致二进制程序无法在早期处理器上运行。
50+
51+新的辅助代码可能随着时间的推移而增加,所以新内核中的某些辅助代码在旧
52+内核中可能不存在。因此,程序必须在对任何辅助代码调用假设是安全之前,
53+检测 __kuser_helper_version 的值(见下文)。理想情况下,这种检测应该
54+只在进程启动时执行一次;如果内核版本不支持所需辅助代码,则该进程可尽早
55+中止执行。
56+
57+kuser_helper_version
58+--------------------
59+
60+位置: 0xffff0ffc
61+
62+参考声明:
63+
64+ extern int32_t __kuser_helper_version;
65+
66+定义:
67+
68+ 这个区域包含了当前运行内核实现的辅助代码版本号。用户空间可以通过读
69+ 取此版本号以确定特定的辅助代码是否存在。
70+
71+使用范例:
72+
73+#define __kuser_helper_version (*(int32_t *)0xffff0ffc)
74+
75+void check_kuser_version(void)
76+{
77+ if (__kuser_helper_version < 2) {
78+ fprintf(stderr, "can't do atomic operations, kernel too old\n");
79+ abort();
80+ }
81+}
82+
83+注意:
84+
85+ 用户空间可以假设这个域的值不会在任何单个进程的生存期内改变。也就
86+ 是说,这个域可以仅在库的初始化阶段或进程启动阶段读取一次。
87+
88+kuser_get_tls
89+-------------
90+
91+位置: 0xffff0fe0
92+
93+参考原型:
94+
95+ void * __kuser_get_tls(void);
96+
97+输入:
98+
99+ lr = 返回地址
100+
101+输出:
102+
103+ r0 = TLS 值
104+
105+被篡改的寄存器:
106+
107+ 无
108+
109+定义:
110+
111+ 获取之前通过 __ARM_NR_set_tls 系统调用设置的 TLS 值。
112+
113+使用范例:
114+
115+typedef void * (__kuser_get_tls_t)(void);
116+#define __kuser_get_tls (*(__kuser_get_tls_t *)0xffff0fe0)
117+
118+void foo()
119+{
120+ void *tls = __kuser_get_tls();
121+ printf("TLS = %p\n", tls);
122+}
123+
124+注意:
125+
126+ - 仅在 __kuser_helper_version >= 1 时,此辅助代码存在
127+ (从内核版本 2.6.12 开始)。
128+
129+kuser_cmpxchg
130+-------------
131+
132+位置: 0xffff0fc0
133+
134+参考原型:
135+
136+ int __kuser_cmpxchg(int32_t oldval, int32_t newval, volatile int32_t *ptr);
137+
138+输入:
139+
140+ r0 = oldval
141+ r1 = newval
142+ r2 = ptr
143+ lr = 返回地址
144+
145+输出:
146+
147+ r0 = 成功代码 (零或非零)
148+ C flag = 如果 r0 == 0 则置 1,如果 r0 != 0 则清零。
149+
150+被篡改的寄存器:
151+
152+ r3, ip, flags
153+
154+定义:
155+
156+ 仅在 *ptr 为 oldval 时原子保存 newval 于 *ptr 中。
157+ 如果 *ptr 被改变,则返回值为零,否则为非零值。
158+ 如果 *ptr 被改变,则 C flag 也会被置 1,以实现调用代码中的汇编
159+ 优化。
160+
161+使用范例:
162+
163+typedef int (__kuser_cmpxchg_t)(int oldval, int newval, volatile int *ptr);
164+#define __kuser_cmpxchg (*(__kuser_cmpxchg_t *)0xffff0fc0)
165+
166+int atomic_add(volatile int *ptr, int val)
167+{
168+ int old, new;
169+
170+ do {
171+ old = *ptr;
172+ new = old + val;
173+ } while(__kuser_cmpxchg(old, new, ptr));
174+
175+ return new;
176+}
177+
178+注意:
179+
180+ - 这个例程已根据需要包含了内存屏障。
181+
182+ - 仅在 __kuser_helper_version >= 2 时,此辅助代码存在
183+ (从内核版本 2.6.12 开始)。
184+
185+kuser_memory_barrier
186+--------------------
187+
188+位置: 0xffff0fa0
189+
190+参考原型:
191+
192+ void __kuser_memory_barrier(void);
193+
194+输入:
195+
196+ lr = 返回地址
197+
198+输出:
199+
200+ 无
201+
202+被篡改的寄存器:
203+
204+ 无
205+
206+定义:
207+
208+ 应用于任何需要内存屏障以防止手动数据修改带来的一致性问题,以及
209+ __kuser_cmpxchg 中。
210+
211+使用范例:
212+
213+typedef void (__kuser_dmb_t)(void);
214+#define __kuser_dmb (*(__kuser_dmb_t *)0xffff0fa0)
215+
216+注意:
217+
218+ - 仅在 __kuser_helper_version >= 3 时,此辅助代码存在
219+ (从内核版本 2.6.15 开始)。
220+
221+kuser_cmpxchg64
222+---------------
223+
224+位置: 0xffff0f60
225+
226+参考原型:
227+
228+ int __kuser_cmpxchg64(const int64_t *oldval,
229+ const int64_t *newval,
230+ volatile int64_t *ptr);
231+
232+输入:
233+
234+ r0 = 指向 oldval
235+ r1 = 指向 newval
236+ r2 = 指向目标值
237+ lr = 返回地址
238+
239+输出:
240+
241+ r0 = 成功代码 (零或非零)
242+ C flag = 如果 r0 == 0 则置 1,如果 r0 != 0 则清零。
243+
244+被篡改的寄存器:
245+
246+ r3, lr, flags
247+
248+定义:
249+
250+ 仅在 *ptr 等于 *oldval 指向的 64 位值时,原子保存 *newval
251+ 指向的 64 位值于 *ptr 中。如果 *ptr 被改变,则返回值为零,
252+ 否则为非零值。
253+
254+ 如果 *ptr 被改变,则 C flag 也会被置 1,以实现调用代码中的汇编
255+ 优化。
256+
257+使用范例:
258+
259+typedef int (__kuser_cmpxchg64_t)(const int64_t *oldval,
260+ const int64_t *newval,
261+ volatile int64_t *ptr);
262+#define __kuser_cmpxchg64 (*(__kuser_cmpxchg64_t *)0xffff0f60)
263+
264+int64_t atomic_add64(volatile int64_t *ptr, int64_t val)
265+{
266+ int64_t old, new;
267+
268+ do {
269+ old = *ptr;
270+ new = old + val;
271+ } while(__kuser_cmpxchg64(&old, &new, ptr));
272+
273+ return new;
274+}
275+
276+注意:
277+
278+ - 这个例程已根据需要包含了内存屏障。
279+
280+ - 由于这个过程的代码长度(此辅助代码跨越 2 个常规的 kuser “槽”),
281+ 因此 0xffff0f80 不被作为有效的入口点。
282+
283+ - 仅在 __kuser_helper_version >= 5 时,此辅助代码存在
284+ (从内核版本 3.1 开始)。
Documentation/zh_CN/arm64/memory.txt+7−7
@@ -47,21 +47,21 @@ AArch64 Linux 内存布局: · 46 unmodified lines
4747 -----------------------------------------------------------------------
4848 0000000000000000 0000007fffffffff 512GB 用户空间
4949
50−ffffff8000000000 ffffffbbfffcffff ~240GB vmalloc
50+ffffff8000000000 ffffffbbfffeffff ~240GB vmalloc
5151
52−ffffffbbfffd0000 ffffffbcfffdffff 64KB [防护页]
52+ffffffbbffff0000 ffffffbbffffffff 64KB [防护页]
5353
54−ffffffbbfffe0000 ffffffbcfffeffff 64KB PCI I/O 空间
54+ffffffbc00000000 ffffffbdffffffff 8GB vmemmap
5555
56−ffffffbbffff0000 ffffffbcffffffff 64KB [防护页]
56+ffffffbe00000000 ffffffbffbbfffff ~8GB [防护页,未来用于 vmmemap]
5757
58−ffffffbc00000000 ffffffbdffffffff 8GB vmemmap
58+ffffffbffbe00000 ffffffbffbe0ffff 64KB PCI I/O 空间
5959
60−ffffffbe00000000 ffffffbffbffffff ~8GB [防护页,未来用于 vmmemap]
60+ffffffbbffff0000 ffffffbcffffffff ~2MB [防护页]
6161
6262 ffffffbffc000000 ffffffbfffffffff 64MB 模块
6363
64−ffffffc000000000 ffffffffffffffff 256GB 内存空间
64+ffffffc000000000 ffffffffffffffff 256GB 内核逻辑内存映射
6565
6666
6767 4KB 页大小的转换表查找:
arch/microblaze/pci/pci-common.c+0−4
@@ -1346,8 +1346,6 @@ void __init pcibios_resource_survey(void) · 1345 unmodified lines
13461346 pci_assign_unassigned_resources();
13471347 }
13481348
1349−#ifdef CONFIG_HOTPLUG
1350−
13511349 /* This is used by the PCI hotplug driver to allocate resource
13521350 * of newly plugged busses. We can try to consolidate with the
13531351 * rest of the code later, for now, keep it as-is as our main
@@ -1407,8 +1405,6 @@ void pcibios_finish_adding_to_bus(struct pci_bus *bus) · 53 unmodified lines
14071405 }
14081406 EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus);
14091407
1410−#endif /* CONFIG_HOTPLUG */
1411−
14121408 int pcibios_enable_device(struct pci_dev *dev, int mask)
14131409 {
14141410 return pci_enable_resources(dev, mask);
arch/mips/pci/pci.c+0−2
@@ -313,10 +313,8 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus) · 312 unmodified lines
313313 }
314314 }
315315
316−#ifdef CONFIG_HOTPLUG
317316 EXPORT_SYMBOL(PCIBIOS_MIN_IO);
318317 EXPORT_SYMBOL(PCIBIOS_MIN_MEM);
319−#endif
320318
321319 int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
322320 enum pci_mmap_state mmap_state, int write_combine)
arch/powerpc/kernel/pci-common.c+0−4
@@ -1428,8 +1428,6 @@ void __init pcibios_resource_survey(void) · 1427 unmodified lines
14281428 ppc_md.pcibios_fixup();
14291429 }
14301430
1431−#ifdef CONFIG_HOTPLUG
1432−
14331431 /* This is used by the PCI hotplug driver to allocate resource
14341432 * of newly plugged busses. We can try to consolidate with the
14351433 * rest of the code later, for now, keep it as-is as our main
@@ -1488,8 +1486,6 @@ void pcibios_finish_adding_to_bus(struct pci_bus *bus) · 52 unmodified lines
14881486 }
14891487 EXPORT_SYMBOL_GPL(pcibios_finish_adding_to_bus);
14901488
1491−#endif /* CONFIG_HOTPLUG */
1492−
14931489 int pcibios_enable_device(struct pci_dev *dev, int mask)
14941490 {
14951491 if (ppc_md.pcibios_enable_device_hook)
arch/powerpc/kernel/pci_64.c+0−4
@@ -74,8 +74,6 @@ static int __init pcibios_init(void) · 73 unmodified lines
7474
7575 subsys_initcall(pcibios_init);
7676
77−#ifdef CONFIG_HOTPLUG
78−
7977 int pcibios_unmap_io_space(struct pci_bus *bus)
8078 {
8179 struct pci_controller *hose;
@@ -124,8 +122,6 @@ int pcibios_unmap_io_space(struct pci_bus *bus) · 42 unmodified lines
124122 }
125123 EXPORT_SYMBOL_GPL(pcibios_unmap_io_space);
126124
127−#endif /* CONFIG_HOTPLUG */
128−
129125 static int __devinit pcibios_map_phb_io_space(struct pci_controller *hose)
130126 {
131127 struct vm_struct *area;
arch/sh/drivers/pci/pci.c+0−2
@@ -319,7 +319,5 @@ EXPORT_SYMBOL(pci_iounmap); · 318 unmodified lines
319319
320320 #endif /* CONFIG_GENERIC_IOMAP */
321321
322−#ifdef CONFIG_HOTPLUG
323322 EXPORT_SYMBOL(PCIBIOS_MIN_IO);
324323 EXPORT_SYMBOL(PCIBIOS_MIN_MEM);
325−#endif
arch/unicore32/kernel/pci.c+0−2
@@ -250,9 +250,7 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus) · 249 unmodified lines
250250 printk(KERN_INFO "PCI: bus%d: Fast back to back transfers %sabled\n",
251251 bus->number, (features & PCI_COMMAND_FAST_BACK) ? "en" : "dis");
252252 }
253−#ifdef CONFIG_HOTPLUG
254253 EXPORT_SYMBOL(pcibios_fixup_bus);
255−#endif
256254
257255 static int __init pci_common_init(void)
258256 {
drivers/acpi/apei/ghes.c+1−1
@@ -901,7 +901,7 @@ static unsigned long ghes_esource_prealloc_size( · 900 unmodified lines
901901 return prealloc_size;
902902 }
903903
904−static int __devinit ghes_probe(struct platform_device *ghes_dev)
904+static int ghes_probe(struct platform_device *ghes_dev)
905905 {
906906 struct acpi_hest_generic *generic;
907907 struct ghes *ghes = NULL;
drivers/acpi/hed.c+1−1
@@ -61,7 +61,7 @@ static void acpi_hed_notify(struct acpi_device *device, u32 event) · 60 unmodified lines
6161 blocking_notifier_call_chain(&acpi_hed_notify_list, 0, NULL);
6262 }
6363
64−static int __devinit acpi_hed_add(struct acpi_device *device)
64+static int acpi_hed_add(struct acpi_device *device)
6565 {
6666 /* Only one hardware error device */
6767 if (hed_handle)
drivers/acpi/pci_root.c+1−1
@@ -445,7 +445,7 @@ out: · 444 unmodified lines
445445 }
446446 EXPORT_SYMBOL(acpi_pci_osc_control_set);
447447
448−static int __devinit acpi_pci_root_add(struct acpi_device *device)
448+static int acpi_pci_root_add(struct acpi_device *device)
449449 {
450450 unsigned long long segment, bus;
451451 acpi_status status;
drivers/base/Kconfig+3−4
@@ -57,7 +57,7 @@ config DEVTMPFS_MOUNT · 56 unmodified lines
5757 on the rootfs is completely empty.
5858
5959 config STANDALONE
60− bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL
60+ bool "Select only drivers that don't need compile-time external firmware"
6161 default y
6262 help
6363 Select this option if you don't have magic firmware for drivers that
@@ -185,7 +185,6 @@ config DMA_SHARED_BUFFER · 121 unmodified lines
185185 bool
186186 default n
187187 select ANON_INODES
188− depends on EXPERIMENTAL
189188 help
190189 This option enables the framework for buffer-sharing between
191190 multiple drivers. A buffer is associated with a file using driver
@@ -193,8 +192,8 @@ config DMA_SHARED_BUFFER · 1 unmodified line
193192 driver.
194193
195194 config CMA
196− bool "Contiguous Memory Allocator (EXPERIMENTAL)"
197− depends on HAVE_DMA_CONTIGUOUS && HAVE_MEMBLOCK && EXPERIMENTAL
195+ bool "Contiguous Memory Allocator"
196+ depends on HAVE_DMA_CONTIGUOUS && HAVE_MEMBLOCK
198197 select MIGRATION
199198 select MEMORY_ISOLATION
200199 help
drivers/base/attribute_container.c+1−1
@@ -158,7 +158,7 @@ attribute_container_add_device(struct device *dev, · 157 unmodified lines
158158
159159 ic = kzalloc(sizeof(*ic), GFP_KERNEL);
160160 if (!ic) {
161− dev_printk(KERN_ERR, dev, "failed to allocate class container\n");
161+ dev_err(dev, "failed to allocate class container\n");
162162 continue;
163163 }
164164
drivers/base/bus.c+0−14
@@ -164,8 +164,6 @@ static const struct kset_uevent_ops bus_uevent_ops = { · 163 unmodified lines
164164
165165 static struct kset *bus_kset;
166166
167−
168−#ifdef CONFIG_HOTPLUG
169167 /* Manually detach a device from its associated driver. */
170168 static ssize_t driver_unbind(struct device_driver *drv,
171169 const char *buf, size_t count)
@@ -252,7 +250,6 @@ static ssize_t store_drivers_probe(struct bus_type *bus, · 80 unmodified lines
252250 return -EINVAL;
253251 return count;
254252 }
255−#endif
256253
257254 static struct device *next_device(struct klist_iter *i)
258255 {
@@ -618,11 +615,6 @@ static void driver_remove_attrs(struct bus_type *bus, · 359 unmodified lines
618615 }
619616 }
620617
621−#ifdef CONFIG_HOTPLUG
622−/*
623− * Thanks to drivers making their tables __devinit, we can't allow manual
624− * bind and unbind from userspace unless CONFIG_HOTPLUG is enabled.
625− */
626618 static int __must_check add_bind_files(struct device_driver *drv)
627619 {
628620 int ret;
@@ -666,12 +658,6 @@ static void remove_probe_files(struct bus_type *bus) · 37 unmodified lines
666658 bus_remove_file(bus, &bus_attr_drivers_autoprobe);
667659 bus_remove_file(bus, &bus_attr_drivers_probe);
668660 }
669−#else
670−static inline int add_bind_files(struct device_driver *drv) { return 0; }
671−static inline void remove_bind_files(struct device_driver *drv) {}
672−static inline int add_probe_files(struct bus_type *bus) { return 0; }
673−static inline void remove_probe_files(struct bus_type *bus) {}
674−#endif
675661
676662 static ssize_t driver_uevent_store(struct device_driver *drv,
677663 const char *buf, size_t count)
drivers/base/core.c+5−3
@@ -1399,7 +1399,7 @@ struct root_device { · 1398 unmodified lines
13991399 struct module *owner;
14001400 };
14011401
1402−inline struct root_device *to_root_device(struct device *d)
1402+static inline struct root_device *to_root_device(struct device *d)
14031403 {
14041404 return container_of(d, struct root_device, dev);
14051405 }
@@ -1840,10 +1840,12 @@ void device_shutdown(void) · 434 unmodified lines
18401840 pm_runtime_barrier(dev);
18411841
18421842 if (dev->bus && dev->bus->shutdown) {
1843− dev_dbg(dev, "shutdown\n");
1843+ if (initcall_debug)
1844+ dev_info(dev, "shutdown\n");
18441845 dev->bus->shutdown(dev);
18451846 } else if (dev->driver && dev->driver->shutdown) {
1846− dev_dbg(dev, "shutdown\n");
1847+ if (initcall_debug)
1848+ dev_info(dev, "shutdown\n");
18471849 dev->driver->shutdown(dev);
18481850 }
18491851
drivers/base/devres.c+2−2
@@ -50,8 +50,8 @@ static void devres_log(struct device *dev, struct devres_node *node, · 49 unmodified lines
5050 const char *op)
5151 {
5252 if (unlikely(log_devres))
53− dev_printk(KERN_ERR, dev, "DEVRES %3s %p %s (%lu bytes)\n",
54− op, node, node->name, (unsigned long)node->size);
53+ dev_err(dev, "DEVRES %3s %p %s (%lu bytes)\n",
54+ op, node, node->name, (unsigned long)node->size);
5555 }
5656 #else /* CONFIG_DEBUG_DEVRES */
5757 #define set_node_dbginfo(node, n, s) do {} while (0)
drivers/base/firmware_class.c+40−12
@@ -143,7 +143,7 @@ struct fw_cache_entry { · 142 unmodified lines
143143 };
144144
145145 struct firmware_priv {
146− struct timer_list timeout;
146+ struct delayed_work timeout_work;
147147 bool nowait;
148148 struct device dev;
149149 struct firmware_buf *buf;
@@ -246,7 +246,6 @@ static void __fw_free_buf(struct kref *ref) · 96 unmodified lines
246246 __func__, buf->fw_id, buf, buf->data,
247247 (unsigned int)buf->size);
248248
249− spin_lock(&fwc->lock);
250249 list_del(&buf->list);
251250 spin_unlock(&fwc->lock);
252251
@@ -263,19 +262,32 @@ static void __fw_free_buf(struct kref *ref) · 10 unmodified lines
263262
264263 static void fw_free_buf(struct firmware_buf *buf)
265264 {
266− kref_put(&buf->ref, __fw_free_buf);
265+ struct firmware_cache *fwc = buf->fwc;
266+ spin_lock(&fwc->lock);
267+ if (!kref_put(&buf->ref, __fw_free_buf))
268+ spin_unlock(&fwc->lock);
267269 }
268270
269271 /* direct firmware loading support */
270−static const char *fw_path[] = {
272+static char fw_path_para[256];
273+static const char * const fw_path[] = {
274+ fw_path_para,
271275 "/lib/firmware/updates/" UTS_RELEASE,
272276 "/lib/firmware/updates",
273277 "/lib/firmware/" UTS_RELEASE,
274278 "/lib/firmware"
275279 };
276280
281+/*
282+ * Typical usage is that passing 'firmware_class.path=$CUSTOMIZED_PATH'
283+ * from kernel command line because firmware_class is generally built in
284+ * kernel instead of module.
285+ */
286+module_param_string(path, fw_path_para, sizeof(fw_path_para), 0644);
287+MODULE_PARM_DESC(path, "customized firmware image search path with a higher priority than default path");
288+
277289 /* Don't inline this: 'struct kstat' is biggish */
278−static noinline long fw_file_size(struct file *file)
290+static noinline_for_stack long fw_file_size(struct file *file)
279291 {
280292 struct kstat st;
281293 if (vfs_getattr(file->f_path.mnt, file->f_path.dentry, &st))
@@ -315,6 +327,11 @@ static bool fw_get_filesystem_firmware(struct firmware_buf *buf) · 33 unmodified lines
315327
316328 for (i = 0; i < ARRAY_SIZE(fw_path); i++) {
317329 struct file *file;
330+
331+ /* skip the unset customized path */
332+ if (!fw_path[i][0])
333+ continue;
334+
318335 snprintf(path, PATH_MAX, "%s/%s", fw_path[i], buf->fw_id);
319336
320337 file = filp_open(path, O_RDONLY, 0);
@@ -667,11 +684,18 @@ static struct bin_attribute firmware_attr_data = { · 346 unmodified lines
667684 .write = firmware_data_write,
668685 };
669686
670−static void firmware_class_timeout(u_long data)
687+static void firmware_class_timeout_work(struct work_struct *work)
671688 {
672− struct firmware_priv *fw_priv = (struct firmware_priv *) data;
689+ struct firmware_priv *fw_priv = container_of(work,
690+ struct firmware_priv, timeout_work.work);
673691
692+ mutex_lock(&fw_lock);
693+ if (test_bit(FW_STATUS_DONE, &(fw_priv->buf->status))) {
694+ mutex_unlock(&fw_lock);
695+ return;
696+ }
674697 fw_load_abort(fw_priv);
698+ mutex_unlock(&fw_lock);
675699 }
676700
677701 static struct firmware_priv *
@@ -690,8 +714,8 @@ fw_create_instance(struct firmware *firmware, const char *fw_name, · 12 unmodified lines
690714
691715 fw_priv->nowait = nowait;
692716 fw_priv->fw = firmware;
693− setup_timer(&fw_priv->timeout,
694− firmware_class_timeout, (u_long) fw_priv);
717+ INIT_DELAYED_WORK(&fw_priv->timeout_work,
718+ firmware_class_timeout_work);
695719
696720 f_dev = &fw_priv->dev;
697721
@@ -858,7 +882,9 @@ static int _request_firmware_load(struct firmware_priv *fw_priv, bool uevent, · 160 unmodified lines
858882 dev_dbg(f_dev->parent, "firmware: direct-loading"
859883 " firmware %s\n", buf->fw_id);
860884
885+ mutex_lock(&fw_lock);
861886 set_bit(FW_STATUS_DONE, &buf->status);
887+ mutex_unlock(&fw_lock);
862888 complete_all(&buf->completion);
863889 direct_load = 1;
864890 goto handle_fw;
@@ -894,15 +920,14 @@ static int _request_firmware_load(struct firmware_priv *fw_priv, bool uevent, · 29 unmodified lines
894920 dev_set_uevent_suppress(f_dev, false);
895921 dev_dbg(f_dev, "firmware: requesting %s\n", buf->fw_id);
896922 if (timeout != MAX_SCHEDULE_TIMEOUT)
897− mod_timer(&fw_priv->timeout,
898− round_jiffies_up(jiffies + timeout));
923+ schedule_delayed_work(&fw_priv->timeout_work, timeout);
899924
900925 kobject_uevent(&fw_priv->dev.kobj, KOBJ_ADD);
901926 }
902927
903928 wait_for_completion(&buf->completion);
904929
905− del_timer_sync(&fw_priv->timeout);
930+ cancel_delayed_work_sync(&fw_priv->timeout_work);
906931
907932 handle_fw:
908933 mutex_lock(&fw_lock);
@@ -963,6 +988,9 @@ err_put_dev: · 54 unmodified lines
963988 * firmware image for this or any other device.
964989 *
965990 * Caller must hold the reference count of @device.
991+ *
992+ * The function can be called safely inside device's suspend and
993+ * resume callback.
966994 **/
967995 int
968996 request_firmware(const struct firmware **firmware_p, const char *name,
drivers/base/platform.c+2−2
@@ -45,7 +45,7 @@ EXPORT_SYMBOL_GPL(platform_bus); · 44 unmodified lines
4545 * be setup before the platform_notifier is called. So if a user needs to
4646 * manipulate any relevant information in the pdev_archdata they can do:
4747 *
48− * platform_devic_alloc()
48+ * platform_device_alloc()
4949 * ... manipulate ...
5050 * platform_device_add()
5151 *
@@ -123,7 +123,7 @@ struct resource *platform_get_resource_byname(struct platform_device *dev, · 71 unmodified lines
123123 EXPORT_SYMBOL_GPL(platform_get_resource_byname);
124124
125125 /**
126− * platform_get_irq - get an IRQ for a device
126+ * platform_get_irq_byname - get an IRQ for a device by name
127127 * @dev: platform device
128128 * @name: IRQ name
129129 */
drivers/char/tpm/tpm_i2c_infineon.c+2−2
@@ -555,7 +555,7 @@ static struct tpm_vendor_specific tpm_tis_i2c = { · 554 unmodified lines
555555 .miscdev.fops = &tis_ops,
556556 };
557557
558−static int __devinit tpm_tis_i2c_init(struct device *dev)
558+static int tpm_tis_i2c_init(struct device *dev)
559559 {
560560 u32 vendor;
561561 int rc = 0;
@@ -632,7 +632,7 @@ static const struct i2c_device_id tpm_tis_i2c_table[] = { · 70 unmodified lines
632632 MODULE_DEVICE_TABLE(i2c, tpm_tis_i2c_table);
633633 static SIMPLE_DEV_PM_OPS(tpm_tis_i2c_ops, tpm_pm_suspend, tpm_pm_resume);
634634
635−static int __devinit tpm_tis_i2c_probe(struct i2c_client *client,
635+static int tpm_tis_i2c_probe(struct i2c_client *client,
636636 const struct i2c_device_id *id)
637637 {
638638 int rc;
drivers/char/tpm/tpm_ibmvtpm.c+1−1
@@ -602,7 +602,7 @@ static void ibmvtpm_tasklet(void *data) · 601 unmodified lines
602602 * 0 - Success
603603 * Non-zero - Failure
604604 */
605−static int __devinit tpm_ibmvtpm_probe(struct vio_dev *vio_dev,
605+static int tpm_ibmvtpm_probe(struct vio_dev *vio_dev,
606606 const struct vio_device_id *id)
607607 {
608608 struct ibmvtpm_dev *ibmvtpm;
drivers/char/tpm/tpm_infineon.c+2−2
@@ -415,7 +415,7 @@ static const struct pnp_device_id tpm_inf_pnp_tbl[] = { · 414 unmodified lines
415415
416416 MODULE_DEVICE_TABLE(pnp, tpm_inf_pnp_tbl);
417417
418−static int __devinit tpm_inf_pnp_probe(struct pnp_dev *dev,
418+static int tpm_inf_pnp_probe(struct pnp_dev *dev,
419419 const struct pnp_device_id *dev_id)
420420 {
421421 int rc = 0;
@@ -655,7 +655,7 @@ static struct pnp_driver tpm_inf_pnp_driver = { · 233 unmodified lines
655655 .probe = tpm_inf_pnp_probe,
656656 .suspend = tpm_inf_pnp_suspend,
657657 .resume = tpm_inf_pnp_resume,
658− .remove = __devexit_p(tpm_inf_pnp_remove)
658+ .remove = tpm_inf_pnp_remove
659659 };
660660
661661 static int __init init_inf(void)
drivers/char/tpm/tpm_tis.c+1−1
@@ -729,7 +729,7 @@ static void tpm_tis_reenable_interrupts(struct tpm_chip *chip) · 728 unmodified lines
729729 #endif
730730
731731 #ifdef CONFIG_PNP
732−static int __devinit tpm_tis_pnp_init(struct pnp_dev *pnp_dev,
732+static int tpm_tis_pnp_init(struct pnp_dev *pnp_dev,
733733 const struct pnp_device_id *pnp_id)
734734 {
735735 resource_size_t start, len;
drivers/clk/clk-max77686.c+3−3
@@ -143,7 +143,7 @@ static int max77686_clk_register(struct device *dev, · 142 unmodified lines
143143 return 0;
144144 }
145145
146−static __devinit int max77686_clk_probe(struct platform_device *pdev)
146+static int max77686_clk_probe(struct platform_device *pdev)
147147 {
148148 struct max77686_dev *iodev = dev_get_drvdata(pdev->dev.parent);
149149 struct max77686_clk **max77686_clks;
@@ -199,7 +199,7 @@ out: · 49 unmodified lines
199199 return ret;
200200 }
201201
202−static int __devexit max77686_clk_remove(struct platform_device *pdev)
202+static int max77686_clk_remove(struct platform_device *pdev)
203203 {
204204 struct max77686_clk **max77686_clks = platform_get_drvdata(pdev);
205205 int i;
@@ -223,7 +223,7 @@ static struct platform_driver max77686_clk_driver = { · 17 unmodified lines
223223 .owner = THIS_MODULE,
224224 },
225225 .probe = max77686_clk_probe,
226− .remove = __devexit_p(max77686_clk_remove),
226+ .remove = max77686_clk_remove,
227227 .id_table = max77686_clk_id,
228228 };
229229
drivers/clk/clk-wm831x.c+3−3
@@ -350,7 +350,7 @@ static struct clk_init_data wm831x_clkout_init = { · 349 unmodified lines
350350 .flags = CLK_SET_RATE_PARENT,
351351 };
352352
353−static __devinit int wm831x_clk_probe(struct platform_device *pdev)
353+static int wm831x_clk_probe(struct platform_device *pdev)
354354 {
355355 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
356356 struct wm831x_clk *clkdata;
@@ -389,14 +389,14 @@ static __devinit int wm831x_clk_probe(struct platform_device *pdev) · 32 unmodified lines
389389 return 0;
390390 }
391391
392−static int __devexit wm831x_clk_remove(struct platform_device *pdev)
392+static int wm831x_clk_remove(struct platform_device *pdev)
393393 {
394394 return 0;
395395 }
396396
397397 static struct platform_driver wm831x_clk_driver = {
398398 .probe = wm831x_clk_probe,
399− .remove = __devexit_p(wm831x_clk_remove),
399+ .remove = wm831x_clk_remove,
400400 .driver = {
401401 .name = "wm831x-clk",
402402 .owner = THIS_MODULE,
drivers/dma/dw_dmac.c+2−2
@@ -1462,7 +1462,7 @@ static void dw_dma_off(struct dw_dma *dw) · 1461 unmodified lines
14621462 dw->chan[i].initialized = false;
14631463 }
14641464
1465−static int __devinit dw_probe(struct platform_device *pdev)
1465+static int dw_probe(struct platform_device *pdev)
14661466 {
14671467 struct dw_dma_platform_data *pdata;
14681468 struct resource *io;
@@ -1700,7 +1700,7 @@ MODULE_DEVICE_TABLE(of, dw_dma_id_table); · 231 unmodified lines
17001700 #endif
17011701
17021702 static struct platform_driver dw_driver = {
1703− .remove = __devexit_p(dw_remove),
1703+ .remove = dw_remove,
17041704 .shutdown = dw_shutdown,
17051705 .driver = {
17061706 .name = "dw_dmac",
drivers/dma/edma.c+2−2
@@ -545,7 +545,7 @@ static void edma_dma_init(struct edma_cc *ecc, struct dma_device *dma, · 544 unmodified lines
545545 INIT_LIST_HEAD(&dma->channels);
546546 }
547547
548−static int __devinit edma_probe(struct platform_device *pdev)
548+static int edma_probe(struct platform_device *pdev)
549549 {
550550 struct edma_cc *ecc;
551551 int ret;
@@ -598,7 +598,7 @@ static int __devexit edma_remove(struct platform_device *pdev) · 46 unmodified lines
598598
599599 static struct platform_driver edma_driver = {
600600 .probe = edma_probe,
601− .remove = __devexit_p(edma_remove),
601+ .remove = edma_remove,
602602 .driver = {
603603 .name = "edma-dma-engine",
604604 .owner = THIS_MODULE,
drivers/dma/fsldma.c+2−2
@@ -1221,7 +1221,7 @@ out_unwind: · 1220 unmodified lines
12211221 /* OpenFirmware Subsystem */
12221222 /*----------------------------------------------------------------------------*/
12231223
1224−static int __devinit fsl_dma_chan_probe(struct fsldma_device *fdev,
1224+static int fsl_dma_chan_probe(struct fsldma_device *fdev,
12251225 struct device_node *node, u32 feature, const char *compatible)
12261226 {
12271227 struct fsldma_chan *chan;
@@ -1324,7 +1324,7 @@ static void fsl_dma_chan_remove(struct fsldma_chan *chan) · 96 unmodified lines
13241324 kfree(chan);
13251325 }
13261326
1327−static int __devinit fsldma_of_probe(struct platform_device *op)
1327+static int fsldma_of_probe(struct platform_device *op)
13281328 {
13291329 struct fsldma_device *fdev;
13301330 struct device_node *child;
drivers/dma/intel_mid_dma.c+2−2
@@ -1225,7 +1225,7 @@ static void middma_shutdown(struct pci_dev *pdev) · 1224 unmodified lines
12251225 * Initialize the PCI device, map BARs, query driver data.
12261226 * Call setup_dma to complete contoller and chan initilzation
12271227 */
1228−static int __devinit intel_mid_dma_probe(struct pci_dev *pdev,
1228+static int intel_mid_dma_probe(struct pci_dev *pdev,
12291229 const struct pci_device_id *id)
12301230 {
12311231 struct middma_device *device;
@@ -1432,7 +1432,7 @@ static struct pci_driver intel_mid_dma_pci_driver = { · 200 unmodified lines
14321432 .name = "Intel MID DMA",
14331433 .id_table = intel_mid_dma_ids,
14341434 .probe = intel_mid_dma_probe,
1435− .remove = __devexit_p(intel_mid_dma_remove),
1435+ .remove = intel_mid_dma_remove,
14361436 #ifdef CONFIG_PM
14371437 .driver = {
14381438 .pm = &intel_mid_dma_pm,
drivers/dma/ioat/pci.c+1−1
@@ -125,7 +125,7 @@ static struct pci_driver ioat_pci_driver = { · 124 unmodified lines
125125 .name = DRV_NAME,
126126 .id_table = ioat_pci_tbl,
127127 .probe = ioat_pci_probe,
128− .remove = __devexit_p(ioat_remove),
128+ .remove = ioat_remove,
129129 };
130130
131131 static struct ioatdma_device *
drivers/dma/iop-adma.c+5−5
@@ -968,7 +968,7 @@ static void iop_adma_issue_pending(struct dma_chan *chan) · 967 unmodified lines
968968 */
969969 #define IOP_ADMA_TEST_SIZE 2000
970970
971−static int __devinit iop_adma_memcpy_self_test(struct iop_adma_device *device)
971+static int iop_adma_memcpy_self_test(struct iop_adma_device *device)
972972 {
973973 int i;
974974 void *src, *dest;
@@ -1042,7 +1042,7 @@ out: · 67 unmodified lines
10421042 }
10431043
10441044 #define IOP_ADMA_NUM_SRC_TEST 4 /* must be <= 15 */
1045−static int __devinit
1045+static int
10461046 iop_adma_xor_val_self_test(struct iop_adma_device *device)
10471047 {
10481048 int i, src_idx;
@@ -1243,7 +1243,7 @@ out: · 194 unmodified lines
12431243 }
12441244
12451245 #ifdef CONFIG_RAID6_PQ
1246−static int __devinit
1246+static int
12471247 iop_adma_pq_zero_sum_self_test(struct iop_adma_device *device)
12481248 {
12491249 /* combined sources, software pq results, and extra hw pq results */
@@ -1429,7 +1429,7 @@ static int __devexit iop_adma_remove(struct platform_device *dev) · 179 unmodified lines
14291429 return 0;
14301430 }
14311431
1432−static int __devinit iop_adma_probe(struct platform_device *pdev)
1432+static int iop_adma_probe(struct platform_device *pdev)
14331433 {
14341434 struct resource *res;
14351435 int ret = 0, i;
@@ -1711,7 +1711,7 @@ static void iop_chan_start_null_xor(struct iop_adma_chan *iop_chan) · 275 unmodified lines
17111711
17121712 static struct platform_driver iop_adma_driver = {
17131713 .probe = iop_adma_probe,
1714− .remove = __devexit_p(iop_adma_remove),
1714+ .remove = iop_adma_remove,
17151715 .driver = {
17161716 .owner = THIS_MODULE,
17171717 .name = "iop-adma",
drivers/dma/mmp_pdma.c+3−3
@@ -720,7 +720,7 @@ static int __devexit mmp_pdma_remove(struct platform_device *op) · 719 unmodified lines
720720 return 0;
721721 }
722722
723−static int __devinit mmp_pdma_chan_init(struct mmp_pdma_device *pdev,
723+static int mmp_pdma_chan_init(struct mmp_pdma_device *pdev,
724724 int idx, int irq)
725725 {
726726 struct mmp_pdma_phy *phy = &pdev->phy[idx];
@@ -764,7 +764,7 @@ static struct of_device_id mmp_pdma_dt_ids[] = { · 37 unmodified lines
764764 };
765765 MODULE_DEVICE_TABLE(of, mmp_pdma_dt_ids);
766766
767−static int __devinit mmp_pdma_probe(struct platform_device *op)
767+static int mmp_pdma_probe(struct platform_device *op)
768768 {
769769 struct mmp_pdma_device *pdev;
770770 const struct of_device_id *of_id;
@@ -865,7 +865,7 @@ static struct platform_driver mmp_pdma_driver = { · 94 unmodified lines
865865 },
866866 .id_table = mmp_pdma_id_table,
867867 .probe = mmp_pdma_probe,
868− .remove = __devexit_p(mmp_pdma_remove),
868+ .remove = mmp_pdma_remove,
869869 };
870870
871871 module_platform_driver(mmp_pdma_driver);
drivers/dma/mmp_tdma.c+3−3
@@ -475,7 +475,7 @@ static int __devexit mmp_tdma_remove(struct platform_device *pdev) · 474 unmodified lines
475475 return 0;
476476 }
477477
478−static int __devinit mmp_tdma_chan_init(struct mmp_tdma_device *tdev,
478+static int mmp_tdma_chan_init(struct mmp_tdma_device *tdev,
479479 int idx, int irq, int type)
480480 {
481481 struct mmp_tdma_chan *tdmac;
@@ -515,7 +515,7 @@ static struct of_device_id mmp_tdma_dt_ids[] = { · 33 unmodified lines
515515 };
516516 MODULE_DEVICE_TABLE(of, mmp_tdma_dt_ids);
517517
518−static int __devinit mmp_tdma_probe(struct platform_device *pdev)
518+static int mmp_tdma_probe(struct platform_device *pdev)
519519 {
520520 enum mmp_tdma_type type;
521521 const struct of_device_id *of_id;
@@ -609,7 +609,7 @@ static struct platform_driver mmp_tdma_driver = { · 87 unmodified lines
609609 },
610610 .id_table = mmp_tdma_id_table,
611611 .probe = mmp_tdma_probe,
612− .remove = __devexit_p(mmp_tdma_remove),
612+ .remove = mmp_tdma_remove,
613613 };
614614
615615 module_platform_driver(mmp_tdma_driver);
drivers/dma/mpc512x_dma.c+2−2
@@ -641,7 +641,7 @@ mpc_dma_prep_memcpy(struct dma_chan *chan, dma_addr_t dst, dma_addr_t src, · 640 unmodified lines
641641 return &mdesc->desc;
642642 }
643643
644−static int __devinit mpc_dma_probe(struct platform_device *op)
644+static int mpc_dma_probe(struct platform_device *op)
645645 {
646646 struct device_node *dn = op->dev.of_node;
647647 struct device *dev = &op->dev;
@@ -818,7 +818,7 @@ static struct of_device_id mpc_dma_match[] = { · 170 unmodified lines
818818
819819 static struct platform_driver mpc_dma_driver = {
820820 .probe = mpc_dma_probe,
821− .remove = __devexit_p(mpc_dma_remove),
821+ .remove = mpc_dma_remove,
822822 .driver = {
823823 .name = DRV_NAME,
824824 .owner = THIS_MODULE,
drivers/dma/mv_xor.c+4−4
@@ -901,7 +901,7 @@ static void mv_xor_issue_pending(struct dma_chan *chan) · 900 unmodified lines
901901 */
902902 #define MV_XOR_TEST_SIZE 2000
903903
904−static int __devinit mv_xor_memcpy_self_test(struct mv_xor_device *device)
904+static int mv_xor_memcpy_self_test(struct mv_xor_device *device)
905905 {
906906 int i;
907907 void *src, *dest;
@@ -975,7 +975,7 @@ out: · 67 unmodified lines
975975 }
976976
977977 #define MV_XOR_NUM_SRC_TEST 4 /* must be <= 15 */
978−static int __devinit
978+static int
979979 mv_xor_xor_self_test(struct mv_xor_device *device)
980980 {
981981 int i, src_idx;
@@ -1100,7 +1100,7 @@ static int __devexit mv_xor_remove(struct platform_device *dev) · 118 unmodified lines
11001100 return 0;
11011101 }
11021102
1103−static int __devinit mv_xor_probe(struct platform_device *pdev)
1103+static int mv_xor_probe(struct platform_device *pdev)
11041104 {
11051105 int ret = 0;
11061106 int irq;
@@ -1262,7 +1262,7 @@ mv_xor_conf_mbus_windows(struct mv_xor_shared_private *msp, · 155 unmodified lines
12621262
12631263 static struct platform_driver mv_xor_driver = {
12641264 .probe = mv_xor_probe,
1265− .remove = __devexit_p(mv_xor_remove),
1265+ .remove = mv_xor_remove,
12661266 .driver = {
12671267 .owner = THIS_MODULE,
12681268 .name = MV_XOR_NAME,
drivers/dma/pch_dma.c+2−2
@@ -843,7 +843,7 @@ static int pch_dma_resume(struct pci_dev *pdev) · 842 unmodified lines
843843 }
844844 #endif
845845
846−static int __devinit pch_dma_probe(struct pci_dev *pdev,
846+static int pch_dma_probe(struct pci_dev *pdev,
847847 const struct pci_device_id *id)
848848 {
849849 struct pch_dma *pd;
@@ -1022,7 +1022,7 @@ static struct pci_driver pch_dma_driver = { · 172 unmodified lines
10221022 .name = DRV_NAME,
10231023 .id_table = pch_dma_id_table,
10241024 .probe = pch_dma_probe,
1025− .remove = __devexit_p(pch_dma_remove),
1025+ .remove = pch_dma_remove,
10261026 #ifdef CONFIG_PM
10271027 .suspend = pch_dma_suspend,
10281028 .resume = pch_dma_resume,
drivers/dma/pl330.c+1−1
@@ -2851,7 +2851,7 @@ static irqreturn_t pl330_irq_handler(int irq, void *data) · 2850 unmodified lines
28512851 return IRQ_NONE;
28522852 }
28532853
2854−static int __devinit
2854+static int
28552855 pl330_probe(struct amba_device *adev, const struct amba_id *id)
28562856 {
28572857 struct dma_pl330_platdata *pdat;
drivers/dma/ppc4xx/adma.c+2−2
@@ -4361,7 +4361,7 @@ static void ppc440spe_adma_release_irqs(struct ppc440spe_adma_device *adev, · 4360 unmodified lines
43614361 /**
43624362 * ppc440spe_adma_probe - probe the asynch device
43634363 */
4364−static int __devinit ppc440spe_adma_probe(struct platform_device *ofdev)
4364+static int ppc440spe_adma_probe(struct platform_device *ofdev)
43654365 {
43664366 struct device_node *np = ofdev->dev.of_node;
43674367 struct resource res;
@@ -4914,7 +4914,7 @@ MODULE_DEVICE_TABLE(of, ppc440spe_adma_of_match); · 546 unmodified lines
49144914
49154915 static struct platform_driver ppc440spe_adma_driver = {
49164916 .probe = ppc440spe_adma_probe,
4917− .remove = __devexit_p(ppc440spe_adma_remove),
4917+ .remove = ppc440spe_adma_remove,
49184918 .driver = {
49194919 .name = "PPC440SP(E)-ADMA",
49204920 .owner = THIS_MODULE,
drivers/dma/sa11x0-dma.c+3−3
@@ -826,7 +826,7 @@ static const struct sa11x0_dma_channel_desc chan_desc[] = { · 825 unmodified lines
826826 CD(Ser4SSPRc, DDAR_RW),
827827 };
828828
829−static int __devinit sa11x0_dma_init_dmadev(struct dma_device *dmadev,
829+static int sa11x0_dma_init_dmadev(struct dma_device *dmadev,
830830 struct device *dev)
831831 {
832832 unsigned i;
@@ -891,7 +891,7 @@ static void sa11x0_dma_free_channels(struct dma_device *dmadev) · 58 unmodified lines
891891 }
892892 }
893893
894−static int __devinit sa11x0_dma_probe(struct platform_device *pdev)
894+static int sa11x0_dma_probe(struct platform_device *pdev)
895895 {
896896 struct sa11x0_dma_dev *d;
897897 struct resource *res;
@@ -1072,7 +1072,7 @@ static struct platform_driver sa11x0_dma_driver = { · 174 unmodified lines
10721072 .pm = &sa11x0_dma_pm_ops,
10731073 },
10741074 .probe = sa11x0_dma_probe,
1075− .remove = __devexit_p(sa11x0_dma_remove),
1075+ .remove = sa11x0_dma_remove,
10761076 };
10771077
10781078 bool sa11x0_dma_filter_fn(struct dma_chan *chan, void *param)
drivers/dma/sh/shdma.c+3−3
@@ -483,7 +483,7 @@ static struct notifier_block sh_dmae_nmi_notifier __read_mostly = { · 482 unmodified lines
483483 .priority = 1,
484484 };
485485
486−static int __devinit sh_dmae_chan_probe(struct sh_dmae_device *shdev, int id,
486+static int sh_dmae_chan_probe(struct sh_dmae_device *shdev, int id,
487487 int irq, unsigned long flags)
488488 {
489489 const struct sh_dmae_channel *chan_pdata = &shdev->pdata->channel[id];
@@ -646,7 +646,7 @@ static const struct shdma_ops sh_dmae_shdma_ops = { · 156 unmodified lines
646646 .get_partial = sh_dmae_get_partial,
647647 };
648648
649−static int __devinit sh_dmae_probe(struct platform_device *pdev)
649+static int sh_dmae_probe(struct platform_device *pdev)
650650 {
651651 struct sh_dmae_pdata *pdata = pdev->dev.platform_data;
652652 unsigned long irqflags = IRQF_DISABLED,
@@ -926,7 +926,7 @@ static struct platform_driver sh_dmae_driver = { · 273 unmodified lines
926926 .pm = &sh_dmae_pm,
927927 .name = SH_DMAE_DRV_NAME,
928928 },
929− .remove = __devexit_p(sh_dmae_remove),
929+ .remove = sh_dmae_remove,
930930 .shutdown = sh_dmae_shutdown,
931931 };
932932
drivers/dma/sirf-dma.c+2−2
@@ -550,7 +550,7 @@ bool sirfsoc_dma_filter_id(struct dma_chan *chan, void *chan_id) · 549 unmodified lines
550550 }
551551 EXPORT_SYMBOL(sirfsoc_dma_filter_id);
552552
553−static int __devinit sirfsoc_dma_probe(struct platform_device *op)
553+static int sirfsoc_dma_probe(struct platform_device *op)
554554 {
555555 struct device_node *dn = op->dev.of_node;
556556 struct device *dev = &op->dev;
@@ -673,7 +673,7 @@ static struct of_device_id sirfsoc_dma_match[] = { · 116 unmodified lines
673673
674674 static struct platform_driver sirfsoc_dma_driver = {
675675 .probe = sirfsoc_dma_probe,
676− .remove = __devexit_p(sirfsoc_dma_remove),
676+ .remove = sirfsoc_dma_remove,
677677 .driver = {
678678 .name = DRV_NAME,
679679 .owner = THIS_MODULE,
drivers/dma/tegra20-apb-dma.c+2−2
@@ -1197,7 +1197,7 @@ static const struct of_device_id tegra_dma_of_match[] __devinitconst = { · 1196 unmodified lines
11971197 MODULE_DEVICE_TABLE(of, tegra_dma_of_match);
11981198 #endif
11991199
1200−static int __devinit tegra_dma_probe(struct platform_device *pdev)
1200+static int tegra_dma_probe(struct platform_device *pdev)
12011201 {
12021202 struct resource *res;
12031203 struct tegra_dma *tdma;
@@ -1418,7 +1418,7 @@ static struct platform_driver tegra_dmac_driver = { · 214 unmodified lines
14181418 .of_match_table = of_match_ptr(tegra_dma_of_match),
14191419 },
14201420 .probe = tegra_dma_probe,
1421− .remove = __devexit_p(tegra_dma_remove),
1421+ .remove = tegra_dma_remove,
14221422 };
14231423
14241424 module_platform_driver(tegra_dmac_driver);
drivers/dma/timb_dma.c+1−1
@@ -667,7 +667,7 @@ static irqreturn_t td_irq(int irq, void *devid) · 666 unmodified lines
667667 }
668668
669669
670−static int __devinit td_probe(struct platform_device *pdev)
670+static int td_probe(struct platform_device *pdev)
671671 {
672672 struct timb_dma_platform_data *pdata = pdev->dev.platform_data;
673673 struct timb_dma *td;
drivers/firewire/nosy.c+2−2
@@ -529,7 +529,7 @@ remove_card(struct pci_dev *dev) · 528 unmodified lines
529529
530530 #define RCV_BUFFER_SIZE (16 * 1024)
531531
532−static int __devinit
532+static int
533533 add_card(struct pci_dev *dev, const struct pci_device_id *unused)
534534 {
535535 struct pcilynx *lynx;
@@ -683,7 +683,7 @@ fail_disable: · 147 unmodified lines
683683 return ret;
684684 }
685685
686−static struct pci_device_id pci_table[] __devinitdata = {
686+static struct pci_device_id pci_table[] = {
687687 {
688688 .vendor = PCI_VENDOR_ID_TI,
689689 .device = PCI_DEVICE_ID_TI_PCILYNX,
drivers/firewire/ohci.c+1−1
@@ -3537,7 +3537,7 @@ static inline void pmac_ohci_on(struct pci_dev *dev) {} · 3536 unmodified lines
35373537 static inline void pmac_ohci_off(struct pci_dev *dev) {}
35383538 #endif /* CONFIG_PPC_PMAC */
35393539
3540−static int __devinit pci_probe(struct pci_dev *dev,
3540+static int pci_probe(struct pci_dev *dev,
35413541 const struct pci_device_id *ent)
35423542 {
35433543 struct fw_ohci *ohci;
drivers/gpio/gpio-74x164.c+3−3
@@ -105,7 +105,7 @@ static int gen_74x164_direction_output(struct gpio_chip *gc, · 104 unmodified lines
105105 return 0;
106106 }
107107
108−static int __devinit gen_74x164_probe(struct spi_device *spi)
108+static int gen_74x164_probe(struct spi_device *spi)
109109 {
110110 struct gen_74x164_chip *chip;
111111 struct gen_74x164_chip_platform_data *pdata;
@@ -181,7 +181,7 @@ exit_destroy: · 69 unmodified lines
181181 return ret;
182182 }
183183
184−static int __devexit gen_74x164_remove(struct spi_device *spi)
184+static int gen_74x164_remove(struct spi_device *spi)
185185 {
186186 struct gen_74x164_chip *chip;
187187 int ret;
@@ -215,7 +215,7 @@ static struct spi_driver gen_74x164_driver = { · 27 unmodified lines
215215 .of_match_table = of_match_ptr(gen_74x164_dt_ids),
216216 },
217217 .probe = gen_74x164_probe,
218− .remove = __devexit_p(gen_74x164_remove),
218+ .remove = gen_74x164_remove,
219219 };
220220 module_spi_driver(gen_74x164_driver);
221221
drivers/gpio/gpio-ab8500.c+3−3
@@ -402,7 +402,7 @@ static void ab8500_gpio_irq_remove(struct ab8500_gpio *ab8500_gpio) · 401 unmodified lines
402402 }
403403 }
404404
405−static int __devinit ab8500_gpio_probe(struct platform_device *pdev)
405+static int ab8500_gpio_probe(struct platform_device *pdev)
406406 {
407407 struct ab8500_platform_data *ab8500_pdata =
408408 dev_get_platdata(pdev->dev.parent);
@@ -474,7 +474,7 @@ out_free: · 65 unmodified lines
474474 * ab8500_gpio_remove() - remove Ab8500-gpio driver
475475 * @pdev : Platform device registered
476476 */
477−static int __devexit ab8500_gpio_remove(struct platform_device *pdev)
477+static int ab8500_gpio_remove(struct platform_device *pdev)
478478 {
479479 struct ab8500_gpio *ab8500_gpio = platform_get_drvdata(pdev);
480480 int ret;
@@ -499,7 +499,7 @@ static struct platform_driver ab8500_gpio_driver = { · 18 unmodified lines
499499 .owner = THIS_MODULE,
500500 },
501501 .probe = ab8500_gpio_probe,
502− .remove = __devexit_p(ab8500_gpio_remove),
502+ .remove = ab8500_gpio_remove,
503503 };
504504
505505 static int __init ab8500_gpio_init(void)
drivers/gpio/gpio-adnp.c+5−5
@@ -516,7 +516,7 @@ static void adnp_irq_teardown(struct adnp *adnp) · 515 unmodified lines
516516 irq_domain_remove(adnp->domain);
517517 }
518518
519−static __devinit int adnp_i2c_probe(struct i2c_client *client,
519+static int adnp_i2c_probe(struct i2c_client *client,
520520 const struct i2c_device_id *id)
521521 {
522522 struct device_node *np = client->dev.of_node;
@@ -563,7 +563,7 @@ teardown: · 40 unmodified lines
563563 return err;
564564 }
565565
566−static __devexit int adnp_i2c_remove(struct i2c_client *client)
566+static int adnp_i2c_remove(struct i2c_client *client)
567567 {
568568 struct adnp *adnp = i2c_get_clientdata(client);
569569 struct device_node *np = client->dev.of_node;
@@ -582,13 +582,13 @@ static __devexit int adnp_i2c_remove(struct i2c_client *client) · 12 unmodified lines
582582 return 0;
583583 }
584584
585−static const struct i2c_device_id adnp_i2c_id[] __devinitconst = {
585+static const struct i2c_device_id adnp_i2c_id[] = {
586586 { "gpio-adnp" },
587587 { },
588588 };
589589 MODULE_DEVICE_TABLE(i2c, adnp_i2c_id);
590590
591−static const struct of_device_id adnp_of_match[] __devinitconst = {
591+static const struct of_device_id adnp_of_match[] = {
592592 { .compatible = "ad,gpio-adnp", },
593593 { },
594594 };
@@ -601,7 +601,7 @@ static struct i2c_driver adnp_i2c_driver = { · 6 unmodified lines
601601 .of_match_table = of_match_ptr(adnp_of_match),
602602 },
603603 .probe = adnp_i2c_probe,
604− .remove = __devexit_p(adnp_i2c_remove),
604+ .remove = adnp_i2c_remove,
605605 .id_table = adnp_i2c_id,
606606 };
607607 module_i2c_driver(adnp_i2c_driver);
drivers/gpio/gpio-adp5520.c+3−3
@@ -87,7 +87,7 @@ static int adp5520_gpio_direction_output(struct gpio_chip *chip, · 86 unmodified lines
8787 return ret;
8888 }
8989
90−static int __devinit adp5520_gpio_probe(struct platform_device *pdev)
90+static int adp5520_gpio_probe(struct platform_device *pdev)
9191 {
9292 struct adp5520_gpio_platform_data *pdata = pdev->dev.platform_data;
9393 struct adp5520_gpio *dev;
@@ -167,7 +167,7 @@ err: · 73 unmodified lines
167167 return ret;
168168 }
169169
170−static int __devexit adp5520_gpio_remove(struct platform_device *pdev)
170+static int adp5520_gpio_remove(struct platform_device *pdev)
171171 {
172172 struct adp5520_gpio *dev;
173173 int ret;
@@ -190,7 +190,7 @@ static struct platform_driver adp5520_gpio_driver = { · 16 unmodified lines
190190 .owner = THIS_MODULE,
191191 },
192192 .probe = adp5520_gpio_probe,
193− .remove = __devexit_p(adp5520_gpio_remove),
193+ .remove = adp5520_gpio_remove,
194194 };
195195
196196 module_platform_driver(adp5520_gpio_driver);
drivers/gpio/gpio-adp5588.c+3−3
@@ -346,7 +346,7 @@ static void adp5588_irq_teardown(struct adp5588_gpio *dev) · 345 unmodified lines
346346 }
347347 #endif /* CONFIG_GPIO_ADP5588_IRQ */
348348
349−static int __devinit adp5588_gpio_probe(struct i2c_client *client,
349+static int adp5588_gpio_probe(struct i2c_client *client,
350350 const struct i2c_device_id *id)
351351 {
352352 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data;
@@ -438,7 +438,7 @@ err: · 85 unmodified lines
438438 return ret;
439439 }
440440
441−static int __devexit adp5588_gpio_remove(struct i2c_client *client)
441+static int adp5588_gpio_remove(struct i2c_client *client)
442442 {
443443 struct adp5588_gpio_platform_data *pdata = client->dev.platform_data;
444444 struct adp5588_gpio *dev = i2c_get_clientdata(client);
@@ -479,7 +479,7 @@ static struct i2c_driver adp5588_gpio_driver = { · 34 unmodified lines
479479 .name = DRV_NAME,
480480 },
481481 .probe = adp5588_gpio_probe,
482− .remove = __devexit_p(adp5588_gpio_remove),
482+ .remove = adp5588_gpio_remove,
483483 .id_table = adp5588_gpio_id,
484484 };
485485
drivers/gpio/gpio-arizona.c+3−3
@@ -94,7 +94,7 @@ static struct gpio_chip template_chip = { · 93 unmodified lines
9494 .can_sleep = 1,
9595 };
9696
97−static int __devinit arizona_gpio_probe(struct platform_device *pdev)
97+static int arizona_gpio_probe(struct platform_device *pdev)
9898 {
9999 struct arizona *arizona = dev_get_drvdata(pdev->dev.parent);
100100 struct arizona_pdata *pdata = arizona->dev->platform_data;
@@ -141,7 +141,7 @@ err: · 40 unmodified lines
141141 return ret;
142142 }
143143
144−static int __devexit arizona_gpio_remove(struct platform_device *pdev)
144+static int arizona_gpio_remove(struct platform_device *pdev)
145145 {
146146 struct arizona_gpio *arizona_gpio = platform_get_drvdata(pdev);
147147
@@ -152,7 +152,7 @@ static struct platform_driver arizona_gpio_driver = { · 4 unmodified lines
152152 .driver.name = "arizona-gpio",
153153 .driver.owner = THIS_MODULE,
154154 .probe = arizona_gpio_probe,
155− .remove = __devexit_p(arizona_gpio_remove),
155+ .remove = arizona_gpio_remove,
156156 };
157157
158158 module_platform_driver(arizona_gpio_driver);
drivers/gpio/gpio-cs5535.c+3−3
@@ -300,7 +300,7 @@ static struct cs5535_gpio_chip cs5535_gpio_chip = { · 299 unmodified lines
300300 },
301301 };
302302
303−static int __devinit cs5535_gpio_probe(struct platform_device *pdev)
303+static int cs5535_gpio_probe(struct platform_device *pdev)
304304 {
305305 struct resource *res;
306306 int err = -EIO;
@@ -355,7 +355,7 @@ done: · 48 unmodified lines
355355 return err;
356356 }
357357
358−static int __devexit cs5535_gpio_remove(struct platform_device *pdev)
358+static int cs5535_gpio_remove(struct platform_device *pdev)
359359 {
360360 struct resource *r;
361361 int err;
@@ -378,7 +378,7 @@ static struct platform_driver cs5535_gpio_driver = { · 16 unmodified lines
378378 .owner = THIS_MODULE,
379379 },
380380 .probe = cs5535_gpio_probe,
381− .remove = __devexit_p(cs5535_gpio_remove),
381+ .remove = cs5535_gpio_remove,
382382 };
383383
384384 module_platform_driver(cs5535_gpio_driver);
drivers/gpio/gpio-da9052.c+4−4
@@ -188,7 +188,7 @@ static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset) · 187 unmodified lines
188188 return da9052->irq_base + DA9052_IRQ_GPI0 + offset;
189189 }
190190
191−static struct gpio_chip reference_gp __devinitdata = {
191+static struct gpio_chip reference_gp = {
192192 .label = "da9052-gpio",
193193 .owner = THIS_MODULE,
194194 .get = da9052_gpio_get,
@@ -201,7 +201,7 @@ static struct gpio_chip reference_gp __devinitdata = { · 6 unmodified lines
201201 .base = -1,
202202 };
203203
204−static int __devinit da9052_gpio_probe(struct platform_device *pdev)
204+static int da9052_gpio_probe(struct platform_device *pdev)
205205 {
206206 struct da9052_gpio *gpio;
207207 struct da9052_pdata *pdata;
@@ -229,7 +229,7 @@ static int __devinit da9052_gpio_probe(struct platform_device *pdev) · 21 unmodified lines
229229 return 0;
230230 }
231231
232−static int __devexit da9052_gpio_remove(struct platform_device *pdev)
232+static int da9052_gpio_remove(struct platform_device *pdev)
233233 {
234234 struct da9052_gpio *gpio = platform_get_drvdata(pdev);
235235
@@ -238,7 +238,7 @@ static int __devexit da9052_gpio_remove(struct platform_device *pdev) · 2 unmodified lines
238238
239239 static struct platform_driver da9052_gpio_driver = {
240240 .probe = da9052_gpio_probe,
241− .remove = __devexit_p(da9052_gpio_remove),
241+ .remove = da9052_gpio_remove,
242242 .driver = {
243243 .name = "da9052-gpio",
244244 .owner = THIS_MODULE,
drivers/gpio/gpio-em.c+3−3
@@ -233,7 +233,7 @@ static struct irq_domain_ops em_gio_irq_domain_ops = { · 232 unmodified lines
233233 .map = em_gio_irq_domain_map,
234234 };
235235
236−static int __devinit em_gio_probe(struct platform_device *pdev)
236+static int em_gio_probe(struct platform_device *pdev)
237237 {
238238 struct gpio_em_config *pdata = pdev->dev.platform_data;
239239 struct em_gio_priv *p;
@@ -343,7 +343,7 @@ err0: · 103 unmodified lines
343343 return ret;
344344 }
345345
346−static int __devexit em_gio_remove(struct platform_device *pdev)
346+static int em_gio_remove(struct platform_device *pdev)
347347 {
348348 struct em_gio_priv *p = platform_get_drvdata(pdev);
349349 struct resource *irq[2];
@@ -367,7 +367,7 @@ static int __devexit em_gio_remove(struct platform_device *pdev) · 17 unmodified lines
367367
368368 static struct platform_driver em_gio_device_driver = {
369369 .probe = em_gio_probe,
370− .remove = __devexit_p(em_gio_remove),
370+ .remove = em_gio_remove,
371371 .driver = {
372372 .name = "em_gio",
373373 }
drivers/gpio/gpio-ep93xx.c+1−1
@@ -340,7 +340,7 @@ static int ep93xx_gpio_add_bank(struct bgpio_chip *bgc, struct device *dev, · 339 unmodified lines
340340 return gpiochip_add(&bgc->gc);
341341 }
342342
343−static int __devinit ep93xx_gpio_probe(struct platform_device *pdev)
343+static int ep93xx_gpio_probe(struct platform_device *pdev)
344344 {
345345 struct ep93xx_gpio *ep93xx_gpio;
346346 struct resource *res;
drivers/gpio/gpio-generic.c+3−3
@@ -444,7 +444,7 @@ static void __iomem *bgpio_map(struct platform_device *pdev, · 443 unmodified lines
444444 return ret;
445445 }
446446
447−static int __devinit bgpio_pdev_probe(struct platform_device *pdev)
447+static int bgpio_pdev_probe(struct platform_device *pdev)
448448 {
449449 struct device *dev = &pdev->dev;
450450 struct resource *r;
@@ -507,7 +507,7 @@ static int __devinit bgpio_pdev_probe(struct platform_device *pdev) · 56 unmodified lines
507507 return gpiochip_add(&bgc->gc);
508508 }
509509
510−static int __devexit bgpio_pdev_remove(struct platform_device *pdev)
510+static int bgpio_pdev_remove(struct platform_device *pdev)
511511 {
512512 struct bgpio_chip *bgc = platform_get_drvdata(pdev);
513513
@@ -527,7 +527,7 @@ static struct platform_driver bgpio_driver = { · 13 unmodified lines
527527 },
528528 .id_table = bgpio_id_table,
529529 .probe = bgpio_pdev_probe,
530− .remove = __devexit_p(bgpio_pdev_remove),
530+ .remove = bgpio_pdev_remove,
531531 };
532532
533533 module_platform_driver(bgpio_driver);
drivers/gpio/gpio-ich.c+5−5
@@ -238,7 +238,7 @@ static void ichx_gpio_set(struct gpio_chip *chip, unsigned nr, int val) · 237 unmodified lines
238238 ichx_write_bit(GPIO_LVL, nr, val, 0);
239239 }
240240
241−static void __devinit ichx_gpiolib_setup(struct gpio_chip *chip)
241+static void ichx_gpiolib_setup(struct gpio_chip *chip)
242242 {
243243 chip->owner = THIS_MODULE;
244244 chip->label = DRV_NAME;
@@ -313,7 +313,7 @@ static struct ichx_desc intel5_desc = { · 68 unmodified lines
313313 .ngpio = 76,
314314 };
315315
316−static int __devinit ichx_gpio_request_regions(struct resource *res_base,
316+static int ichx_gpio_request_regions(struct resource *res_base,
317317 const char *name, u8 use_gpio)
318318 {
319319 int i;
@@ -353,7 +353,7 @@ static void ichx_gpio_release_regions(struct resource *res_base, u8 use_gpio) · 33 unmodified lines
353353 }
354354 }
355355
356−static int __devinit ichx_gpio_probe(struct platform_device *pdev)
356+static int ichx_gpio_probe(struct platform_device *pdev)
357357 {
358358 struct resource *res_base, *res_pm;
359359 int err;
@@ -442,7 +442,7 @@ add_err: · 82 unmodified lines
442442 return err;
443443 }
444444
445−static int __devexit ichx_gpio_remove(struct platform_device *pdev)
445+static int ichx_gpio_remove(struct platform_device *pdev)
446446 {
447447 int err;
448448
@@ -467,7 +467,7 @@ static struct platform_driver ichx_gpio_driver = { · 18 unmodified lines
467467 .name = DRV_NAME,
468468 },
469469 .probe = ichx_gpio_probe,
470− .remove = __devexit_p(ichx_gpio_remove),
470+ .remove = ichx_gpio_remove,
471471 };
472472
473473 module_platform_driver(ichx_gpio_driver);
drivers/gpio/gpio-janz-ttl.c+5−5
@@ -108,13 +108,13 @@ static void ttl_set_value(struct gpio_chip *gpio, unsigned offset, int value) · 107 unmodified lines
108108 spin_unlock(&mod->lock);
109109 }
110110
111−static void __devinit ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val)
111+static void ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val)
112112 {
113113 iowrite16be(reg, &mod->regs->control);
114114 iowrite16be(val, &mod->regs->control);
115115 }
116116
117−static void __devinit ttl_setup_device(struct ttl_module *mod)
117+static void ttl_setup_device(struct ttl_module *mod)
118118 {
119119 /* reset the device to a known state */
120120 iowrite16be(0x0000, &mod->regs->control);
@@ -140,7 +140,7 @@ static void __devinit ttl_setup_device(struct ttl_module *mod) · 19 unmodified lines
140140 ttl_write_reg(mod, MASTER_CONF_CTL, CONF_PAE | CONF_PBE | CONF_PCE);
141141 }
142142
143−static int __devinit ttl_probe(struct platform_device *pdev)
143+static int ttl_probe(struct platform_device *pdev)
144144 {
145145 struct janz_platform_data *pdata;
146146 struct device *dev = &pdev->dev;
@@ -211,7 +211,7 @@ out_return: · 64 unmodified lines
211211 return ret;
212212 }
213213
214−static int __devexit ttl_remove(struct platform_device *pdev)
214+static int ttl_remove(struct platform_device *pdev)
215215 {
216216 struct ttl_module *mod = platform_get_drvdata(pdev);
217217 struct device *dev = &pdev->dev;
@@ -234,7 +234,7 @@ static struct platform_driver ttl_driver = { · 16 unmodified lines
234234 .owner = THIS_MODULE,
235235 },
236236 .probe = ttl_probe,
237− .remove = __devexit_p(ttl_remove),
237+ .remove = ttl_remove,
238238 };
239239
240240 module_platform_driver(ttl_driver);
drivers/gpio/gpio-langwell.c+4−4
@@ -332,7 +332,7 @@ static const struct dev_pm_ops lnw_gpio_pm_ops = { · 331 unmodified lines
332332 .runtime_idle = lnw_gpio_runtime_idle,
333333 };
334334
335−static int __devinit lnw_gpio_probe(struct pci_dev *pdev,
335+static int lnw_gpio_probe(struct pci_dev *pdev,
336336 const struct pci_device_id *id)
337337 {
338338 void *base;
@@ -435,7 +435,7 @@ static struct pci_driver lnw_gpio_driver = { · 96 unmodified lines
435435 };
436436
437437
438−static int __devinit wp_gpio_probe(struct platform_device *pdev)
438+static int wp_gpio_probe(struct platform_device *pdev)
439439 {
440440 struct lnw_gpio *lnw;
441441 struct gpio_chip *gc;
@@ -484,7 +484,7 @@ err_kmalloc: · 42 unmodified lines
484484 return retval;
485485 }
486486
487−static int __devexit wp_gpio_remove(struct platform_device *pdev)
487+static int wp_gpio_remove(struct platform_device *pdev)
488488 {
489489 struct lnw_gpio *lnw = platform_get_drvdata(pdev);
490490 int err;
@@ -499,7 +499,7 @@ static int __devexit wp_gpio_remove(struct platform_device *pdev) · 8 unmodified lines
499499
500500 static struct platform_driver wp_gpio_driver = {
501501 .probe = wp_gpio_probe,
502− .remove = __devexit_p(wp_gpio_remove),
502+ .remove = wp_gpio_remove,
503503 .driver = {
504504 .name = "wp_gpio",
505505 .owner = THIS_MODULE,
drivers/gpio/gpio-lpc32xx.c+2−2
@@ -542,7 +542,7 @@ static int lpc32xx_of_xlate(struct gpio_chip *gc, · 541 unmodified lines
542542 return gpiospec->args[1];
543543 }
544544
545−static int __devinit lpc32xx_gpio_probe(struct platform_device *pdev)
545+static int lpc32xx_gpio_probe(struct platform_device *pdev)
546546 {
547547 int i;
548548
@@ -559,7 +559,7 @@ static int __devinit lpc32xx_gpio_probe(struct platform_device *pdev) · 10 unmodified lines
559559 }
560560
561561 #ifdef CONFIG_OF
562−static struct of_device_id lpc32xx_gpio_of_match[] __devinitdata = {
562+static struct of_device_id lpc32xx_gpio_of_match[] = {
563563 { .compatible = "nxp,lpc3220-gpio", },
564564 { },
565565 };
drivers/gpio/gpio-max7300.c+3−3
@@ -31,7 +31,7 @@ static int max7300_i2c_read(struct device *dev, unsigned int reg) · 30 unmodified lines
3131 return i2c_smbus_read_byte_data(client, reg);
3232 }
3333
34−static int __devinit max7300_probe(struct i2c_client *client,
34+static int max7300_probe(struct i2c_client *client,
3535 const struct i2c_device_id *id)
3636 {
3737 struct max7301 *ts;
@@ -55,7 +55,7 @@ static int __devinit max7300_probe(struct i2c_client *client, · 17 unmodified lines
5555 return ret;
5656 }
5757
58−static int __devexit max7300_remove(struct i2c_client *client)
58+static int max7300_remove(struct i2c_client *client)
5959 {
6060 return __max730x_remove(&client->dev);
6161 }
@@ -72,7 +72,7 @@ static struct i2c_driver max7300_driver = { · 10 unmodified lines
7272 .owner = THIS_MODULE,
7373 },
7474 .probe = max7300_probe,
75− .remove = __devexit_p(max7300_remove),
75+ .remove = max7300_remove,
7676 .id_table = max7300_id,
7777 };
7878
drivers/gpio/gpio-max7301.c+3−3
@@ -50,7 +50,7 @@ static int max7301_spi_read(struct device *dev, unsigned int reg) · 49 unmodified lines
5050 return word & 0xff;
5151 }
5252
53−static int __devinit max7301_probe(struct spi_device *spi)
53+static int max7301_probe(struct spi_device *spi)
5454 {
5555 struct max7301 *ts;
5656 int ret;
@@ -75,7 +75,7 @@ static int __devinit max7301_probe(struct spi_device *spi) · 18 unmodified lines
7575 return ret;
7676 }
7777
78−static int __devexit max7301_remove(struct spi_device *spi)
78+static int max7301_remove(struct spi_device *spi)
7979 {
8080 return __max730x_remove(&spi->dev);
8181 }
@@ -92,7 +92,7 @@ static struct spi_driver max7301_driver = { · 10 unmodified lines
9292 .owner = THIS_MODULE,
9393 },
9494 .probe = max7301_probe,
95− .remove = __devexit_p(max7301_remove),
95+ .remove = max7301_remove,
9696 .id_table = max7301_id,
9797 };
9898
drivers/gpio/gpio-max730x.c+2−2
@@ -160,7 +160,7 @@ static void max7301_set(struct gpio_chip *chip, unsigned offset, int value) · 159 unmodified lines
160160 mutex_unlock(&ts->lock);
161161 }
162162
163−int __devinit __max730x_probe(struct max7301 *ts)
163+int __max730x_probe(struct max7301 *ts)
164164 {
165165 struct device *dev = ts->dev;
166166 struct max7301_platform_data *pdata;
@@ -226,7 +226,7 @@ exit_destroy: · 59 unmodified lines
226226 }
227227 EXPORT_SYMBOL_GPL(__max730x_probe);
228228
229−int __devexit __max730x_remove(struct device *dev)
229+int __max730x_remove(struct device *dev)
230230 {
231231 struct max7301 *ts = dev_get_drvdata(dev);
232232 int ret;
drivers/gpio/gpio-max732x.c+4−4
@@ -526,7 +526,7 @@ static void max732x_irq_teardown(struct max732x_chip *chip) · 525 unmodified lines
526526 }
527527 #endif
528528
529−static int __devinit max732x_setup_gpio(struct max732x_chip *chip,
529+static int max732x_setup_gpio(struct max732x_chip *chip,
530530 const struct i2c_device_id *id,
531531 unsigned gpio_start)
532532 {
@@ -574,7 +574,7 @@ static int __devinit max732x_setup_gpio(struct max732x_chip *chip, · 41 unmodified lines
574574 return port;
575575 }
576576
577−static int __devinit max732x_probe(struct i2c_client *client,
577+static int max732x_probe(struct i2c_client *client,
578578 const struct i2c_device_id *id)
579579 {
580580 struct max732x_platform_data *pdata;
@@ -651,7 +651,7 @@ out_failed: · 70 unmodified lines
651651 return ret;
652652 }
653653
654−static int __devexit max732x_remove(struct i2c_client *client)
654+static int max732x_remove(struct i2c_client *client)
655655 {
656656 struct max732x_platform_data *pdata = client->dev.platform_data;
657657 struct max732x_chip *chip = i2c_get_clientdata(client);
@@ -690,7 +690,7 @@ static struct i2c_driver max732x_driver = { · 32 unmodified lines
690690 .owner = THIS_MODULE,
691691 },
692692 .probe = max732x_probe,
693− .remove = __devexit_p(max732x_remove),
693+ .remove = max732x_remove,
694694 .id_table = max732x_id,
695695 };
696696
drivers/gpio/gpio-mc33880.c+3−3
@@ -80,7 +80,7 @@ static void mc33880_set(struct gpio_chip *chip, unsigned offset, int value) · 79 unmodified lines
8080 mutex_unlock(&mc->lock);
8181 }
8282
83−static int __devinit mc33880_probe(struct spi_device *spi)
83+static int mc33880_probe(struct spi_device *spi)
8484 {
8585 struct mc33880 *mc;
8686 struct mc33880_platform_data *pdata;
@@ -147,7 +147,7 @@ exit_destroy: · 60 unmodified lines
147147 return ret;
148148 }
149149
150−static int __devexit mc33880_remove(struct spi_device *spi)
150+static int mc33880_remove(struct spi_device *spi)
151151 {
152152 struct mc33880 *mc;
153153 int ret;
@@ -175,7 +175,7 @@ static struct spi_driver mc33880_driver = { · 21 unmodified lines
175175 .owner = THIS_MODULE,
176176 },
177177 .probe = mc33880_probe,
178− .remove = __devexit_p(mc33880_remove),
178+ .remove = mc33880_remove,
179179 };
180180
181181 static int __init mc33880_init(void)
drivers/gpio/gpio-mcp23s08.c+3−3
@@ -475,7 +475,7 @@ fail: · 474 unmodified lines
475475
476476 #if IS_ENABLED(CONFIG_I2C)
477477
478−static int __devinit mcp230xx_probe(struct i2c_client *client,
478+static int mcp230xx_probe(struct i2c_client *client,
479479 const struct i2c_device_id *id)
480480 {
481481 struct mcp23s08_platform_data *pdata;
@@ -508,7 +508,7 @@ fail: · 26 unmodified lines
508508 return status;
509509 }
510510
511−static int __devexit mcp230xx_remove(struct i2c_client *client)
511+static int mcp230xx_remove(struct i2c_client *client)
512512 {
513513 struct mcp23s08 *mcp = i2c_get_clientdata(client);
514514 int status;
@@ -533,7 +533,7 @@ static struct i2c_driver mcp230xx_driver = { · 18 unmodified lines
533533 .owner = THIS_MODULE,
534534 },
535535 .probe = mcp230xx_probe,
536− .remove = __devexit_p(mcp230xx_remove),
536+ .remove = mcp230xx_remove,
537537 .id_table = mcp230xx_id,
538538 };
539539
drivers/gpio/gpio-ml-ioh.c+4−4
@@ -385,7 +385,7 @@ static irqreturn_t ioh_gpio_handler(int irq, void *dev_id) · 384 unmodified lines
385385 return ret;
386386 }
387387
388−static __devinit void ioh_gpio_alloc_generic_chip(struct ioh_gpio *chip,
388+static void ioh_gpio_alloc_generic_chip(struct ioh_gpio *chip,
389389 unsigned int irq_start, unsigned int num)
390390 {
391391 struct irq_chip_generic *gc;
@@ -406,7 +406,7 @@ static __devinit void ioh_gpio_alloc_generic_chip(struct ioh_gpio *chip, · 14 unmodified lines
406406 IRQ_NOREQUEST | IRQ_NOPROBE, 0);
407407 }
408408
409−static int __devinit ioh_gpio_probe(struct pci_dev *pdev,
409+static int ioh_gpio_probe(struct pci_dev *pdev,
410410 const struct pci_device_id *id)
411411 {
412412 int ret;
@@ -517,7 +517,7 @@ err_pci_enable: · 104 unmodified lines
517517 return ret;
518518 }
519519
520−static void __devexit ioh_gpio_remove(struct pci_dev *pdev)
520+static void ioh_gpio_remove(struct pci_dev *pdev)
521521 {
522522 int err;
523523 int i;
@@ -606,7 +606,7 @@ static struct pci_driver ioh_gpio_driver = { · 82 unmodified lines
606606 .name = "ml_ioh_gpio",
607607 .id_table = ioh_gpio_pcidev_id,
608608 .probe = ioh_gpio_probe,
609− .remove = __devexit_p(ioh_gpio_remove),
609+ .remove = ioh_gpio_remove,
610610 .suspend = ioh_gpio_suspend,
611611 .resume = ioh_gpio_resume
612612 };
drivers/gpio/gpio-mpc5200.c+2−2
@@ -148,7 +148,7 @@ mpc52xx_wkup_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) · 147 unmodified lines
148148 return 0;
149149 }
150150
151−static int __devinit mpc52xx_wkup_gpiochip_probe(struct platform_device *ofdev)
151+static int mpc52xx_wkup_gpiochip_probe(struct platform_device *ofdev)
152152 {
153153 struct mpc52xx_gpiochip *chip;
154154 struct mpc52xx_gpio_wkup __iomem *regs;
@@ -308,7 +308,7 @@ mpc52xx_simple_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) · 153 unmodified lines
308308 return 0;
309309 }
310310
311−static int __devinit mpc52xx_simple_gpiochip_probe(struct platform_device *ofdev)
311+static int mpc52xx_simple_gpiochip_probe(struct platform_device *ofdev)
312312 {
313313 struct mpc52xx_gpiochip *chip;
314314 struct gpio_chip *gc;
drivers/gpio/gpio-msic.c+1−1
@@ -256,7 +256,7 @@ static void msic_gpio_irq_handler(unsigned irq, struct irq_desc *desc) · 255 unmodified lines
256256 chip->irq_eoi(data);
257257 }
258258
259−static int __devinit platform_msic_gpio_probe(struct platform_device *pdev)
259+static int platform_msic_gpio_probe(struct platform_device *pdev)
260260 {
261261 struct device *dev = &pdev->dev;
262262 struct intel_msic_gpio_pdata *pdata = dev->platform_data;
drivers/gpio/gpio-msm-v2.c+3−3
@@ -352,7 +352,7 @@ static struct irq_chip msm_gpio_irq_chip = { · 351 unmodified lines
352352 .irq_set_wake = msm_gpio_irq_set_wake,
353353 };
354354
355−static int __devinit msm_gpio_probe(struct platform_device *dev)
355+static int msm_gpio_probe(struct platform_device *dev)
356356 {
357357 int i, irq, ret;
358358
@@ -376,7 +376,7 @@ static int __devinit msm_gpio_probe(struct platform_device *dev) · 17 unmodified lines
376376 return 0;
377377 }
378378
379−static int __devexit msm_gpio_remove(struct platform_device *dev)
379+static int msm_gpio_remove(struct platform_device *dev)
380380 {
381381 int ret = gpiochip_remove(&msm_gpio.gpio_chip);
382382
@@ -390,7 +390,7 @@ static int __devexit msm_gpio_remove(struct platform_device *dev) · 7 unmodified lines
390390
391391 static struct platform_driver msm_gpio_driver = {
392392 .probe = msm_gpio_probe,
393− .remove = __devexit_p(msm_gpio_remove),
393+ .remove = msm_gpio_remove,
394394 .driver = {
395395 .name = "msmgpio",
396396 .owner = THIS_MODULE,
drivers/gpio/gpio-mvebu.c+2−2
@@ -482,7 +482,7 @@ static struct platform_device_id mvebu_gpio_ids[] = { · 481 unmodified lines
482482 };
483483 MODULE_DEVICE_TABLE(platform, mvebu_gpio_ids);
484484
485−static struct of_device_id mvebu_gpio_of_match[] __devinitdata = {
485+static struct of_device_id mvebu_gpio_of_match[] = {
486486 {
487487 .compatible = "marvell,orion-gpio",
488488 .data = (void*) MVEBU_GPIO_SOC_VARIANT_ORION,
@@ -501,7 +501,7 @@ static struct of_device_id mvebu_gpio_of_match[] __devinitdata = { · 12 unmodified lines
501501 };
502502 MODULE_DEVICE_TABLE(of, mvebu_gpio_of_match);
503503
504−static int __devinit mvebu_gpio_probe(struct platform_device *pdev)
504+static int mvebu_gpio_probe(struct platform_device *pdev)
505505 {
506506 struct mvebu_gpio_chip *mvchip;
507507 const struct of_device_id *match;
drivers/gpio/gpio-mxc.c+2−2
@@ -356,7 +356,7 @@ static void __init mxc_gpio_init_gc(struct mxc_gpio_port *port, int irq_base) · 355 unmodified lines
356356 IRQ_NOREQUEST, 0);
357357 }
358358
359−static void __devinit mxc_gpio_get_hw(struct platform_device *pdev)
359+static void mxc_gpio_get_hw(struct platform_device *pdev)
360360 {
361361 const struct of_device_id *of_id =
362362 of_match_device(mxc_gpio_dt_ids, &pdev->dev);
@@ -395,7 +395,7 @@ static int mxc_gpio_to_irq(struct gpio_chip *gc, unsigned offset) · 32 unmodified lines
395395 return irq_find_mapping(port->domain, offset);
396396 }
397397
398−static int __devinit mxc_gpio_probe(struct platform_device *pdev)
398+static int mxc_gpio_probe(struct platform_device *pdev)
399399 {
400400 struct device_node *np = pdev->dev.of_node;
401401 struct mxc_gpio_port *port;
drivers/gpio/gpio-mxs.c+1−1
@@ -214,7 +214,7 @@ static const struct of_device_id mxs_gpio_dt_ids[] = { · 213 unmodified lines
214214 };
215215 MODULE_DEVICE_TABLE(of, mxs_gpio_dt_ids);
216216
217−static int __devinit mxs_gpio_probe(struct platform_device *pdev)
217+static int mxs_gpio_probe(struct platform_device *pdev)
218218 {
219219 const struct of_device_id *of_id =
220220 of_match_device(mxs_gpio_dt_ids, &pdev->dev);
drivers/gpio/gpio-omap.c+3−3
@@ -1012,7 +1012,7 @@ static void omap_gpio_mod_init(struct gpio_bank *bank) · 1011 unmodified lines
10121012 dev_err(bank->dev, "Could not get gpio dbck\n");
10131013 }
10141014
1015−static __devinit void
1015+static void
10161016 omap_mpuio_alloc_gc(struct gpio_bank *bank, unsigned int irq_start,
10171017 unsigned int num)
10181018 {
@@ -1041,7 +1041,7 @@ omap_mpuio_alloc_gc(struct gpio_bank *bank, unsigned int irq_start, · 22 unmodified lines
10411041 IRQ_NOREQUEST | IRQ_NOPROBE, 0);
10421042 }
10431043
1044−static void __devinit omap_gpio_chip_init(struct gpio_bank *bank)
1044+static void omap_gpio_chip_init(struct gpio_bank *bank)
10451045 {
10461046 int j;
10471047 static int gpio;
@@ -1089,7 +1089,7 @@ static void __devinit omap_gpio_chip_init(struct gpio_bank *bank) · 41 unmodified lines
10891089
10901090 static const struct of_device_id omap_gpio_match[];
10911091
1092−static int __devinit omap_gpio_probe(struct platform_device *pdev)
1092+static int omap_gpio_probe(struct platform_device *pdev)
10931093 {
10941094 struct device *dev = &pdev->dev;
10951095 struct device_node *node = dev->of_node;
drivers/gpio/gpio-pca953x.c+3−3
@@ -616,7 +616,7 @@ pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, u32 *invert) · 615 unmodified lines
616616 }
617617 #endif
618618
619−static int __devinit device_pca953x_init(struct pca953x_chip *chip, u32 invert)
619+static int device_pca953x_init(struct pca953x_chip *chip, u32 invert)
620620 {
621621 int ret;
622622
@@ -635,7 +635,7 @@ out: · 12 unmodified lines
635635 return ret;
636636 }
637637
638−static int __devinit device_pca957x_init(struct pca953x_chip *chip, u32 invert)
638+static int device_pca957x_init(struct pca953x_chip *chip, u32 invert)
639639 {
640640 int ret;
641641 u32 val = 0;
@@ -666,7 +666,7 @@ out: · 24 unmodified lines
666666 return ret;
667667 }
668668
669−static int __devinit pca953x_probe(struct i2c_client *client,
669+static int pca953x_probe(struct i2c_client *client,
670670 const struct i2c_device_id *id)
671671 {
672672 struct pca953x_platform_data *pdata;
drivers/gpio/gpio-pch.c+4−4
@@ -326,7 +326,7 @@ static irqreturn_t pch_gpio_handler(int irq, void *dev_id) · 325 unmodified lines
326326 return ret;
327327 }
328328
329−static __devinit void pch_gpio_alloc_generic_chip(struct pch_gpio *chip,
329+static void pch_gpio_alloc_generic_chip(struct pch_gpio *chip,
330330 unsigned int irq_start, unsigned int num)
331331 {
332332 struct irq_chip_generic *gc;
@@ -346,7 +346,7 @@ static __devinit void pch_gpio_alloc_generic_chip(struct pch_gpio *chip, · 13 unmodified lines
346346 IRQ_NOREQUEST | IRQ_NOPROBE, 0);
347347 }
348348
349−static int __devinit pch_gpio_probe(struct pci_dev *pdev,
349+static int pch_gpio_probe(struct pci_dev *pdev,
350350 const struct pci_device_id *id)
351351 {
352352 s32 ret;
@@ -443,7 +443,7 @@ err_pci_enable: · 90 unmodified lines
443443 return ret;
444444 }
445445
446−static void __devexit pch_gpio_remove(struct pci_dev *pdev)
446+static void pch_gpio_remove(struct pci_dev *pdev)
447447 {
448448 int err;
449449 struct pch_gpio *chip = pci_get_drvdata(pdev);
@@ -532,7 +532,7 @@ static struct pci_driver pch_gpio_driver = { · 82 unmodified lines
532532 .name = "pch_gpio",
533533 .id_table = pch_gpio_pcidev_id,
534534 .probe = pch_gpio_probe,
535− .remove = __devexit_p(pch_gpio_remove),
535+ .remove = pch_gpio_remove,
536536 .suspend = pch_gpio_suspend,
537537 .resume = pch_gpio_resume
538538 };
drivers/gpio/gpio-pxa.c+3−3
@@ -250,7 +250,7 @@ static int pxa_gpio_of_xlate(struct gpio_chip *gc, · 249 unmodified lines
250250 }
251251 #endif
252252
253−static int __devinit pxa_init_gpio_chip(int gpio_end,
253+static int pxa_init_gpio_chip(int gpio_end,
254254 int (*set_wake)(unsigned int, unsigned int))
255255 {
256256 int i, gpio, nbanks = gpio_to_bank(gpio_end) + 1;
@@ -490,7 +490,7 @@ const struct irq_domain_ops pxa_irq_domain_ops = { · 233 unmodified lines
490490 .xlate = irq_domain_xlate_twocell,
491491 };
492492
493−static int __devinit pxa_gpio_probe_dt(struct platform_device *pdev)
493+static int pxa_gpio_probe_dt(struct platform_device *pdev)
494494 {
495495 int ret, nr_banks, nr_gpios;
496496 struct device_node *prev, *next, *np = pdev->dev.of_node;
@@ -537,7 +537,7 @@ err: · 40 unmodified lines
537537 #define pxa_gpio_probe_dt(pdev) (-1)
538538 #endif
539539
540−static int __devinit pxa_gpio_probe(struct platform_device *pdev)
540+static int pxa_gpio_probe(struct platform_device *pdev)
541541 {
542542 struct pxa_gpio_chip *c;
543543 struct resource *res;
drivers/gpio/gpio-rc5t583.c+3−3
@@ -111,7 +111,7 @@ static void rc5t583_gpio_free(struct gpio_chip *gc, unsigned offset) · 110 unmodified lines
111111 rc5t583_set_bits(parent, RC5T583_GPIO_PGSEL, BIT(offset));
112112 }
113113
114−static int __devinit rc5t583_gpio_probe(struct platform_device *pdev)
114+static int rc5t583_gpio_probe(struct platform_device *pdev)
115115 {
116116 struct rc5t583 *rc5t583 = dev_get_drvdata(pdev->dev.parent);
117117 struct rc5t583_platform_data *pdata = dev_get_platdata(rc5t583->dev);
@@ -146,7 +146,7 @@ static int __devinit rc5t583_gpio_probe(struct platform_device *pdev) · 28 unmodified lines
146146 return gpiochip_add(&rc5t583_gpio->gpio_chip);
147147 }
148148
149−static int __devexit rc5t583_gpio_remove(struct platform_device *pdev)
149+static int rc5t583_gpio_remove(struct platform_device *pdev)
150150 {
151151 struct rc5t583_gpio *rc5t583_gpio = platform_get_drvdata(pdev);
152152
@@ -159,7 +159,7 @@ static struct platform_driver rc5t583_gpio_driver = { · 6 unmodified lines
159159 .owner = THIS_MODULE,
160160 },
161161 .probe = rc5t583_gpio_probe,
162− .remove = __devexit_p(rc5t583_gpio_remove),
162+ .remove = rc5t583_gpio_remove,
163163 };
164164
165165 static int __init rc5t583_gpio_init(void)
drivers/gpio/gpio-rdc321x.c+3−3
@@ -128,7 +128,7 @@ static int rdc_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) · 127 unmodified lines
128128 /*
129129 * Cache the initial value of both GPIO data registers
130130 */
131−static int __devinit rdc321x_gpio_probe(struct platform_device *pdev)
131+static int rdc321x_gpio_probe(struct platform_device *pdev)
132132 {
133133 int err;
134134 struct resource *r;
@@ -206,7 +206,7 @@ out_free: · 71 unmodified lines
206206 return err;
207207 }
208208
209−static int __devexit rdc321x_gpio_remove(struct platform_device *pdev)
209+static int rdc321x_gpio_remove(struct platform_device *pdev)
210210 {
211211 int ret;
212212 struct rdc321x_gpio *rdc321x_gpio_dev = platform_get_drvdata(pdev);
@@ -225,7 +225,7 @@ static struct platform_driver rdc321x_gpio_driver = { · 12 unmodified lines
225225 .driver.name = "rdc321x-gpio",
226226 .driver.owner = THIS_MODULE,
227227 .probe = rdc321x_gpio_probe,
228− .remove = __devexit_p(rdc321x_gpio_remove),
228+ .remove = rdc321x_gpio_remove,
229229 };
230230
231231 module_platform_driver(rdc321x_gpio_driver);
drivers/gpio/gpio-sch.c+3−3
@@ -185,7 +185,7 @@ static struct gpio_chip sch_gpio_resume = { · 184 unmodified lines
185185 .set = sch_gpio_resume_set,
186186 };
187187
188−static int __devinit sch_gpio_probe(struct platform_device *pdev)
188+static int sch_gpio_probe(struct platform_device *pdev)
189189 {
190190 struct resource *res;
191191 int err, id;
@@ -271,7 +271,7 @@ err_sch_gpio_core: · 79 unmodified lines
271271 return err;
272272 }
273273
274−static int __devexit sch_gpio_remove(struct platform_device *pdev)
274+static int sch_gpio_remove(struct platform_device *pdev)
275275 {
276276 struct resource *res;
277277 if (gpio_ba) {
@@ -303,7 +303,7 @@ static struct platform_driver sch_gpio_driver = { · 25 unmodified lines
303303 .owner = THIS_MODULE,
304304 },
305305 .probe = sch_gpio_probe,
306− .remove = __devexit_p(sch_gpio_remove),
306+ .remove = sch_gpio_remove,
307307 };
308308
309309 module_platform_driver(sch_gpio_driver);
drivers/gpio/gpio-sodaville.c+2−2
@@ -129,7 +129,7 @@ static struct irq_domain_ops irq_domain_sdv_ops = { · 128 unmodified lines
129129 .xlate = sdv_xlate,
130130 };
131131
132−static __devinit int sdv_register_irqsupport(struct sdv_gpio_chip_data *sd,
132+static int sdv_register_irqsupport(struct sdv_gpio_chip_data *sd,
133133 struct pci_dev *pdev)
134134 {
135135 struct irq_chip_type *ct;
@@ -186,7 +186,7 @@ out_free_desc: · 50 unmodified lines
186186 return ret;
187187 }
188188
189−static int __devinit sdv_gpio_probe(struct pci_dev *pdev,
189+static int sdv_gpio_probe(struct pci_dev *pdev,
190190 const struct pci_device_id *pci_id)
191191 {
192192 struct sdv_gpio_chip_data *sd;
drivers/gpio/gpio-sta2x11.c+2−2
@@ -320,7 +320,7 @@ static irqreturn_t gsta_gpio_handler(int irq, void *dev_id) · 319 unmodified lines
320320 return ret;
321321 }
322322
323−static __devinit void gsta_alloc_irq_chip(struct gsta_gpio *chip)
323+static void gsta_alloc_irq_chip(struct gsta_gpio *chip)
324324 {
325325 struct irq_chip_generic *gc;
326326 struct irq_chip_type *ct;
@@ -353,7 +353,7 @@ static __devinit void gsta_alloc_irq_chip(struct gsta_gpio *chip) · 26 unmodified lines
353353 }
354354
355355 /* The platform device used here is instantiated by the MFD device */
356−static int __devinit gsta_probe(struct platform_device *dev)
356+static int gsta_probe(struct platform_device *dev)
357357 {
358358 int i, err;
359359 struct pci_dev *pdev;
drivers/gpio/gpio-stmpe.c+4−4
@@ -307,7 +307,7 @@ static const struct irq_domain_ops stmpe_gpio_irq_simple_ops = { · 306 unmodified lines
307307 .xlate = irq_domain_xlate_twocell,
308308 };
309309
310−static int __devinit stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio)
310+static int stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio)
311311 {
312312 int base = stmpe_gpio->irq_base;
313313
@@ -322,7 +322,7 @@ static int __devinit stmpe_gpio_irq_init(struct stmpe_gpio *stmpe_gpio) · 8 unmodified lines
322322 return 0;
323323 }
324324
325−static int __devinit stmpe_gpio_probe(struct platform_device *pdev)
325+static int stmpe_gpio_probe(struct platform_device *pdev)
326326 {
327327 struct stmpe *stmpe = dev_get_drvdata(pdev->dev.parent);
328328 struct device_node *np = pdev->dev.of_node;
@@ -401,7 +401,7 @@ out_free: · 72 unmodified lines
401401 return ret;
402402 }
403403
404−static int __devexit stmpe_gpio_remove(struct platform_device *pdev)
404+static int stmpe_gpio_remove(struct platform_device *pdev)
405405 {
406406 struct stmpe_gpio *stmpe_gpio = platform_get_drvdata(pdev);
407407 struct stmpe *stmpe = stmpe_gpio->stmpe;
@@ -434,7 +434,7 @@ static struct platform_driver stmpe_gpio_driver = { · 26 unmodified lines
434434 .driver.name = "stmpe-gpio",
435435 .driver.owner = THIS_MODULE,
436436 .probe = stmpe_gpio_probe,
437− .remove = __devexit_p(stmpe_gpio_remove),
437+ .remove = stmpe_gpio_remove,
438438 };
439439
440440 static int __init stmpe_gpio_init(void)
drivers/gpio/gpio-stp-xway.c+1−1
@@ -197,7 +197,7 @@ static int xway_stp_hw_init(struct xway_stp *chip) · 196 unmodified lines
197197 return 0;
198198 }
199199
200−static int __devinit xway_stp_probe(struct platform_device *pdev)
200+static int xway_stp_probe(struct platform_device *pdev)
201201 {
202202 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
203203 const __be32 *shadow, *groups, *dsl, *phy;
drivers/gpio/gpio-sx150x.c+3−3
@@ -575,7 +575,7 @@ static void sx150x_remove_irq_chip(struct sx150x_chip *chip) · 574 unmodified lines
575575 }
576576 }
577577
578−static int __devinit sx150x_probe(struct i2c_client *client,
578+static int sx150x_probe(struct i2c_client *client,
579579 const struct i2c_device_id *id)
580580 {
581581 static const u32 i2c_funcs = I2C_FUNC_SMBUS_BYTE_DATA |
@@ -622,7 +622,7 @@ probe_fail_pre_gpiochip_add: · 40 unmodified lines
622622 return rc;
623623 }
624624
625−static int __devexit sx150x_remove(struct i2c_client *client)
625+static int sx150x_remove(struct i2c_client *client)
626626 {
627627 struct sx150x_chip *chip;
628628 int rc;
@@ -646,7 +646,7 @@ static struct i2c_driver sx150x_driver = { · 17 unmodified lines
646646 .owner = THIS_MODULE
647647 },
648648 .probe = sx150x_probe,
649− .remove = __devexit_p(sx150x_remove),
649+ .remove = sx150x_remove,
650650 .id_table = sx150x_id,
651651 };
652652
drivers/gpio/gpio-tc3589x.c+3−3
@@ -309,7 +309,7 @@ static int tc3589x_gpio_irq_init(struct tc3589x_gpio *tc3589x_gpio, · 308 unmodified lines
309309 return 0;
310310 }
311311
312−static int __devinit tc3589x_gpio_probe(struct platform_device *pdev)
312+static int tc3589x_gpio_probe(struct platform_device *pdev)
313313 {
314314 struct tc3589x *tc3589x = dev_get_drvdata(pdev->dev.parent);
315315 struct tc3589x_gpio_platform_data *pdata;
@@ -387,7 +387,7 @@ out_free: · 71 unmodified lines
387387 return ret;
388388 }
389389
390−static int __devexit tc3589x_gpio_remove(struct platform_device *pdev)
390+static int tc3589x_gpio_remove(struct platform_device *pdev)
391391 {
392392 struct tc3589x_gpio *tc3589x_gpio = platform_get_drvdata(pdev);
393393 struct tc3589x *tc3589x = tc3589x_gpio->tc3589x;
@@ -417,7 +417,7 @@ static struct platform_driver tc3589x_gpio_driver = { · 23 unmodified lines
417417 .driver.name = "tc3589x-gpio",
418418 .driver.owner = THIS_MODULE,
419419 .probe = tc3589x_gpio_probe,
420− .remove = __devexit_p(tc3589x_gpio_remove),
420+ .remove = tc3589x_gpio_remove,
421421 };
422422
423423 static int __init tc3589x_gpio_init(void)
drivers/gpio/gpio-tegra.c+2−2
@@ -375,7 +375,7 @@ static struct tegra_gpio_soc_config tegra30_gpio_config = { · 374 unmodified lines
375375 .upper_offset = 0x80,
376376 };
377377
378−static struct of_device_id tegra_gpio_of_match[] __devinitdata = {
378+static struct of_device_id tegra_gpio_of_match[] = {
379379 { .compatible = "nvidia,tegra30-gpio", .data = &tegra30_gpio_config },
380380 { .compatible = "nvidia,tegra20-gpio", .data = &tegra20_gpio_config },
381381 { },
@@ -386,7 +386,7 @@ static struct of_device_id tegra_gpio_of_match[] __devinitdata = { · 4 unmodified lines
386386 */
387387 static struct lock_class_key gpio_lock_class;
388388
389−static int __devinit tegra_gpio_probe(struct platform_device *pdev)
389+static int tegra_gpio_probe(struct platform_device *pdev)
390390 {
391391 const struct of_device_id *match;
392392 struct tegra_gpio_soc_config *config;
drivers/gpio/gpio-timberdale.c+2−2
@@ -222,7 +222,7 @@ static struct irq_chip timbgpio_irqchip = { · 221 unmodified lines
222222 .irq_set_type = timbgpio_irq_type,
223223 };
224224
225−static int __devinit timbgpio_probe(struct platform_device *pdev)
225+static int timbgpio_probe(struct platform_device *pdev)
226226 {
227227 int err, i;
228228 struct gpio_chip *gc;
@@ -316,7 +316,7 @@ err_mem: · 87 unmodified lines
316316 return err;
317317 }
318318
319−static int __devexit timbgpio_remove(struct platform_device *pdev)
319+static int timbgpio_remove(struct platform_device *pdev)
320320 {
321321 int err;
322322 struct timbgpio_platform_data *pdata = pdev->dev.platform_data;
drivers/gpio/gpio-tps6586x.c+3−3
@@ -80,7 +80,7 @@ static int tps6586x_gpio_output(struct gpio_chip *gc, unsigned offset, · 79 unmodified lines
8080 val, mask);
8181 }
8282
83−static int __devinit tps6586x_gpio_probe(struct platform_device *pdev)
83+static int tps6586x_gpio_probe(struct platform_device *pdev)
8484 {
8585 struct tps6586x_platform_data *pdata;
8686 struct tps6586x_gpio *tps6586x_gpio;
@@ -126,7 +126,7 @@ static int __devinit tps6586x_gpio_probe(struct platform_device *pdev) · 39 unmodified lines
126126 return ret;
127127 }
128128
129−static int __devexit tps6586x_gpio_remove(struct platform_device *pdev)
129+static int tps6586x_gpio_remove(struct platform_device *pdev)
130130 {
131131 struct tps6586x_gpio *tps6586x_gpio = platform_get_drvdata(pdev);
132132
@@ -137,7 +137,7 @@ static struct platform_driver tps6586x_gpio_driver = { · 4 unmodified lines
137137 .driver.name = "tps6586x-gpio",
138138 .driver.owner = THIS_MODULE,
139139 .probe = tps6586x_gpio_probe,
140− .remove = __devexit_p(tps6586x_gpio_remove),
140+ .remove = tps6586x_gpio_remove,
141141 };
142142
143143 static int __init tps6586x_gpio_init(void)
drivers/gpio/gpio-tps65910.c+3−3
@@ -113,7 +113,7 @@ static struct tps65910_board *tps65910_parse_dt_for_gpio(struct device *dev, · 112 unmodified lines
113113 }
114114 #endif
115115
116−static int __devinit tps65910_gpio_probe(struct platform_device *pdev)
116+static int tps65910_gpio_probe(struct platform_device *pdev)
117117 {
118118 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent);
119119 struct tps65910_board *pdata = dev_get_platdata(tps65910->dev);
@@ -188,7 +188,7 @@ skip_init: · 68 unmodified lines
188188 return ret;
189189 }
190190
191−static int __devexit tps65910_gpio_remove(struct platform_device *pdev)
191+static int tps65910_gpio_remove(struct platform_device *pdev)
192192 {
193193 struct tps65910_gpio *tps65910_gpio = platform_get_drvdata(pdev);
194194
@@ -199,7 +199,7 @@ static struct platform_driver tps65910_gpio_driver = { · 4 unmodified lines
199199 .driver.name = "tps65910-gpio",
200200 .driver.owner = THIS_MODULE,
201201 .probe = tps65910_gpio_probe,
202− .remove = __devexit_p(tps65910_gpio_remove),
202+ .remove = tps65910_gpio_remove,
203203 };
204204
205205 static int __init tps65910_gpio_init(void)
drivers/gpio/gpio-tps65912.c+3−3
@@ -84,7 +84,7 @@ static struct gpio_chip template_chip = { · 83 unmodified lines
8484 .base = -1,
8585 };
8686
87−static int __devinit tps65912_gpio_probe(struct platform_device *pdev)
87+static int tps65912_gpio_probe(struct platform_device *pdev)
8888 {
8989 struct tps65912 *tps65912 = dev_get_drvdata(pdev->dev.parent);
9090 struct tps65912_board *pdata = tps65912->dev->platform_data;
@@ -113,7 +113,7 @@ static int __devinit tps65912_gpio_probe(struct platform_device *pdev) · 22 unmodified lines
113113 return ret;
114114 }
115115
116−static int __devexit tps65912_gpio_remove(struct platform_device *pdev)
116+static int tps65912_gpio_remove(struct platform_device *pdev)
117117 {
118118 struct tps65912_gpio_data *tps65912_gpio = platform_get_drvdata(pdev);
119119
@@ -126,7 +126,7 @@ static struct platform_driver tps65912_gpio_driver = { · 6 unmodified lines
126126 .owner = THIS_MODULE,
127127 },
128128 .probe = tps65912_gpio_probe,
129− .remove = __devexit_p(tps65912_gpio_remove),
129+ .remove = tps65912_gpio_remove,
130130 };
131131
132132 static int __init tps65912_gpio_init(void)
drivers/gpio/gpio-twl4030.c+4−4
@@ -353,7 +353,7 @@ static struct gpio_chip twl_gpiochip = { · 352 unmodified lines
353353
354354 /*----------------------------------------------------------------------*/
355355
356−static int __devinit gpio_twl4030_pulls(u32 ups, u32 downs)
356+static int gpio_twl4030_pulls(u32 ups, u32 downs)
357357 {
358358 u8 message[6];
359359 unsigned i, gpio_bit;
@@ -378,7 +378,7 @@ static int __devinit gpio_twl4030_pulls(u32 ups, u32 downs) · 18 unmodified lines
378378 REG_GPIOPUPDCTR1, 5);
379379 }
380380
381−static int __devinit gpio_twl4030_debounce(u32 debounce, u8 mmc_cd)
381+static int gpio_twl4030_debounce(u32 debounce, u8 mmc_cd)
382382 {
383383 u8 message[4];
384384
@@ -420,7 +420,7 @@ static struct twl4030_gpio_platform_data *of_gpio_twl4030(struct device *dev) · 35 unmodified lines
420420 return omap_twl_info;
421421 }
422422
423−static int __devinit gpio_twl4030_probe(struct platform_device *pdev)
423+static int gpio_twl4030_probe(struct platform_device *pdev)
424424 {
425425 struct twl4030_gpio_platform_data *pdata = pdev->dev.platform_data;
426426 struct device_node *node = pdev->dev.of_node;
@@ -506,7 +506,7 @@ out: · 79 unmodified lines
506506 return ret;
507507 }
508508
509−/* Cannot use __devexit as gpio_twl4030_probe() calls us */
509+/* Cannot use as gpio_twl4030_probe() calls us */
510510 static int gpio_twl4030_remove(struct platform_device *pdev)
511511 {
512512 struct twl4030_gpio_platform_data *pdata = pdev->dev.platform_data;
drivers/gpio/gpio-twl6040.c+2−2
@@ -82,7 +82,7 @@ static struct gpio_chip twl6040gpo_chip = { · 81 unmodified lines
8282
8383 /*----------------------------------------------------------------------*/
8484
85−static int __devinit gpo_twl6040_probe(struct platform_device *pdev)
85+static int gpo_twl6040_probe(struct platform_device *pdev)
8686 {
8787 struct twl6040_gpo_data *pdata = pdev->dev.platform_data;
8888 struct device *twl6040_core_dev = pdev->dev.parent;
@@ -113,7 +113,7 @@ static int __devinit gpo_twl6040_probe(struct platform_device *pdev) · 24 unmodified lines
113113 return ret;
114114 }
115115
116−static int __devexit gpo_twl6040_remove(struct platform_device *pdev)
116+static int gpo_twl6040_remove(struct platform_device *pdev)
117117 {
118118 return gpiochip_remove(&twl6040gpo_chip);
119119 }
drivers/gpio/gpio-vr41xx.c+3−3
@@ -490,7 +490,7 @@ static struct gpio_chip vr41xx_gpio_chip = { · 489 unmodified lines
490490 .to_irq = vr41xx_gpio_to_irq,
491491 };
492492
493−static int __devinit giu_probe(struct platform_device *pdev)
493+static int giu_probe(struct platform_device *pdev)
494494 {
495495 struct resource *res;
496496 unsigned int trigger, i, pin;
@@ -552,7 +552,7 @@ static int __devinit giu_probe(struct platform_device *pdev) · 55 unmodified lines
552552 return cascade_irq(irq, giu_get_irq);
553553 }
554554
555−static int __devexit giu_remove(struct platform_device *pdev)
555+static int giu_remove(struct platform_device *pdev)
556556 {
557557 if (giu_base) {
558558 iounmap(giu_base);
@@ -564,7 +564,7 @@ static int __devexit giu_remove(struct platform_device *pdev) · 5 unmodified lines
564564
565565 static struct platform_driver giu_device_driver = {
566566 .probe = giu_probe,
567− .remove = __devexit_p(giu_remove),
567+ .remove = giu_remove,
568568 .driver = {
569569 .name = "GIU",
570570 .owner = THIS_MODULE,
drivers/gpio/gpio-vt8500.c+1−1
@@ -271,7 +271,7 @@ static struct of_device_id vt8500_gpio_dt_ids[] = { · 270 unmodified lines
271271 { /* Sentinel */ },
272272 };
273273
274−static int __devinit vt8500_gpio_probe(struct platform_device *pdev)
274+static int vt8500_gpio_probe(struct platform_device *pdev)
275275 {
276276 void __iomem *gpio_base;
277277 struct device_node *np;
drivers/gpio/gpio-vx855.c+3−3
@@ -219,7 +219,7 @@ static void vx855gpio_gpio_setup(struct vx855_gpio *vg) · 218 unmodified lines
219219 }
220220
221221 /* This platform device is ordinarily registered by the vx855 mfd driver */
222−static __devinit int vx855gpio_probe(struct platform_device *pdev)
222+static int vx855gpio_probe(struct platform_device *pdev)
223223 {
224224 struct resource *res_gpi;
225225 struct resource *res_gpo;
@@ -284,7 +284,7 @@ out_release: · 58 unmodified lines
284284 return ret;
285285 }
286286
287−static int __devexit vx855gpio_remove(struct platform_device *pdev)
287+static int vx855gpio_remove(struct platform_device *pdev)
288288 {
289289 struct vx855_gpio *vg = platform_get_drvdata(pdev);
290290 struct resource *res;
@@ -312,7 +312,7 @@ static struct platform_driver vx855gpio_driver = { · 21 unmodified lines
312312 .owner = THIS_MODULE,
313313 },
314314 .probe = vx855gpio_probe,
315− .remove = __devexit_p(vx855gpio_remove),
315+ .remove = vx855gpio_remove,
316316 };
317317
318318 module_platform_driver(vx855gpio_driver);
drivers/gpio/gpio-wm831x.c+3−3
@@ -243,7 +243,7 @@ static struct gpio_chip template_chip = { · 242 unmodified lines
243243 .can_sleep = 1,
244244 };
245245
246−static int __devinit wm831x_gpio_probe(struct platform_device *pdev)
246+static int wm831x_gpio_probe(struct platform_device *pdev)
247247 {
248248 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
249249 struct wm831x_pdata *pdata = wm831x->dev->platform_data;
@@ -275,7 +275,7 @@ static int __devinit wm831x_gpio_probe(struct platform_device *pdev) · 25 unmodified lines
275275 return ret;
276276 }
277277
278−static int __devexit wm831x_gpio_remove(struct platform_device *pdev)
278+static int wm831x_gpio_remove(struct platform_device *pdev)
279279 {
280280 struct wm831x_gpio *wm831x_gpio = platform_get_drvdata(pdev);
281281
@@ -286,7 +286,7 @@ static struct platform_driver wm831x_gpio_driver = { · 4 unmodified lines
286286 .driver.name = "wm831x-gpio",
287287 .driver.owner = THIS_MODULE,
288288 .probe = wm831x_gpio_probe,
289− .remove = __devexit_p(wm831x_gpio_remove),
289+ .remove = wm831x_gpio_remove,
290290 };
291291
292292 static int __init wm831x_gpio_init(void)
drivers/gpio/gpio-wm8350.c+3−3
@@ -109,7 +109,7 @@ static struct gpio_chip template_chip = { · 108 unmodified lines
109109 .can_sleep = 1,
110110 };
111111
112−static int __devinit wm8350_gpio_probe(struct platform_device *pdev)
112+static int wm8350_gpio_probe(struct platform_device *pdev)
113113 {
114114 struct wm8350 *wm8350 = dev_get_drvdata(pdev->dev.parent);
115115 struct wm8350_platform_data *pdata = wm8350->dev->platform_data;
@@ -141,7 +141,7 @@ static int __devinit wm8350_gpio_probe(struct platform_device *pdev) · 25 unmodified lines
141141 return ret;
142142 }
143143
144−static int __devexit wm8350_gpio_remove(struct platform_device *pdev)
144+static int wm8350_gpio_remove(struct platform_device *pdev)
145145 {
146146 struct wm8350_gpio_data *wm8350_gpio = platform_get_drvdata(pdev);
147147
@@ -152,7 +152,7 @@ static struct platform_driver wm8350_gpio_driver = { · 4 unmodified lines
152152 .driver.name = "wm8350-gpio",
153153 .driver.owner = THIS_MODULE,
154154 .probe = wm8350_gpio_probe,
155− .remove = __devexit_p(wm8350_gpio_remove),
155+ .remove = wm8350_gpio_remove,
156156 };
157157
158158 static int __init wm8350_gpio_init(void)
drivers/gpio/gpio-wm8994.c+3−3
@@ -245,7 +245,7 @@ static struct gpio_chip template_chip = { · 244 unmodified lines
245245 .can_sleep = 1,
246246 };
247247
248−static int __devinit wm8994_gpio_probe(struct platform_device *pdev)
248+static int wm8994_gpio_probe(struct platform_device *pdev)
249249 {
250250 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent);
251251 struct wm8994_pdata *pdata = wm8994->dev->platform_data;
@@ -281,7 +281,7 @@ err: · 29 unmodified lines
281281 return ret;
282282 }
283283
284−static int __devexit wm8994_gpio_remove(struct platform_device *pdev)
284+static int wm8994_gpio_remove(struct platform_device *pdev)
285285 {
286286 struct wm8994_gpio *wm8994_gpio = platform_get_drvdata(pdev);
287287
@@ -292,7 +292,7 @@ static struct platform_driver wm8994_gpio_driver = { · 4 unmodified lines
292292 .driver.name = "wm8994-gpio",
293293 .driver.owner = THIS_MODULE,
294294 .probe = wm8994_gpio_probe,
295− .remove = __devexit_p(wm8994_gpio_remove),
295+ .remove = wm8994_gpio_remove,
296296 };
297297
298298 static int __init wm8994_gpio_init(void)
drivers/gpio/gpio-xilinx.c+2−2
@@ -159,7 +159,7 @@ static void xgpio_save_regs(struct of_mm_gpio_chip *mm_gc) · 158 unmodified lines
159159 * driver data structure. It returns 0, if the driver is bound to the GPIO
160160 * device, or a negative value if there is an error.
161161 */
162−static int __devinit xgpio_of_probe(struct device_node *np)
162+static int xgpio_of_probe(struct device_node *np)
163163 {
164164 struct xgpio_instance *chip;
165165 int status = 0;
@@ -209,7 +209,7 @@ static int __devinit xgpio_of_probe(struct device_node *np) · 43 unmodified lines
209209 return 0;
210210 }
211211
212−static struct of_device_id xgpio_of_match[] __devinitdata = {
212+static struct of_device_id xgpio_of_match[] = {
213213 { .compatible = "xlnx,xps-gpio-1.00.a", },
214214 { /* end of list */ },
215215 };
drivers/hwmon/abituguru.c+6−6
@@ -478,7 +478,7 @@ static int abituguru_write(struct abituguru_data *data, · 477 unmodified lines
478478 * alarm for sensor type X and then enabling the sensor as sensor type
479479 * X, if we then get an alarm it is a sensor of type X.
480480 */
481−static int __devinit
481+static int
482482 abituguru_detect_bank1_sensor_type(struct abituguru_data *data,
483483 u8 sensor_addr)
484484 {
@@ -635,7 +635,7 @@ abituguru_detect_bank1_sensor_type_exit: · 150 unmodified lines
635635 * read/write test would be feasible because of the reaction above, I've
636636 * however opted to stay on the safe side.
637637 */
638−static void __devinit
638+static void
639639 abituguru_detect_no_bank2_sensors(struct abituguru_data *data)
640640 {
641641 int i;
@@ -691,7 +691,7 @@ abituguru_detect_no_bank2_sensors(struct abituguru_data *data) · 49 unmodified lines
691691 (int)data->bank2_sensors);
692692 }
693693
694−static void __devinit
694+static void
695695 abituguru_detect_no_pwms(struct abituguru_data *data)
696696 {
697697 int i, j;
@@ -1264,7 +1264,7 @@ static struct sensor_device_attribute_2 abituguru_sysfs_attr[] = { · 566 unmodified lines
12641264 SENSOR_ATTR_2(name, 0444, show_name, NULL, 0, 0),
12651265 };
12661266
1267−static int __devinit abituguru_probe(struct platform_device *pdev)
1267+static int abituguru_probe(struct platform_device *pdev)
12681268 {
12691269 struct abituguru_data *data;
12701270 int i, j, used, sysfs_names_free, sysfs_attr_i, res = -ENODEV;
@@ -1434,7 +1434,7 @@ abituguru_probe_error: · 163 unmodified lines
14341434 return res;
14351435 }
14361436
1437−static int __devexit abituguru_remove(struct platform_device *pdev)
1437+static int abituguru_remove(struct platform_device *pdev)
14381438 {
14391439 int i;
14401440 struct abituguru_data *data = platform_get_drvdata(pdev);
@@ -1545,7 +1545,7 @@ static struct platform_driver abituguru_driver = { · 104 unmodified lines
15451545 .pm = ABIT_UGURU_PM,
15461546 },
15471547 .probe = abituguru_probe,
1548− .remove = __devexit_p(abituguru_remove),
1548+ .remove = abituguru_remove,
15491549 };
15501550
15511551 static int __init abituguru_detect(void)
drivers/hwmon/abituguru3.c+3−3
@@ -966,7 +966,7 @@ static struct sensor_device_attribute_2 abituguru3_sysfs_attr[] = { · 965 unmodified lines
966966 SENSOR_ATTR_2(name, 0444, show_name, NULL, 0, 0),
967967 };
968968
969−static int __devinit abituguru3_probe(struct platform_device *pdev)
969+static int abituguru3_probe(struct platform_device *pdev)
970970 {
971971 const int no_sysfs_attr[3] = { 10, 8, 7 };
972972 int sensor_index[3] = { 0, 1, 1 };
@@ -1072,7 +1072,7 @@ abituguru3_probe_error: · 99 unmodified lines
10721072 return res;
10731073 }
10741074
1075−static int __devexit abituguru3_remove(struct platform_device *pdev)
1075+static int abituguru3_remove(struct platform_device *pdev)
10761076 {
10771077 int i;
10781078 struct abituguru3_data *data = platform_get_drvdata(pdev);
@@ -1171,7 +1171,7 @@ static struct platform_driver abituguru3_driver = { · 92 unmodified lines
11711171 .pm = ABIT_UGURU3_PM
11721172 },
11731173 .probe = abituguru3_probe,
1174− .remove = __devexit_p(abituguru3_remove),
1174+ .remove = abituguru3_remove,
11751175 };
11761176
11771177 static int __init abituguru3_dmi_detect(void)
drivers/hwmon/ad7314.c+3−3
@@ -107,7 +107,7 @@ static const struct attribute_group ad7314_group = { · 106 unmodified lines
107107 .attrs = ad7314_attributes,
108108 };
109109
110−static int __devinit ad7314_probe(struct spi_device *spi_dev)
110+static int ad7314_probe(struct spi_device *spi_dev)
111111 {
112112 int ret;
113113 struct ad7314_data *chip;
@@ -135,7 +135,7 @@ error_remove_group: · 21 unmodified lines
135135 return ret;
136136 }
137137
138−static int __devexit ad7314_remove(struct spi_device *spi_dev)
138+static int ad7314_remove(struct spi_device *spi_dev)
139139 {
140140 struct ad7314_data *chip = dev_get_drvdata(&spi_dev->dev);
141141
@@ -159,7 +159,7 @@ static struct spi_driver ad7314_driver = { · 17 unmodified lines
159159 .owner = THIS_MODULE,
160160 },
161161 .probe = ad7314_probe,
162− .remove = __devexit_p(ad7314_remove),
162+ .remove = ad7314_remove,
163163 .id_table = ad7314_id,
164164 };
165165
drivers/hwmon/ad7414.c+2−2
@@ -226,7 +226,7 @@ exit_remove: · 225 unmodified lines
226226 return err;
227227 }
228228
229−static int __devexit ad7414_remove(struct i2c_client *client)
229+static int ad7414_remove(struct i2c_client *client)
230230 {
231231 struct ad7414_data *data = i2c_get_clientdata(client);
232232
@@ -246,7 +246,7 @@ static struct i2c_driver ad7414_driver = { · 13 unmodified lines
246246 .name = "ad7414",
247247 },
248248 .probe = ad7414_probe,
249− .remove = __devexit_p(ad7414_remove),
249+ .remove = ad7414_remove,
250250 .id_table = ad7414_id,
251251 };
252252
drivers/hwmon/adcxx.c+3−3
@@ -161,7 +161,7 @@ static struct sensor_device_attribute ad_input[] = { · 160 unmodified lines
161161
162162 /*----------------------------------------------------------------------*/
163163
164−static int __devinit adcxx_probe(struct spi_device *spi)
164+static int adcxx_probe(struct spi_device *spi)
165165 {
166166 int channels = spi_get_device_id(spi)->driver_data;
167167 struct adcxx *adc;
@@ -208,7 +208,7 @@ out_err: · 40 unmodified lines
208208 return status;
209209 }
210210
211−static int __devexit adcxx_remove(struct spi_device *spi)
211+static int adcxx_remove(struct spi_device *spi)
212212 {
213213 struct adcxx *adc = spi_get_drvdata(spi);
214214 int i;
@@ -240,7 +240,7 @@ static struct spi_driver adcxx_driver = { · 25 unmodified lines
240240 },
241241 .id_table = adcxx_ids,
242242 .probe = adcxx_probe,
243− .remove = __devexit_p(adcxx_remove),
243+ .remove = adcxx_remove,
244244 };
245245
246246 module_spi_driver(adcxx_driver);
drivers/hwmon/ads7871.c+3−3
@@ -173,7 +173,7 @@ static const struct attribute_group ads7871_group = { · 172 unmodified lines
173173 .attrs = ads7871_attributes,
174174 };
175175
176−static int __devinit ads7871_probe(struct spi_device *spi)
176+static int ads7871_probe(struct spi_device *spi)
177177 {
178178 int ret, err;
179179 uint8_t val;
@@ -225,7 +225,7 @@ error_remove: · 45 unmodified lines
225225 return err;
226226 }
227227
228−static int __devexit ads7871_remove(struct spi_device *spi)
228+static int ads7871_remove(struct spi_device *spi)
229229 {
230230 struct ads7871_data *pdata = spi_get_drvdata(spi);
231231
@@ -241,7 +241,7 @@ static struct spi_driver ads7871_driver = { · 9 unmodified lines
241241 },
242242
243243 .probe = ads7871_probe,
244− .remove = __devexit_p(ads7871_remove),
244+ .remove = ads7871_remove,
245245 };
246246
247247 module_spi_driver(ads7871_driver);
drivers/hwmon/adt7411.c+3−3
@@ -276,7 +276,7 @@ static int adt7411_detect(struct i2c_client *client, · 275 unmodified lines
276276 return 0;
277277 }
278278
279−static int __devinit adt7411_probe(struct i2c_client *client,
279+static int adt7411_probe(struct i2c_client *client,
280280 const struct i2c_device_id *id)
281281 {
282282 struct adt7411_data *data;
@@ -317,7 +317,7 @@ static int __devinit adt7411_probe(struct i2c_client *client, · 34 unmodified lines
317317 return ret;
318318 }
319319
320−static int __devexit adt7411_remove(struct i2c_client *client)
320+static int adt7411_remove(struct i2c_client *client)
321321 {
322322 struct adt7411_data *data = i2c_get_clientdata(client);
323323
@@ -337,7 +337,7 @@ static struct i2c_driver adt7411_driver = { · 13 unmodified lines
337337 .name = "adt7411",
338338 },
339339 .probe = adt7411_probe,
340− .remove = __devexit_p(adt7411_remove),
340+ .remove = adt7411_remove,
341341 .id_table = adt7411_id,
342342 .detect = adt7411_detect,
343343 .address_list = normal_i2c,
drivers/hwmon/coretemp.c+4−4
@@ -356,7 +356,7 @@ static int __cpuinit get_tjmax(struct cpuinfo_x86 *c, u32 id, · 355 unmodified lines
356356 return adjust_tjmax(c, id, dev);
357357 }
358358
359−static int __devinit create_name_attr(struct platform_data *pdata,
359+static int create_name_attr(struct platform_data *pdata,
360360 struct device *dev)
361361 {
362362 sysfs_attr_init(&pdata->name_attr.attr);
@@ -551,7 +551,7 @@ static void coretemp_remove_core(struct platform_data *pdata, · 188 unmodified lines
551551 pdata->core_data[indx] = NULL;
552552 }
553553
554−static int __devinit coretemp_probe(struct platform_device *pdev)
554+static int coretemp_probe(struct platform_device *pdev)
555555 {
556556 struct platform_data *pdata;
557557 int err;
@@ -584,7 +584,7 @@ exit_free: · 26 unmodified lines
584584 return err;
585585 }
586586
587−static int __devexit coretemp_remove(struct platform_device *pdev)
587+static int coretemp_remove(struct platform_device *pdev)
588588 {
589589 struct platform_data *pdata = platform_get_drvdata(pdev);
590590 int i;
@@ -606,7 +606,7 @@ static struct platform_driver coretemp_driver = { · 15 unmodified lines
606606 .name = DRVNAME,
607607 },
608608 .probe = coretemp_probe,
609− .remove = __devexit_p(coretemp_remove),
609+ .remove = coretemp_remove,
610610 };
611611
612612 static int __cpuinit coretemp_device_add(unsigned int cpu)
drivers/hwmon/da9052-hwmon.c+3−3
@@ -270,7 +270,7 @@ static struct attribute *da9052_attr[] = { · 269 unmodified lines
270270
271271 static const struct attribute_group da9052_attr_group = {.attrs = da9052_attr};
272272
273−static int __devinit da9052_hwmon_probe(struct platform_device *pdev)
273+static int da9052_hwmon_probe(struct platform_device *pdev)
274274 {
275275 struct da9052_hwmon *hwmon;
276276 int ret;
@@ -303,7 +303,7 @@ err_mem: · 26 unmodified lines
303303 return ret;
304304 }
305305
306−static int __devexit da9052_hwmon_remove(struct platform_device *pdev)
306+static int da9052_hwmon_remove(struct platform_device *pdev)
307307 {
308308 struct da9052_hwmon *hwmon = platform_get_drvdata(pdev);
309309
@@ -315,7 +315,7 @@ static int __devexit da9052_hwmon_remove(struct platform_device *pdev) · 5 unmodified lines
315315
316316 static struct platform_driver da9052_hwmon_driver = {
317317 .probe = da9052_hwmon_probe,
318− .remove = __devexit_p(da9052_hwmon_remove),
318+ .remove = da9052_hwmon_remove,
319319 .driver = {
320320 .name = "da9052-hwmon",
321321 .owner = THIS_MODULE,
drivers/hwmon/dme1737.c+3−3
@@ -2630,7 +2630,7 @@ exit: · 2629 unmodified lines
26302630 return err;
26312631 }
26322632
2633−static int __devinit dme1737_isa_probe(struct platform_device *pdev)
2633+static int dme1737_isa_probe(struct platform_device *pdev)
26342634 {
26352635 u8 company, device;
26362636 struct resource *res;
@@ -2718,7 +2718,7 @@ exit_remove_files: · 81 unmodified lines
27182718 return err;
27192719 }
27202720
2721−static int __devexit dme1737_isa_remove(struct platform_device *pdev)
2721+static int dme1737_isa_remove(struct platform_device *pdev)
27222722 {
27232723 struct dme1737_data *data = platform_get_drvdata(pdev);
27242724
@@ -2734,7 +2734,7 @@ static struct platform_driver dme1737_isa_driver = { · 9 unmodified lines
27342734 .name = "dme1737",
27352735 },
27362736 .probe = dme1737_isa_probe,
2737− .remove = __devexit_p(dme1737_isa_remove),
2737+ .remove = dme1737_isa_remove,
27382738 };
27392739
27402740 /* ---------------------------------------------------------------------
drivers/hwmon/f71805f.c+4−4
@@ -1343,7 +1343,7 @@ static struct attribute *f71805f_attr_pwm[] = { · 1342 unmodified lines
13431343 * Device registration and initialization
13441344 */
13451345
1346−static void __devinit f71805f_init_device(struct f71805f_data *data)
1346+static void f71805f_init_device(struct f71805f_data *data)
13471347 {
13481348 u8 reg;
13491349 int i;
@@ -1374,7 +1374,7 @@ static void __devinit f71805f_init_device(struct f71805f_data *data) · 24 unmodified lines
13741374 }
13751375 }
13761376
1377−static int __devinit f71805f_probe(struct platform_device *pdev)
1377+static int f71805f_probe(struct platform_device *pdev)
13781378 {
13791379 struct f71805f_sio_data *sio_data = pdev->dev.platform_data;
13801380 struct f71805f_data *data;
@@ -1490,7 +1490,7 @@ exit_remove_files: · 109 unmodified lines
14901490 return err;
14911491 }
14921492
1493−static int __devexit f71805f_remove(struct platform_device *pdev)
1493+static int f71805f_remove(struct platform_device *pdev)
14941494 {
14951495 struct f71805f_data *data = platform_get_drvdata(pdev);
14961496 int i;
@@ -1510,7 +1510,7 @@ static struct platform_driver f71805f_driver = { · 13 unmodified lines
15101510 .name = DRVNAME,
15111511 },
15121512 .probe = f71805f_probe,
1513− .remove = __devexit_p(f71805f_remove),
1513+ .remove = f71805f_remove,
15141514 };
15151515
15161516 static int __init f71805f_device_add(unsigned short address,
drivers/hwmon/f71882fg.c+4−4
@@ -364,7 +364,7 @@ static ssize_t store_pwm_auto_point_temp(struct device *dev, · 363 unmodified lines
364364 static ssize_t show_name(struct device *dev, struct device_attribute *devattr,
365365 char *buf);
366366
367−static int __devinit f71882fg_probe(struct platform_device *pdev);
367+static int f71882fg_probe(struct platform_device *pdev);
368368 static int f71882fg_remove(struct platform_device *pdev);
369369
370370 static struct platform_driver f71882fg_driver = {
@@ -2145,7 +2145,7 @@ static ssize_t show_name(struct device *dev, struct device_attribute *devattr, · 1774 unmodified lines
21452145 return sprintf(buf, "%s\n", f71882fg_names[data->type]);
21462146 }
21472147
2148−static int __devinit f71882fg_create_sysfs_files(struct platform_device *pdev,
2148+static int f71882fg_create_sysfs_files(struct platform_device *pdev,
21492149 struct sensor_device_attribute_2 *attr, int count)
21502150 {
21512151 int err, i;
@@ -2167,7 +2167,7 @@ static void f71882fg_remove_sysfs_files(struct platform_device *pdev, · 15 unmodified lines
21672167 device_remove_file(&pdev->dev, &attr[i].dev_attr);
21682168 }
21692169
2170−static int __devinit f71882fg_create_fan_sysfs_files(
2170+static int f71882fg_create_fan_sysfs_files(
21712171 struct platform_device *pdev, int idx)
21722172 {
21732173 struct f71882fg_data *data = platform_get_drvdata(pdev);
@@ -2265,7 +2265,7 @@ static int __devinit f71882fg_create_fan_sysfs_files( · 91 unmodified lines
22652265 return err;
22662266 }
22672267
2268−static int __devinit f71882fg_probe(struct platform_device *pdev)
2268+static int f71882fg_probe(struct platform_device *pdev)
22692269 {
22702270 struct f71882fg_data *data;
22712271 struct f71882fg_sio_data *sio_data = pdev->dev.platform_data;
drivers/hwmon/fam15h_power.c+5−5
@@ -114,7 +114,7 @@ static const struct attribute_group fam15h_power_attr_group = { · 113 unmodified lines
114114 .attrs = fam15h_power_attrs,
115115 };
116116
117−static bool __devinit fam15h_power_is_internal_node0(struct pci_dev *f4)
117+static bool fam15h_power_is_internal_node0(struct pci_dev *f4)
118118 {
119119 u32 val;
120120
@@ -171,7 +171,7 @@ static int fam15h_power_resume(struct pci_dev *pdev) · 50 unmodified lines
171171 #define fam15h_power_resume NULL
172172 #endif
173173
174−static void __devinit fam15h_power_init_data(struct pci_dev *f4,
174+static void fam15h_power_init_data(struct pci_dev *f4,
175175 struct fam15h_power_data *data)
176176 {
177177 u32 val;
@@ -197,7 +197,7 @@ static void __devinit fam15h_power_init_data(struct pci_dev *f4, · 19 unmodified lines
197197 data->processor_pwr_watts = (tmp * 15625) >> 10;
198198 }
199199
200−static int __devinit fam15h_power_probe(struct pci_dev *pdev,
200+static int fam15h_power_probe(struct pci_dev *pdev,
201201 const struct pci_device_id *id)
202202 {
203203 struct fam15h_power_data *data;
@@ -238,7 +238,7 @@ exit_remove_group: · 34 unmodified lines
238238 return err;
239239 }
240240
241−static void __devexit fam15h_power_remove(struct pci_dev *pdev)
241+static void fam15h_power_remove(struct pci_dev *pdev)
242242 {
243243 struct device *dev;
244244 struct fam15h_power_data *data;
@@ -260,7 +260,7 @@ static struct pci_driver fam15h_power_driver = { · 15 unmodified lines
260260 .name = "fam15h_power",
261261 .id_table = fam15h_power_id_table,
262262 .probe = fam15h_power_probe,
263− .remove = __devexit_p(fam15h_power_remove),
263+ .remove = fam15h_power_remove,
264264 .resume = fam15h_power_resume,
265265 };
266266
drivers/hwmon/gpio-fan.c+4−4
@@ -499,13 +499,13 @@ static int gpio_fan_get_of_pdata(struct device *dev, · 498 unmodified lines
499499 return 0;
500500 }
501501
502−static struct of_device_id of_gpio_fan_match[] __devinitdata = {
502+static struct of_device_id of_gpio_fan_match[] = {
503503 { .compatible = "gpio-fan", },
504504 {},
505505 };
506506 #endif /* CONFIG_OF_GPIO */
507507
508−static int __devinit gpio_fan_probe(struct platform_device *pdev)
508+static int gpio_fan_probe(struct platform_device *pdev)
509509 {
510510 int err;
511511 struct gpio_fan_data *fan_data;
@@ -581,7 +581,7 @@ err_free_alarm: · 69 unmodified lines
581581 return err;
582582 }
583583
584−static int __devexit gpio_fan_remove(struct platform_device *pdev)
584+static int gpio_fan_remove(struct platform_device *pdev)
585585 {
586586 struct gpio_fan_data *fan_data = platform_get_drvdata(pdev);
587587
@@ -626,7 +626,7 @@ static SIMPLE_DEV_PM_OPS(gpio_fan_pm, gpio_fan_suspend, gpio_fan_resume); · 38 unmodified lines
626626
627627 static struct platform_driver gpio_fan_driver = {
628628 .probe = gpio_fan_probe,
629− .remove = __devexit_p(gpio_fan_remove),
629+ .remove = gpio_fan_remove,
630630 .driver = {
631631 .name = "gpio-fan",
632632 .pm = GPIO_FAN_PM,
drivers/hwmon/hih6130.c+3−3
@@ -220,7 +220,7 @@ static const struct attribute_group hih6130_attr_group = { · 219 unmodified lines
220220 * device's name.
221221 * Returns 0 on success.
222222 */
223−static int __devinit hih6130_probe(struct i2c_client *client,
223+static int hih6130_probe(struct i2c_client *client,
224224 const struct i2c_device_id *id)
225225 {
226226 struct hih6130 *hih6130;
@@ -263,7 +263,7 @@ fail_remove_sysfs: · 36 unmodified lines
263263 * hih6130_remove() - remove device
264264 * @client: I2C client device
265265 */
266−static int __devexit hih6130_remove(struct i2c_client *client)
266+static int hih6130_remove(struct i2c_client *client)
267267 {
268268 struct hih6130 *hih6130 = i2c_get_clientdata(client);
269269
@@ -283,7 +283,7 @@ MODULE_DEVICE_TABLE(i2c, hih6130_id); · 13 unmodified lines
283283 static struct i2c_driver hih6130_driver = {
284284 .driver.name = "hih6130",
285285 .probe = hih6130_probe,
286− .remove = __devexit_p(hih6130_remove),
286+ .remove = hih6130_remove,
287287 .id_table = hih6130_id,
288288 };
289289
drivers/hwmon/i5k_amb.c+9−9
@@ -260,7 +260,7 @@ static ssize_t show_label(struct device *dev, · 259 unmodified lines
260260 attr->index & DIMM_MASK);
261261 }
262262
263−static int __devinit i5k_amb_hwmon_init(struct platform_device *pdev)
263+static int i5k_amb_hwmon_init(struct platform_device *pdev)
264264 {
265265 int i, j, k, d = 0;
266266 u16 c;
@@ -406,7 +406,7 @@ exit_remove: · 139 unmodified lines
406406 return res;
407407 }
408408
409−static int __devinit i5k_amb_add(void)
409+static int i5k_amb_add(void)
410410 {
411411 int res = -ENODEV;
412412
@@ -425,7 +425,7 @@ err: · 12 unmodified lines
425425 return res;
426426 }
427427
428−static int __devinit i5k_find_amb_registers(struct i5k_amb_data *data,
428+static int i5k_find_amb_registers(struct i5k_amb_data *data,
429429 unsigned long devid)
430430 {
431431 struct pci_dev *pcidev;
@@ -459,7 +459,7 @@ out: · 27 unmodified lines
459459 return res;
460460 }
461461
462−static int __devinit i5k_channel_probe(u16 *amb_present, unsigned long dev_id)
462+static int i5k_channel_probe(u16 *amb_present, unsigned long dev_id)
463463 {
464464 struct pci_dev *pcidev;
465465 u16 val16;
@@ -488,14 +488,14 @@ out: · 22 unmodified lines
488488 static struct {
489489 unsigned long err;
490490 unsigned long fbd0;
491−} chipset_ids[] __devinitdata = {
491+} chipset_ids[] = {
492492 { PCI_DEVICE_ID_INTEL_5000_ERR, PCI_DEVICE_ID_INTEL_5000_FBD0 },
493493 { PCI_DEVICE_ID_INTEL_5400_ERR, PCI_DEVICE_ID_INTEL_5400_FBD0 },
494494 { 0, 0 }
495495 };
496496
497497 #ifdef MODULE
498−static struct pci_device_id i5k_amb_ids[] __devinitdata = {
498+static struct pci_device_id i5k_amb_ids[] = {
499499 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5000_ERR) },
500500 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_5400_ERR) },
501501 { 0, }
@@ -503,7 +503,7 @@ static struct pci_device_id i5k_amb_ids[] __devinitdata = { · 1 unmodified line
503503 MODULE_DEVICE_TABLE(pci, i5k_amb_ids);
504504 #endif
505505
506−static int __devinit i5k_amb_probe(struct platform_device *pdev)
506+static int i5k_amb_probe(struct platform_device *pdev)
507507 {
508508 struct i5k_amb_data *data;
509509 struct resource *reso;
@@ -564,7 +564,7 @@ err: · 54 unmodified lines
564564 return res;
565565 }
566566
567−static int __devexit i5k_amb_remove(struct platform_device *pdev)
567+static int i5k_amb_remove(struct platform_device *pdev)
568568 {
569569 int i;
570570 struct i5k_amb_data *data = platform_get_drvdata(pdev);
@@ -587,7 +587,7 @@ static struct platform_driver i5k_amb_driver = { · 16 unmodified lines
587587 .name = DRVNAME,
588588 },
589589 .probe = i5k_amb_probe,
590− .remove = __devexit_p(i5k_amb_remove),
590+ .remove = i5k_amb_remove,
591591 };
592592
593593 static int __init i5k_amb_init(void)
drivers/hwmon/it87.c+6−6
@@ -428,7 +428,7 @@ static inline int has_old_autopwm(const struct it87_data *data) · 427 unmodified lines
428428 }
429429
430430 static int it87_probe(struct platform_device *pdev);
431−static int __devexit it87_remove(struct platform_device *pdev);
431+static int it87_remove(struct platform_device *pdev);
432432
433433 static int it87_read_value(struct it87_data *data, u8 reg);
434434 static void it87_write_value(struct it87_data *data, u8 reg, u8 value);
@@ -443,7 +443,7 @@ static struct platform_driver it87_driver = { · 8 unmodified lines
443443 .name = DRVNAME,
444444 },
445445 .probe = it87_probe,
446− .remove = __devexit_p(it87_remove),
446+ .remove = it87_remove,
447447 };
448448
449449 static ssize_t show_in(struct device *dev, struct device_attribute *attr,
@@ -1966,7 +1966,7 @@ static void it87_remove_files(struct device *dev) · 1516 unmodified lines
19661966 sysfs_remove_group(&dev->kobj, &it87_group_label);
19671967 }
19681968
1969−static int __devinit it87_probe(struct platform_device *pdev)
1969+static int it87_probe(struct platform_device *pdev)
19701970 {
19711971 struct it87_data *data;
19721972 struct resource *res;
@@ -2158,7 +2158,7 @@ error: · 185 unmodified lines
21582158 return err;
21592159 }
21602160
2161−static int __devexit it87_remove(struct platform_device *pdev)
2161+static int it87_remove(struct platform_device *pdev)
21622162 {
21632163 struct it87_data *data = platform_get_drvdata(pdev);
21642164
@@ -2191,7 +2191,7 @@ static void it87_write_value(struct it87_data *data, u8 reg, u8 value) · 26 unmodified lines
21912191 }
21922192
21932193 /* Return 1 if and only if the PWM interface is safe to use */
2194−static int __devinit it87_check_pwm(struct device *dev)
2194+static int it87_check_pwm(struct device *dev)
21952195 {
21962196 struct it87_data *data = dev_get_drvdata(dev);
21972197 /*
@@ -2248,7 +2248,7 @@ static int __devinit it87_check_pwm(struct device *dev) · 50 unmodified lines
22482248 }
22492249
22502250 /* Called when we have found a new IT87. */
2251−static void __devinit it87_init_device(struct platform_device *pdev)
2251+static void it87_init_device(struct platform_device *pdev)
22522252 {
22532253 struct it87_sio_data *sio_data = pdev->dev.platform_data;
22542254 struct it87_data *data = platform_get_drvdata(pdev);
drivers/hwmon/jz4740-hwmon.c+3−3
@@ -102,7 +102,7 @@ static const struct attribute_group jz4740_hwmon_attr_group = { · 101 unmodified lines
102102 .attrs = jz4740_hwmon_attributes,
103103 };
104104
105−static int __devinit jz4740_hwmon_probe(struct platform_device *pdev)
105+static int jz4740_hwmon_probe(struct platform_device *pdev)
106106 {
107107 int ret;
108108 struct jz4740_hwmon *hwmon;
@@ -172,7 +172,7 @@ err_remove_file: · 63 unmodified lines
172172 return ret;
173173 }
174174
175−static int __devexit jz4740_hwmon_remove(struct platform_device *pdev)
175+static int jz4740_hwmon_remove(struct platform_device *pdev)
176176 {
177177 struct jz4740_hwmon *hwmon = platform_get_drvdata(pdev);
178178
@@ -184,7 +184,7 @@ static int __devexit jz4740_hwmon_remove(struct platform_device *pdev) · 5 unmodified lines
184184
185185 static struct platform_driver jz4740_hwmon_driver = {
186186 .probe = jz4740_hwmon_probe,
187− .remove = __devexit_p(jz4740_hwmon_remove),
187+ .remove = jz4740_hwmon_remove,
188188 .driver = {
189189 .name = "jz4740-hwmon",
190190 .owner = THIS_MODULE,
drivers/hwmon/k10temp.c+4−4
@@ -95,7 +95,7 @@ static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO, show_temp_crit, NULL, 0); · 94 unmodified lines
9595 static SENSOR_DEVICE_ATTR(temp1_crit_hyst, S_IRUGO, show_temp_crit, NULL, 1);
9696 static DEVICE_ATTR(name, S_IRUGO, show_name, NULL);
9797
98−static bool __devinit has_erratum_319(struct pci_dev *pdev)
98+static bool has_erratum_319(struct pci_dev *pdev)
9999 {
100100 u32 pkg_type, reg_dram_cfg;
101101
@@ -129,7 +129,7 @@ static bool __devinit has_erratum_319(struct pci_dev *pdev) · 27 unmodified lines
129129 (boot_cpu_data.x86_model == 4 && boot_cpu_data.x86_mask <= 2);
130130 }
131131
132−static int __devinit k10temp_probe(struct pci_dev *pdev,
132+static int k10temp_probe(struct pci_dev *pdev,
133133 const struct pci_device_id *id)
134134 {
135135 struct device *hwmon_dev;
@@ -192,7 +192,7 @@ exit: · 56 unmodified lines
192192 return err;
193193 }
194194
195−static void __devexit k10temp_remove(struct pci_dev *pdev)
195+static void k10temp_remove(struct pci_dev *pdev)
196196 {
197197 hwmon_device_unregister(pci_get_drvdata(pdev));
198198 device_remove_file(&pdev->dev, &dev_attr_name);
@@ -219,7 +219,7 @@ static struct pci_driver k10temp_driver = { · 20 unmodified lines
219219 .name = "k10temp",
220220 .id_table = k10temp_id_table,
221221 .probe = k10temp_probe,
222− .remove = __devexit_p(k10temp_remove),
222+ .remove = k10temp_remove,
223223 };
224224
225225 module_pci_driver(k10temp_driver);
drivers/hwmon/k8temp.c+4−4
@@ -142,7 +142,7 @@ static DEFINE_PCI_DEVICE_TABLE(k8temp_ids) = { · 141 unmodified lines
142142
143143 MODULE_DEVICE_TABLE(pci, k8temp_ids);
144144
145−static int __devinit is_rev_g_desktop(u8 model)
145+static int is_rev_g_desktop(u8 model)
146146 {
147147 u32 brandidx;
148148
@@ -173,7 +173,7 @@ static int __devinit is_rev_g_desktop(u8 model) · 24 unmodified lines
173173 return 1;
174174 }
175175
176−static int __devinit k8temp_probe(struct pci_dev *pdev,
176+static int k8temp_probe(struct pci_dev *pdev,
177177 const struct pci_device_id *id)
178178 {
179179 int err;
@@ -304,7 +304,7 @@ exit_remove: · 124 unmodified lines
304304 return err;
305305 }
306306
307−static void __devexit k8temp_remove(struct pci_dev *pdev)
307+static void k8temp_remove(struct pci_dev *pdev)
308308 {
309309 struct k8temp_data *data = pci_get_drvdata(pdev);
310310
@@ -324,7 +324,7 @@ static struct pci_driver k8temp_driver = { · 13 unmodified lines
324324 .name = "k8temp",
325325 .id_table = k8temp_ids,
326326 .probe = k8temp_probe,
327− .remove = __devexit_p(k8temp_remove),
327+ .remove = k8temp_remove,
328328 };
329329
330330 module_pci_driver(k8temp_driver);
drivers/hwmon/lm70.c+3−3
@@ -131,7 +131,7 @@ static DEVICE_ATTR(name, S_IRUGO, lm70_show_name, NULL); · 130 unmodified lines
131131
132132 /*----------------------------------------------------------------------*/
133133
134−static int __devinit lm70_probe(struct spi_device *spi)
134+static int lm70_probe(struct spi_device *spi)
135135 {
136136 int chip = spi_get_device_id(spi)->driver_data;
137137 struct lm70 *p_lm70;
@@ -178,7 +178,7 @@ out_dev_create_temp_file_failed: · 40 unmodified lines
178178 return status;
179179 }
180180
181−static int __devexit lm70_remove(struct spi_device *spi)
181+static int lm70_remove(struct spi_device *spi)
182182 {
183183 struct lm70 *p_lm70 = spi_get_drvdata(spi);
184184
@@ -207,7 +207,7 @@ static struct spi_driver lm70_driver = { · 22 unmodified lines
207207 },
208208 .id_table = lm70_ids,
209209 .probe = lm70_probe,
210− .remove = __devexit_p(lm70_remove),
210+ .remove = lm70_remove,
211211 };
212212
213213 module_spi_driver(lm70_driver);
drivers/hwmon/lm78.c+3−3
@@ -833,7 +833,7 @@ static struct lm78_data *lm78_update_device(struct device *dev) · 832 unmodified lines
833833 }
834834
835835 #ifdef CONFIG_ISA
836−static int __devinit lm78_isa_probe(struct platform_device *pdev)
836+static int lm78_isa_probe(struct platform_device *pdev)
837837 {
838838 int err;
839839 struct lm78_data *data;
@@ -886,7 +886,7 @@ static int __devinit lm78_isa_probe(struct platform_device *pdev) · 46 unmodified lines
886886 return err;
887887 }
888888
889−static int __devexit lm78_isa_remove(struct platform_device *pdev)
889+static int lm78_isa_remove(struct platform_device *pdev)
890890 {
891891 struct lm78_data *data = platform_get_drvdata(pdev);
892892
@@ -903,7 +903,7 @@ static struct platform_driver lm78_isa_driver = { · 10 unmodified lines
903903 .name = "lm78",
904904 },
905905 .probe = lm78_isa_probe,
906− .remove = __devexit_p(lm78_isa_remove),
906+ .remove = lm78_isa_remove,
907907 };
908908
909909 /* return 1 if a supported chip is found, 0 otherwise */
drivers/hwmon/max1111.c+4−4
@@ -157,7 +157,7 @@ static const struct attribute_group max1110_attr_group = { · 156 unmodified lines
157157 .attrs = max1110_attributes,
158158 };
159159
160−static int __devinit setup_transfer(struct max1111_data *data)
160+static int setup_transfer(struct max1111_data *data)
161161 {
162162 struct spi_message *m;
163163 struct spi_transfer *x;
@@ -179,7 +179,7 @@ static int __devinit setup_transfer(struct max1111_data *data) · 15 unmodified lines
179179 return 0;
180180 }
181181
182−static int __devinit max1111_probe(struct spi_device *spi)
182+static int max1111_probe(struct spi_device *spi)
183183 {
184184 enum chips chip = spi_get_device_id(spi)->driver_data;
185185 struct max1111_data *data;
@@ -256,7 +256,7 @@ err_remove: · 70 unmodified lines
256256 return err;
257257 }
258258
259−static int __devexit max1111_remove(struct spi_device *spi)
259+static int max1111_remove(struct spi_device *spi)
260260 {
261261 struct max1111_data *data = spi_get_drvdata(spi);
262262
@@ -283,7 +283,7 @@ static struct spi_driver max1111_driver = { · 20 unmodified lines
283283 },
284284 .id_table = max1111_ids,
285285 .probe = max1111_probe,
286− .remove = __devexit_p(max1111_remove),
286+ .remove = max1111_remove,
287287 };
288288
289289 module_spi_driver(max1111_driver);
drivers/hwmon/max197.c+3−3
@@ -257,7 +257,7 @@ static const struct attribute_group max197_sysfs_group = { · 256 unmodified lines
257257 },
258258 };
259259
260−static int __devinit max197_probe(struct platform_device *pdev)
260+static int max197_probe(struct platform_device *pdev)
261261 {
262262 int ch, ret;
263263 struct max197_data *data;
@@ -316,7 +316,7 @@ error: · 52 unmodified lines
316316 return ret;
317317 }
318318
319−static int __devexit max197_remove(struct platform_device *pdev)
319+static int max197_remove(struct platform_device *pdev)
320320 {
321321 struct max197_data *data = platform_get_drvdata(pdev);
322322
@@ -339,7 +339,7 @@ static struct platform_driver max197_driver = { · 16 unmodified lines
339339 .owner = THIS_MODULE,
340340 },
341341 .probe = max197_probe,
342− .remove = __devexit_p(max197_remove),
342+ .remove = max197_remove,
343343 .id_table = max197_device_ids,
344344 };
345345 module_platform_driver(max197_driver);
drivers/hwmon/mc13783-adc.c+2−2
@@ -233,7 +233,7 @@ out_err_create_16chans: · 232 unmodified lines
233233 return ret;
234234 }
235235
236−static int __devexit mc13783_adc_remove(struct platform_device *pdev)
236+static int mc13783_adc_remove(struct platform_device *pdev)
237237 {
238238 struct mc13783_adc_priv *priv = platform_get_drvdata(pdev);
239239 kernel_ulong_t driver_data = platform_get_device_id(pdev)->driver_data;
@@ -265,7 +265,7 @@ static const struct platform_device_id mc13783_adc_idtable[] = { · 25 unmodified lines
265265 MODULE_DEVICE_TABLE(platform, mc13783_adc_idtable);
266266
267267 static struct platform_driver mc13783_adc_driver = {
268− .remove = __devexit_p(mc13783_adc_remove),
268+ .remove = mc13783_adc_remove,
269269 .driver = {
270270 .owner = THIS_MODULE,
271271 .name = DRIVER_NAME,
drivers/hwmon/ntc_thermistor.c+3−3
@@ -309,7 +309,7 @@ static const struct attribute_group ntc_attr_group = { · 308 unmodified lines
309309 .attrs = ntc_attributes,
310310 };
311311
312−static int __devinit ntc_thermistor_probe(struct platform_device *pdev)
312+static int ntc_thermistor_probe(struct platform_device *pdev)
313313 {
314314 struct ntc_data *data;
315315 struct ntc_thermistor_platform_data *pdata = pdev->dev.platform_data;
@@ -393,7 +393,7 @@ err_after_sysfs: · 77 unmodified lines
393393 return ret;
394394 }
395395
396−static int __devexit ntc_thermistor_remove(struct platform_device *pdev)
396+static int ntc_thermistor_remove(struct platform_device *pdev)
397397 {
398398 struct ntc_data *data = platform_get_drvdata(pdev);
399399
@@ -419,7 +419,7 @@ static struct platform_driver ntc_thermistor_driver = { · 19 unmodified lines
419419 .owner = THIS_MODULE,
420420 },
421421 .probe = ntc_thermistor_probe,
422− .remove = __devexit_p(ntc_thermistor_remove),
422+ .remove = ntc_thermistor_remove,
423423 .id_table = ntc_thermistor_id,
424424 };
425425
drivers/hwmon/pc87360.c+4−4
@@ -228,7 +228,7 @@ struct pc87360_data { · 227 unmodified lines
228228 */
229229
230230 static int pc87360_probe(struct platform_device *pdev);
231−static int __devexit pc87360_remove(struct platform_device *pdev);
231+static int pc87360_remove(struct platform_device *pdev);
232232
233233 static int pc87360_read_value(struct pc87360_data *data, u8 ldi, u8 bank,
234234 u8 reg);
@@ -248,7 +248,7 @@ static struct platform_driver pc87360_driver = { · 13 unmodified lines
248248 .name = "pc87360",
249249 },
250250 .probe = pc87360_probe,
251− .remove = __devexit_p(pc87360_remove),
251+ .remove = pc87360_remove,
252252 };
253253
254254 /*
@@ -1221,7 +1221,7 @@ static void pc87360_remove_files(struct device *dev) · 966 unmodified lines
12211221 sysfs_remove_group(&dev->kobj, &pc8736x_vin_group);
12221222 }
12231223
1224−static int __devinit pc87360_probe(struct platform_device *pdev)
1224+static int pc87360_probe(struct platform_device *pdev)
12251225 {
12261226 int i;
12271227 struct pc87360_data *data;
@@ -1375,7 +1375,7 @@ error: · 147 unmodified lines
13751375 return err;
13761376 }
13771377
1378−static int __devexit pc87360_remove(struct platform_device *pdev)
1378+static int pc87360_remove(struct platform_device *pdev)
13791379 {
13801380 struct pc87360_data *data = platform_get_drvdata(pdev);
13811381
drivers/hwmon/pc87427.c+5−5
@@ -956,7 +956,7 @@ static DEVICE_ATTR(name, S_IRUGO, show_name, NULL); · 955 unmodified lines
956956 * Device detection, attach and detach
957957 */
958958
959−static int __devinit pc87427_request_regions(struct platform_device *pdev,
959+static int pc87427_request_regions(struct platform_device *pdev,
960960 int count)
961961 {
962962 struct resource *res;
@@ -980,7 +980,7 @@ static int __devinit pc87427_request_regions(struct platform_device *pdev, · 17 unmodified lines
980980 return 0;
981981 }
982982
983−static void __devinit pc87427_init_device(struct device *dev)
983+static void pc87427_init_device(struct device *dev)
984984 {
985985 struct pc87427_sio_data *sio_data = dev->platform_data;
986986 struct pc87427_data *data = dev_get_drvdata(dev);
@@ -1072,7 +1072,7 @@ static void pc87427_remove_files(struct device *dev) · 85 unmodified lines
10721072 }
10731073 }
10741074
1075−static int __devinit pc87427_probe(struct platform_device *pdev)
1075+static int pc87427_probe(struct platform_device *pdev)
10761076 {
10771077 struct pc87427_sio_data *sio_data = pdev->dev.platform_data;
10781078 struct pc87427_data *data;
@@ -1141,7 +1141,7 @@ exit_remove_files: · 62 unmodified lines
11411141 return err;
11421142 }
11431143
1144−static int __devexit pc87427_remove(struct platform_device *pdev)
1144+static int pc87427_remove(struct platform_device *pdev)
11451145 {
11461146 struct pc87427_data *data = platform_get_drvdata(pdev);
11471147
@@ -1158,7 +1158,7 @@ static struct platform_driver pc87427_driver = { · 10 unmodified lines
11581158 .name = DRVNAME,
11591159 },
11601160 .probe = pc87427_probe,
1161− .remove = __devexit_p(pc87427_remove),
1161+ .remove = pc87427_remove,
11621162 };
11631163
11641164 static int __init pc87427_device_add(const struct pc87427_sio_data *sio_data)
drivers/hwmon/s3c-hwmon.c+3−3
@@ -275,7 +275,7 @@ static void s3c_hwmon_remove_attr(struct device *dev, · 274 unmodified lines
275275 * s3c_hwmon_probe - device probe entry.
276276 * @dev: The device being probed.
277277 */
278−static int __devinit s3c_hwmon_probe(struct platform_device *dev)
278+static int s3c_hwmon_probe(struct platform_device *dev)
279279 {
280280 struct s3c_hwmon_pdata *pdata = dev->dev.platform_data;
281281 struct s3c_hwmon *hwmon;
@@ -364,7 +364,7 @@ static int __devinit s3c_hwmon_probe(struct platform_device *dev) · 82 unmodified lines
364364 return ret;
365365 }
366366
367−static int __devexit s3c_hwmon_remove(struct platform_device *dev)
367+static int s3c_hwmon_remove(struct platform_device *dev)
368368 {
369369 struct s3c_hwmon *hwmon = platform_get_drvdata(dev);
370370 int i;
@@ -386,7 +386,7 @@ static struct platform_driver s3c_hwmon_driver = { · 15 unmodified lines
386386 .owner = THIS_MODULE,
387387 },
388388 .probe = s3c_hwmon_probe,
389− .remove = __devexit_p(s3c_hwmon_remove),
389+ .remove = s3c_hwmon_remove,
390390 };
391391
392392 module_platform_driver(s3c_hwmon_driver);
drivers/hwmon/sch5627.c+2−2
@@ -153,7 +153,7 @@ abort: · 152 unmodified lines
153153 return ret;
154154 }
155155
156−static int __devinit sch5627_read_limits(struct sch5627_data *data)
156+static int sch5627_read_limits(struct sch5627_data *data)
157157 {
158158 int i, val;
159159
@@ -465,7 +465,7 @@ static int sch5627_remove(struct platform_device *pdev) · 305 unmodified lines
465465 return 0;
466466 }
467467
468−static int __devinit sch5627_probe(struct platform_device *pdev)
468+static int sch5627_probe(struct platform_device *pdev)
469469 {
470470 struct sch5627_data *data;
471471 int err, build_code, build_id, hwmon_rev, val;
drivers/hwmon/sch5636.c+1−1
@@ -405,7 +405,7 @@ static int sch5636_remove(struct platform_device *pdev) · 404 unmodified lines
405405 return 0;
406406 }
407407
408−static int __devinit sch5636_probe(struct platform_device *pdev)
408+static int sch5636_probe(struct platform_device *pdev)
409409 {
410410 struct sch5636_data *data;
411411 int i, err, val, revision[2];
drivers/hwmon/sht15.c+3−3
@@ -884,7 +884,7 @@ static int sht15_invalidate_voltage(struct notifier_block *nb, · 883 unmodified lines
884884 return NOTIFY_OK;
885885 }
886886
887−static int __devinit sht15_probe(struct platform_device *pdev)
887+static int sht15_probe(struct platform_device *pdev)
888888 {
889889 int ret;
890890 struct sht15_data *data;
@@ -1002,7 +1002,7 @@ err_release_reg: · 111 unmodified lines
10021002 return ret;
10031003 }
10041004
1005−static int __devexit sht15_remove(struct platform_device *pdev)
1005+static int sht15_remove(struct platform_device *pdev)
10061006 {
10071007 struct sht15_data *data = platform_get_drvdata(pdev);
10081008
@@ -1043,7 +1043,7 @@ static struct platform_driver sht15_driver = { · 34 unmodified lines
10431043 .owner = THIS_MODULE,
10441044 },
10451045 .probe = sht15_probe,
1046− .remove = __devexit_p(sht15_remove),
1046+ .remove = sht15_remove,
10471047 .id_table = sht15_device_ids,
10481048 };
10491049 module_platform_driver(sht15_driver);
drivers/hwmon/sht21.c+3−3
@@ -187,7 +187,7 @@ static const struct attribute_group sht21_attr_group = { · 186 unmodified lines
187187 * device's name.
188188 * Returns 0 on success.
189189 */
190−static int __devinit sht21_probe(struct i2c_client *client,
190+static int sht21_probe(struct i2c_client *client,
191191 const struct i2c_device_id *id)
192192 {
193193 struct sht21 *sht21;
@@ -233,7 +233,7 @@ fail_remove_sysfs: · 39 unmodified lines
233233 * sht21_remove() - remove device
234234 * @client: I2C client device
235235 */
236−static int __devexit sht21_remove(struct i2c_client *client)
236+static int sht21_remove(struct i2c_client *client)
237237 {
238238 struct sht21 *sht21 = i2c_get_clientdata(client);
239239
@@ -253,7 +253,7 @@ MODULE_DEVICE_TABLE(i2c, sht21_id); · 13 unmodified lines
253253 static struct i2c_driver sht21_driver = {
254254 .driver.name = "sht21",
255255 .probe = sht21_probe,
256− .remove = __devexit_p(sht21_remove),
256+ .remove = sht21_remove,
257257 .id_table = sht21_id,
258258 };
259259
drivers/hwmon/sis5595.c+8−8
@@ -204,7 +204,7 @@ struct sis5595_data { · 203 unmodified lines
204204 static struct pci_dev *s_bridge; /* pointer to the (only) sis5595 */
205205
206206 static int sis5595_probe(struct platform_device *pdev);
207−static int __devexit sis5595_remove(struct platform_device *pdev);
207+static int sis5595_remove(struct platform_device *pdev);
208208
209209 static int sis5595_read_value(struct sis5595_data *data, u8 reg);
210210 static void sis5595_write_value(struct sis5595_data *data, u8 reg, u8 value);
@@ -217,7 +217,7 @@ static struct platform_driver sis5595_driver = { · 6 unmodified lines
217217 .name = "sis5595",
218218 },
219219 .probe = sis5595_probe,
220− .remove = __devexit_p(sis5595_remove),
220+ .remove = sis5595_remove,
221221 };
222222
223223 /* 4 Voltages */
@@ -583,7 +583,7 @@ static const struct attribute_group sis5595_group_temp1 = { · 359 unmodified lines
583583 };
584584
585585 /* This is called when the module is loaded */
586−static int __devinit sis5595_probe(struct platform_device *pdev)
586+static int sis5595_probe(struct platform_device *pdev)
587587 {
588588 int err = 0;
589589 int i;
@@ -659,7 +659,7 @@ exit_remove_files: · 69 unmodified lines
659659 return err;
660660 }
661661
662−static int __devexit sis5595_remove(struct platform_device *pdev)
662+static int sis5595_remove(struct platform_device *pdev)
663663 {
664664 struct sis5595_data *data = platform_get_drvdata(pdev);
665665
@@ -693,7 +693,7 @@ static void sis5595_write_value(struct sis5595_data *data, u8 reg, u8 value) · 27 unmodified lines
693693 }
694694
695695 /* Called when we have found a new SIS5595. */
696−static void __devinit sis5595_init_device(struct sis5595_data *data)
696+static void sis5595_init_device(struct sis5595_data *data)
697697 {
698698 u8 config = sis5595_read_value(data, SIS5595_REG_CONFIG);
699699 if (!(config & 0x01))
@@ -758,7 +758,7 @@ static DEFINE_PCI_DEVICE_TABLE(sis5595_pci_ids) = { · 58 unmodified lines
758758
759759 MODULE_DEVICE_TABLE(pci, sis5595_pci_ids);
760760
761−static int blacklist[] __devinitdata = {
761+static int blacklist[] = {
762762 PCI_DEVICE_ID_SI_540,
763763 PCI_DEVICE_ID_SI_550,
764764 PCI_DEVICE_ID_SI_630,
@@ -774,7 +774,7 @@ static int blacklist[] __devinitdata = { · 9 unmodified lines
774774 PCI_DEVICE_ID_SI_5598,
775775 0 };
776776
777−static int __devinit sis5595_device_add(unsigned short address)
777+static int sis5595_device_add(unsigned short address)
778778 {
779779 struct resource res = {
780780 .start = address,
@@ -815,7 +815,7 @@ exit: · 34 unmodified lines
815815 return err;
816816 }
817817
818−static int __devinit sis5595_pci_probe(struct pci_dev *dev,
818+static int sis5595_pci_probe(struct pci_dev *dev,
819819 const struct pci_device_id *id)
820820 {
821821 u16 address;
drivers/hwmon/smsc47b397.c+3−3
@@ -228,7 +228,7 @@ static const struct attribute_group smsc47b397_group = { · 227 unmodified lines
228228 .attrs = smsc47b397_attributes,
229229 };
230230
231−static int __devexit smsc47b397_remove(struct platform_device *pdev)
231+static int smsc47b397_remove(struct platform_device *pdev)
232232 {
233233 struct smsc47b397_data *data = platform_get_drvdata(pdev);
234234
@@ -246,10 +246,10 @@ static struct platform_driver smsc47b397_driver = { · 11 unmodified lines
246246 .name = DRVNAME,
247247 },
248248 .probe = smsc47b397_probe,
249− .remove = __devexit_p(smsc47b397_remove),
249+ .remove = smsc47b397_remove,
250250 };
251251
252−static int __devinit smsc47b397_probe(struct platform_device *pdev)
252+static int smsc47b397_probe(struct platform_device *pdev)
253253 {
254254 struct device *dev = &pdev->dev;
255255 struct smsc47b397_data *data;
drivers/hwmon/tmp102.c+3−3
@@ -147,7 +147,7 @@ static const struct attribute_group tmp102_attr_group = { · 146 unmodified lines
147147 #define TMP102_CONFIG (TMP102_CONF_TM | TMP102_CONF_EM | TMP102_CONF_CR1)
148148 #define TMP102_CONFIG_RD_ONLY (TMP102_CONF_R0 | TMP102_CONF_R1 | TMP102_CONF_AL)
149149
150−static int __devinit tmp102_probe(struct i2c_client *client,
150+static int tmp102_probe(struct i2c_client *client,
151151 const struct i2c_device_id *id)
152152 {
153153 struct tmp102 *tmp102;
@@ -216,7 +216,7 @@ fail_restore_config: · 62 unmodified lines
216216 return status;
217217 }
218218
219−static int __devexit tmp102_remove(struct i2c_client *client)
219+static int tmp102_remove(struct i2c_client *client)
220220 {
221221 struct tmp102 *tmp102 = i2c_get_clientdata(client);
222222
@@ -283,7 +283,7 @@ static struct i2c_driver tmp102_driver = { · 60 unmodified lines
283283 .driver.name = DRIVER_NAME,
284284 .driver.pm = TMP102_DEV_PM_OPS,
285285 .probe = tmp102_probe,
286− .remove = __devexit_p(tmp102_remove),
286+ .remove = tmp102_remove,
287287 .id_table = tmp102_id,
288288 };
289289
drivers/hwmon/twl4030-madc-hwmon.c+2−2
@@ -96,7 +96,7 @@ static const struct attribute_group twl4030_madc_group = { · 95 unmodified lines
9696 .attrs = twl4030_madc_attributes,
9797 };
9898
99−static int __devinit twl4030_madc_hwmon_probe(struct platform_device *pdev)
99+static int twl4030_madc_hwmon_probe(struct platform_device *pdev)
100100 {
101101 int ret;
102102 struct device *hwmon;
@@ -120,7 +120,7 @@ err_sysfs: · 17 unmodified lines
120120 return ret;
121121 }
122122
123−static int __devexit twl4030_madc_hwmon_remove(struct platform_device *pdev)
123+static int twl4030_madc_hwmon_remove(struct platform_device *pdev)
124124 {
125125 hwmon_device_unregister(&pdev->dev);
126126 sysfs_remove_group(&pdev->dev.kobj, &twl4030_madc_group);
drivers/hwmon/ultra45_env.c+3−3
@@ -250,7 +250,7 @@ static const struct attribute_group env_group = { · 249 unmodified lines
250250 .attrs = env_attributes,
251251 };
252252
253−static int __devinit env_probe(struct platform_device *op)
253+static int env_probe(struct platform_device *op)
254254 {
255255 struct env *p = kzalloc(sizeof(*p), GFP_KERNEL);
256256 int err = -ENOMEM;
@@ -291,7 +291,7 @@ out_free: · 34 unmodified lines
291291 goto out;
292292 }
293293
294−static int __devexit env_remove(struct platform_device *op)
294+static int env_remove(struct platform_device *op)
295295 {
296296 struct env *p = platform_get_drvdata(op);
297297
@@ -321,7 +321,7 @@ static struct platform_driver env_driver = { · 23 unmodified lines
321321 .of_match_table = env_match,
322322 },
323323 .probe = env_probe,
324− .remove = __devexit_p(env_remove),
324+ .remove = env_remove,
325325 };
326326
327327 module_platform_driver(env_driver);
drivers/hwmon/via-cputemp.c+3−3
@@ -121,7 +121,7 @@ static const struct attribute_group via_cputemp_group = { · 120 unmodified lines
121121 /* Optional attributes */
122122 static DEVICE_ATTR(cpu0_vid, S_IRUGO, show_cpu_vid, NULL);
123123
124−static int __devinit via_cputemp_probe(struct platform_device *pdev)
124+static int via_cputemp_probe(struct platform_device *pdev)
125125 {
126126 struct via_cputemp_data *data;
127127 struct cpuinfo_x86 *c = &cpu_data(pdev->id);
@@ -192,7 +192,7 @@ exit_remove: · 64 unmodified lines
192192 return err;
193193 }
194194
195−static int __devexit via_cputemp_remove(struct platform_device *pdev)
195+static int via_cputemp_remove(struct platform_device *pdev)
196196 {
197197 struct via_cputemp_data *data = platform_get_drvdata(pdev);
198198
@@ -209,7 +209,7 @@ static struct platform_driver via_cputemp_driver = { · 10 unmodified lines
209209 .name = DRVNAME,
210210 },
211211 .probe = via_cputemp_probe,
212− .remove = __devexit_p(via_cputemp_remove),
212+ .remove = via_cputemp_remove,
213213 };
214214
215215 struct pdev_entry {
drivers/hwmon/via686a.c+7−7
@@ -339,7 +339,7 @@ struct via686a_data { · 338 unmodified lines
339339 static struct pci_dev *s_bridge; /* pointer to the (only) via686a */
340340
341341 static int via686a_probe(struct platform_device *pdev);
342−static int __devexit via686a_remove(struct platform_device *pdev);
342+static int via686a_remove(struct platform_device *pdev);
343343
344344 static inline int via686a_read_value(struct via686a_data *data, u8 reg)
345345 {
@@ -677,12 +677,12 @@ static struct platform_driver via686a_driver = { · 331 unmodified lines
677677 .name = "via686a",
678678 },
679679 .probe = via686a_probe,
680− .remove = __devexit_p(via686a_remove),
680+ .remove = via686a_remove,
681681 };
682682
683683
684684 /* This is called when the module is loaded */
685−static int __devinit via686a_probe(struct platform_device *pdev)
685+static int via686a_probe(struct platform_device *pdev)
686686 {
687687 struct via686a_data *data;
688688 struct resource *res;
@@ -728,7 +728,7 @@ exit_remove_files: · 39 unmodified lines
728728 return err;
729729 }
730730
731−static int __devexit via686a_remove(struct platform_device *pdev)
731+static int via686a_remove(struct platform_device *pdev)
732732 {
733733 struct via686a_data *data = platform_get_drvdata(pdev);
734734
@@ -745,7 +745,7 @@ static void via686a_update_fan_div(struct via686a_data *data) · 10 unmodified lines
745745 data->fan_div[1] = reg >> 6;
746746 }
747747
748−static void __devinit via686a_init_device(struct via686a_data *data)
748+static void via686a_init_device(struct via686a_data *data)
749749 {
750750 u8 reg;
751751
@@ -833,7 +833,7 @@ static DEFINE_PCI_DEVICE_TABLE(via686a_pci_ids) = { · 81 unmodified lines
833833 };
834834 MODULE_DEVICE_TABLE(pci, via686a_pci_ids);
835835
836−static int __devinit via686a_device_add(unsigned short address)
836+static int via686a_device_add(unsigned short address)
837837 {
838838 struct resource res = {
839839 .start = address,
@@ -874,7 +874,7 @@ exit: · 34 unmodified lines
874874 return err;
875875 }
876876
877−static int __devinit via686a_pci_probe(struct pci_dev *dev,
877+static int via686a_pci_probe(struct pci_dev *dev,
878878 const struct pci_device_id *id)
879879 {
880880 u16 address, val;
drivers/hwmon/vt1211.c+4−4
@@ -1086,7 +1086,7 @@ static struct device_attribute vt1211_sysfs_misc[] = { · 1085 unmodified lines
10861086 * Device registration and initialization
10871087 * --------------------------------------------------------------------- */
10881088
1089−static void __devinit vt1211_init_device(struct vt1211_data *data)
1089+static void vt1211_init_device(struct vt1211_data *data)
10901090 {
10911091 /* set VRM */
10921092 data->vrm = vid_which_vrm();
@@ -1141,7 +1141,7 @@ static void vt1211_remove_sysfs(struct platform_device *pdev) · 48 unmodified lines
11411141 device_remove_file(dev, &vt1211_sysfs_misc[i]);
11421142 }
11431143
1144−static int __devinit vt1211_probe(struct platform_device *pdev)
1144+static int vt1211_probe(struct platform_device *pdev)
11451145 {
11461146 struct device *dev = &pdev->dev;
11471147 struct vt1211_data *data;
@@ -1217,7 +1217,7 @@ EXIT_DEV_REMOVE_SILENT: · 69 unmodified lines
12171217 return err;
12181218 }
12191219
1220−static int __devexit vt1211_remove(struct platform_device *pdev)
1220+static int vt1211_remove(struct platform_device *pdev)
12211221 {
12221222 struct vt1211_data *data = platform_get_drvdata(pdev);
12231223
@@ -1233,7 +1233,7 @@ static struct platform_driver vt1211_driver = { · 9 unmodified lines
12331233 .name = DRVNAME,
12341234 },
12351235 .probe = vt1211_probe,
1236− .remove = __devexit_p(vt1211_remove),
1236+ .remove = vt1211_remove,
12371237 };
12381238
12391239 static int __init vt1211_device_add(unsigned short address)
drivers/hwmon/vt8231.c+6−6
@@ -176,7 +176,7 @@ struct vt8231_data { · 175 unmodified lines
176176
177177 static struct pci_dev *s_bridge;
178178 static int vt8231_probe(struct platform_device *pdev);
179−static int __devexit vt8231_remove(struct platform_device *pdev);
179+static int vt8231_remove(struct platform_device *pdev);
180180 static struct vt8231_data *vt8231_update_device(struct device *dev);
181181 static void vt8231_init_device(struct vt8231_data *data);
182182
@@ -762,7 +762,7 @@ static struct platform_driver vt8231_driver = { · 579 unmodified lines
762762 .name = "vt8231",
763763 },
764764 .probe = vt8231_probe,
765− .remove = __devexit_p(vt8231_remove),
765+ .remove = vt8231_remove,
766766 };
767767
768768 static DEFINE_PCI_DEVICE_TABLE(vt8231_pci_ids) = {
@@ -772,7 +772,7 @@ static DEFINE_PCI_DEVICE_TABLE(vt8231_pci_ids) = { · 3 unmodified lines
772772
773773 MODULE_DEVICE_TABLE(pci, vt8231_pci_ids);
774774
775−static int __devinit vt8231_pci_probe(struct pci_dev *dev,
775+static int vt8231_pci_probe(struct pci_dev *dev,
776776 const struct pci_device_id *id);
777777
778778 static struct pci_driver vt8231_pci_driver = {
@@ -851,7 +851,7 @@ exit_remove_files: · 72 unmodified lines
851851 return err;
852852 }
853853
854−static int __devexit vt8231_remove(struct platform_device *pdev)
854+static int vt8231_remove(struct platform_device *pdev)
855855 {
856856 struct vt8231_data *data = platform_get_drvdata(pdev);
857857 int i;
@@ -943,7 +943,7 @@ static struct vt8231_data *vt8231_update_device(struct device *dev) · 85 unmodified lines
943943 return data;
944944 }
945945
946−static int __devinit vt8231_device_add(unsigned short address)
946+static int vt8231_device_add(unsigned short address)
947947 {
948948 struct resource res = {
949949 .start = address,
@@ -984,7 +984,7 @@ exit: · 34 unmodified lines
984984 return err;
985985 }
986986
987−static int __devinit vt8231_pci_probe(struct pci_dev *dev,
987+static int vt8231_pci_probe(struct pci_dev *dev,
988988 const struct pci_device_id *id)
989989 {
990990 u16 address, val;
drivers/hwmon/w83627ehf.c+6−6
@@ -1866,7 +1866,7 @@ static void w83627ehf_device_remove_files(struct device *dev) · 1865 unmodified lines
18661866 }
18671867
18681868 /* Get the monitoring functions started */
1869−static inline void __devinit w83627ehf_init_device(struct w83627ehf_data *data,
1869+static inline void w83627ehf_init_device(struct w83627ehf_data *data,
18701870 enum kinds kind)
18711871 {
18721872 int i;
@@ -1952,7 +1952,7 @@ static void w82627ehf_swap_tempreg(struct w83627ehf_data *data, · 79 unmodified lines
19521952 data->reg_temp_config[r2] = tmp;
19531953 }
19541954
1955−static void __devinit
1955+static void
19561956 w83627ehf_set_temp_reg_ehf(struct w83627ehf_data *data, int n_temp)
19571957 {
19581958 int i;
@@ -1965,7 +1965,7 @@ w83627ehf_set_temp_reg_ehf(struct w83627ehf_data *data, int n_temp) · 6 unmodified lines
19651965 }
19661966 }
19671967
1968−static void __devinit
1968+static void
19691969 w83627ehf_check_fan_inputs(const struct w83627ehf_sio_data *sio_data,
19701970 struct w83627ehf_data *data)
19711971 {
@@ -2054,7 +2054,7 @@ w83627ehf_check_fan_inputs(const struct w83627ehf_sio_data *sio_data, · 82 unmodified lines
20542054 }
20552055 }
20562056
2057−static int __devinit w83627ehf_probe(struct platform_device *pdev)
2057+static int w83627ehf_probe(struct platform_device *pdev)
20582058 {
20592059 struct device *dev = &pdev->dev;
20602060 struct w83627ehf_sio_data *sio_data = dev->platform_data;
@@ -2596,7 +2596,7 @@ exit: · 535 unmodified lines
25962596 return err;
25972597 }
25982598
2599−static int __devexit w83627ehf_remove(struct platform_device *pdev)
2599+static int w83627ehf_remove(struct platform_device *pdev)
26002600 {
26012601 struct w83627ehf_data *data = platform_get_drvdata(pdev);
26022602
@@ -2614,7 +2614,7 @@ static struct platform_driver w83627ehf_driver = { · 11 unmodified lines
26142614 .name = DRVNAME,
26152615 },
26162616 .probe = w83627ehf_probe,
2617− .remove = __devexit_p(w83627ehf_remove),
2617+ .remove = w83627ehf_remove,
26182618 };
26192619
26202620 /* w83627ehf_find() looks for a '627 in the Super-I/O config space */
drivers/hwmon/w83627hf.c+7−7
@@ -393,7 +393,7 @@ struct w83627hf_data { · 392 unmodified lines
393393
394394
395395 static int w83627hf_probe(struct platform_device *pdev);
396−static int __devexit w83627hf_remove(struct platform_device *pdev);
396+static int w83627hf_remove(struct platform_device *pdev);
397397
398398 static int w83627hf_read_value(struct w83627hf_data *data, u16 reg);
399399 static int w83627hf_write_value(struct w83627hf_data *data, u16 reg, u16 value);
@@ -407,7 +407,7 @@ static struct platform_driver w83627hf_driver = { · 7 unmodified lines
407407 .name = DRVNAME,
408408 },
409409 .probe = w83627hf_probe,
410− .remove = __devexit_p(w83627hf_remove),
410+ .remove = w83627hf_remove,
411411 };
412412
413413 static ssize_t
@@ -1342,7 +1342,7 @@ static const struct attribute_group w83627hf_group_opt = { · 928 unmodified lines
13421342 .attrs = w83627hf_attributes_opt,
13431343 };
13441344
1345−static int __devinit w83627hf_probe(struct platform_device *pdev)
1345+static int w83627hf_probe(struct platform_device *pdev)
13461346 {
13471347 struct device *dev = &pdev->dev;
13481348 struct w83627hf_sio_data *sio_data = dev->platform_data;
@@ -1508,7 +1508,7 @@ static int __devinit w83627hf_probe(struct platform_device *pdev) · 159 unmodified lines
15081508 return err;
15091509 }
15101510
1511−static int __devexit w83627hf_remove(struct platform_device *pdev)
1511+static int w83627hf_remove(struct platform_device *pdev)
15121512 {
15131513 struct w83627hf_data *data = platform_get_drvdata(pdev);
15141514
@@ -1564,7 +1564,7 @@ static int w83627hf_read_value(struct w83627hf_data *data, u16 reg) · 49 unmodified lines
15641564 return res;
15651565 }
15661566
1567−static int __devinit w83627thf_read_gpio5(struct platform_device *pdev)
1567+static int w83627thf_read_gpio5(struct platform_device *pdev)
15681568 {
15691569 struct w83627hf_sio_data *sio_data = pdev->dev.platform_data;
15701570 int res = 0xff, sel;
@@ -1597,7 +1597,7 @@ exit: · 26 unmodified lines
15971597 return res;
15981598 }
15991599
1600−static int __devinit w83687thf_read_vid(struct platform_device *pdev)
1600+static int w83687thf_read_vid(struct platform_device *pdev)
16011601 {
16021602 struct w83627hf_sio_data *sio_data = pdev->dev.platform_data;
16031603 int res = 0xff;
@@ -1649,7 +1649,7 @@ static int w83627hf_write_value(struct w83627hf_data *data, u16 reg, u16 value) · 45 unmodified lines
16491649 return 0;
16501650 }
16511651
1652−static void __devinit w83627hf_init_device(struct platform_device *pdev)
1652+static void w83627hf_init_device(struct platform_device *pdev)
16531653 {
16541654 struct w83627hf_data *data = platform_get_drvdata(pdev);
16551655 int i;
drivers/hwmon/w83781d.c+3−3
@@ -1764,7 +1764,7 @@ w83781d_write_value(struct w83781d_data *data, u16 reg, u16 value) · 1763 unmodified lines
17641764 return 0;
17651765 }
17661766
1767−static int __devinit
1767+static int
17681768 w83781d_isa_probe(struct platform_device *pdev)
17691769 {
17701770 int err, reg;
@@ -1824,7 +1824,7 @@ w83781d_isa_probe(struct platform_device *pdev) · 53 unmodified lines
18241824 return err;
18251825 }
18261826
1827−static int __devexit
1827+static int
18281828 w83781d_isa_remove(struct platform_device *pdev)
18291829 {
18301830 struct w83781d_data *data = platform_get_drvdata(pdev);
@@ -1842,7 +1842,7 @@ static struct platform_driver w83781d_isa_driver = { · 11 unmodified lines
18421842 .name = "w83781d",
18431843 },
18441844 .probe = w83781d_isa_probe,
1845− .remove = __devexit_p(w83781d_isa_remove),
1845+ .remove = w83781d_isa_remove,
18461846 };
18471847
18481848 /* return 1 if a supported chip is found, 0 otherwise */
drivers/hwmon/wm831x-hwmon.c+3−3
@@ -157,7 +157,7 @@ static const struct attribute_group wm831x_attr_group = { · 156 unmodified lines
157157 .attrs = wm831x_attributes,
158158 };
159159
160−static int __devinit wm831x_hwmon_probe(struct platform_device *pdev)
160+static int wm831x_hwmon_probe(struct platform_device *pdev)
161161 {
162162 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
163163 struct wm831x_hwmon *hwmon;
@@ -189,7 +189,7 @@ err_sysfs: · 25 unmodified lines
189189 return ret;
190190 }
191191
192−static int __devexit wm831x_hwmon_remove(struct platform_device *pdev)
192+static int wm831x_hwmon_remove(struct platform_device *pdev)
193193 {
194194 struct wm831x_hwmon *hwmon = platform_get_drvdata(pdev);
195195
@@ -201,7 +201,7 @@ static int __devexit wm831x_hwmon_remove(struct platform_device *pdev) · 5 unmodified lines
201201
202202 static struct platform_driver wm831x_hwmon_driver = {
203203 .probe = wm831x_hwmon_probe,
204− .remove = __devexit_p(wm831x_hwmon_remove),
204+ .remove = wm831x_hwmon_remove,
205205 .driver = {
206206 .name = "wm831x-hwmon",
207207 .owner = THIS_MODULE,
drivers/hwmon/wm8350-hwmon.c+3−3
@@ -91,7 +91,7 @@ static const struct attribute_group wm8350_attr_group = { · 90 unmodified lines
9191 .attrs = wm8350_attributes,
9292 };
9393
94−static int __devinit wm8350_hwmon_probe(struct platform_device *pdev)
94+static int wm8350_hwmon_probe(struct platform_device *pdev)
9595 {
9696 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
9797 int ret;
@@ -114,7 +114,7 @@ err: · 16 unmodified lines
114114 return ret;
115115 }
116116
117−static int __devexit wm8350_hwmon_remove(struct platform_device *pdev)
117+static int wm8350_hwmon_remove(struct platform_device *pdev)
118118 {
119119 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
120120
@@ -126,7 +126,7 @@ static int __devexit wm8350_hwmon_remove(struct platform_device *pdev) · 5 unmodified lines
126126
127127 static struct platform_driver wm8350_hwmon_driver = {
128128 .probe = wm8350_hwmon_probe,
129− .remove = __devexit_p(wm8350_hwmon_remove),
129+ .remove = wm8350_hwmon_remove,
130130 .driver = {
131131 .name = "wm8350-hwmon",
132132 .owner = THIS_MODULE,
drivers/hwspinlock/omap_hwspinlock.c+3−3
@@ -78,7 +78,7 @@ static const struct hwspinlock_ops omap_hwspinlock_ops = { · 77 unmodified lines
7878 .relax = omap_hwspinlock_relax,
7979 };
8080
81−static int __devinit omap_hwspinlock_probe(struct platform_device *pdev)
81+static int omap_hwspinlock_probe(struct platform_device *pdev)
8282 {
8383 struct hwspinlock_pdata *pdata = pdev->dev.platform_data;
8484 struct hwspinlock_device *bank;
@@ -142,7 +142,7 @@ iounmap_base: · 57 unmodified lines
142142 return ret;
143143 }
144144
145−static int __devexit omap_hwspinlock_remove(struct platform_device *pdev)
145+static int omap_hwspinlock_remove(struct platform_device *pdev)
146146 {
147147 struct hwspinlock_device *bank = platform_get_drvdata(pdev);
148148 void __iomem *io_base = bank->lock[0].priv - LOCK_BASE_OFFSET;
@@ -163,7 +163,7 @@ static int __devexit omap_hwspinlock_remove(struct platform_device *pdev) · 14 unmodified lines
163163
164164 static struct platform_driver omap_hwspinlock_driver = {
165165 .probe = omap_hwspinlock_probe,
166− .remove = __devexit_p(omap_hwspinlock_remove),
166+ .remove = omap_hwspinlock_remove,
167167 .driver = {
168168 .name = "omap_hwspinlock",
169169 .owner = THIS_MODULE,
drivers/hwspinlock/u8500_hsem.c+3−3
@@ -91,7 +91,7 @@ static const struct hwspinlock_ops u8500_hwspinlock_ops = { · 90 unmodified lines
9191 .relax = u8500_hsem_relax,
9292 };
9393
94−static int __devinit u8500_hsem_probe(struct platform_device *pdev)
94+static int u8500_hsem_probe(struct platform_device *pdev)
9595 {
9696 struct hwspinlock_pdata *pdata = pdev->dev.platform_data;
9797 struct hwspinlock_device *bank;
@@ -148,7 +148,7 @@ iounmap_base: · 50 unmodified lines
148148 return ret;
149149 }
150150
151−static int __devexit u8500_hsem_remove(struct platform_device *pdev)
151+static int u8500_hsem_remove(struct platform_device *pdev)
152152 {
153153 struct hwspinlock_device *bank = platform_get_drvdata(pdev);
154154 void __iomem *io_base = bank->lock[0].priv - HSEM_REGISTER_OFFSET;
@@ -172,7 +172,7 @@ static int __devexit u8500_hsem_remove(struct platform_device *pdev) · 17 unmodified lines
172172
173173 static struct platform_driver u8500_hsem_driver = {
174174 .probe = u8500_hsem_probe,
175− .remove = __devexit_p(u8500_hsem_remove),
175+ .remove = u8500_hsem_remove,
176176 .driver = {
177177 .name = "u8500_hsem",
178178 .owner = THIS_MODULE,
drivers/leds/leds-adp5520.c+4−4
@@ -85,7 +85,7 @@ static int adp5520_led_setup(struct adp5520_led *led) · 84 unmodified lines
8585 return ret;
8686 }
8787
88−static int __devinit adp5520_led_prepare(struct platform_device *pdev)
88+static int adp5520_led_prepare(struct platform_device *pdev)
8989 {
9090 struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data;
9191 struct device *dev = pdev->dev.parent;
@@ -101,7 +101,7 @@ static int __devinit adp5520_led_prepare(struct platform_device *pdev) · 9 unmodified lines
101101 return ret;
102102 }
103103
104−static int __devinit adp5520_led_probe(struct platform_device *pdev)
104+static int adp5520_led_probe(struct platform_device *pdev)
105105 {
106106 struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data;
107107 struct adp5520_led *led, *led_dat;
@@ -183,7 +183,7 @@ err: · 75 unmodified lines
183183 return ret;
184184 }
185185
186−static int __devexit adp5520_led_remove(struct platform_device *pdev)
186+static int adp5520_led_remove(struct platform_device *pdev)
187187 {
188188 struct adp5520_leds_platform_data *pdata = pdev->dev.platform_data;
189189 struct adp5520_led *led;
@@ -208,7 +208,7 @@ static struct platform_driver adp5520_led_driver = { · 18 unmodified lines
208208 .owner = THIS_MODULE,
209209 },
210210 .probe = adp5520_led_probe,
211− .remove = __devexit_p(adp5520_led_remove),
211+ .remove = adp5520_led_remove,
212212 };
213213
214214 module_platform_driver(adp5520_led_driver);
drivers/leds/leds-asic3.c+3−3
@@ -92,7 +92,7 @@ static int blink_set(struct led_classdev *cdev, · 91 unmodified lines
9292 return 0;
9393 }
9494
95−static int __devinit asic3_led_probe(struct platform_device *pdev)
95+static int asic3_led_probe(struct platform_device *pdev)
9696 {
9797 struct asic3_led *led = pdev->dev.platform_data;
9898 int ret;
@@ -125,7 +125,7 @@ out: · 26 unmodified lines
125125 return ret;
126126 }
127127
128−static int __devexit asic3_led_remove(struct platform_device *pdev)
128+static int asic3_led_remove(struct platform_device *pdev)
129129 {
130130 struct asic3_led *led = pdev->dev.platform_data;
131131
@@ -167,7 +167,7 @@ static const struct dev_pm_ops asic3_led_pm_ops = { · 35 unmodified lines
167167
168168 static struct platform_driver asic3_led_driver = {
169169 .probe = asic3_led_probe,
170− .remove = __devexit_p(asic3_led_remove),
170+ .remove = asic3_led_remove,
171171 .driver = {
172172 .name = "leds-asic3",
173173 .owner = THIS_MODULE,
drivers/leds/leds-atmel-pwm.c+1−1
@@ -35,7 +35,7 @@ static void pwmled_brightness(struct led_classdev *cdev, enum led_brightness b) · 34 unmodified lines
3535 * NOTE: we reuse the platform_data structure of GPIO leds,
3636 * but repurpose its "gpio" number as a PWM channel number.
3737 */
38−static int __devinit pwmled_probe(struct platform_device *pdev)
38+static int pwmled_probe(struct platform_device *pdev)
3939 {
4040 const struct gpio_led_platform_data *pdata;
4141 struct pwmled *leds;
drivers/leds/leds-bd2802.c+1−1
@@ -670,7 +670,7 @@ static void bd2802_unregister_led_classdev(struct bd2802_led *led) · 669 unmodified lines
670670 led_classdev_unregister(&led->cdev_led1r);
671671 }
672672
673−static int __devinit bd2802_probe(struct i2c_client *client,
673+static int bd2802_probe(struct i2c_client *client,
674674 const struct i2c_device_id *id)
675675 {
676676 struct bd2802_led *led;
drivers/leds/leds-blinkm.c+3−3
@@ -632,7 +632,7 @@ static int blinkm_detect(struct i2c_client *client, struct i2c_board_info *info) · 631 unmodified lines
632632 return 0;
633633 }
634634
635−static int __devinit blinkm_probe(struct i2c_client *client,
635+static int blinkm_probe(struct i2c_client *client,
636636 const struct i2c_device_id *id)
637637 {
638638 struct blinkm_data *data;
@@ -743,7 +743,7 @@ exit: · 104 unmodified lines
743743 return err;
744744 }
745745
746−static int __devexit blinkm_remove(struct i2c_client *client)
746+static int blinkm_remove(struct i2c_client *client)
747747 {
748748 struct blinkm_data *data = i2c_get_clientdata(client);
749749 int ret = 0;
@@ -801,7 +801,7 @@ static struct i2c_driver blinkm_driver = { · 51 unmodified lines
801801 .name = "blinkm",
802802 },
803803 .probe = blinkm_probe,
804− .remove = __devexit_p(blinkm_remove),
804+ .remove = blinkm_remove,
805805 .id_table = blinkm_id,
806806 .detect = blinkm_detect,
807807 .address_list = normal_i2c,
drivers/leds/leds-clevo-mail.c+1−1
@@ -153,7 +153,7 @@ static struct led_classdev clevo_mail_led = { · 152 unmodified lines
153153 .flags = LED_CORE_SUSPENDRESUME,
154154 };
155155
156−static int __devinit clevo_mail_led_probe(struct platform_device *pdev)
156+static int clevo_mail_led_probe(struct platform_device *pdev)
157157 {
158158 return led_classdev_register(&pdev->dev, &clevo_mail_led);
159159 }
drivers/leds/leds-cobalt-qube.c+3−3
@@ -34,7 +34,7 @@ static struct led_classdev qube_front_led = { · 33 unmodified lines
3434 .default_trigger = "default-on",
3535 };
3636
37−static int __devinit cobalt_qube_led_probe(struct platform_device *pdev)
37+static int cobalt_qube_led_probe(struct platform_device *pdev)
3838 {
3939 struct resource *res;
4040 int retval;
@@ -63,7 +63,7 @@ err_iounmap: · 22 unmodified lines
6363 return retval;
6464 }
6565
66−static int __devexit cobalt_qube_led_remove(struct platform_device *pdev)
66+static int cobalt_qube_led_remove(struct platform_device *pdev)
6767 {
6868 led_classdev_unregister(&qube_front_led);
6969
@@ -77,7 +77,7 @@ static int __devexit cobalt_qube_led_remove(struct platform_device *pdev) · 7 unmodified lines
7777
7878 static struct platform_driver cobalt_qube_led_driver = {
7979 .probe = cobalt_qube_led_probe,
80− .remove = __devexit_p(cobalt_qube_led_remove),
80+ .remove = cobalt_qube_led_remove,
8181 .driver = {
8282 .name = "cobalt-qube-leds",
8383 .owner = THIS_MODULE,
drivers/leds/leds-cobalt-raq.c+3−3
@@ -76,7 +76,7 @@ static struct led_classdev raq_power_off_led = { · 75 unmodified lines
7676 .default_trigger = "power-off",
7777 };
7878
79−static int __devinit cobalt_raq_led_probe(struct platform_device *pdev)
79+static int cobalt_raq_led_probe(struct platform_device *pdev)
8080 {
8181 struct resource *res;
8282 int retval;
@@ -109,7 +109,7 @@ err_iounmap: · 26 unmodified lines
109109 return retval;
110110 }
111111
112−static int __devexit cobalt_raq_led_remove(struct platform_device *pdev)
112+static int cobalt_raq_led_remove(struct platform_device *pdev)
113113 {
114114 led_classdev_unregister(&raq_power_off_led);
115115 led_classdev_unregister(&raq_web_led);
@@ -124,7 +124,7 @@ static int __devexit cobalt_raq_led_remove(struct platform_device *pdev) · 8 unmodified lines
124124
125125 static struct platform_driver cobalt_raq_led_driver = {
126126 .probe = cobalt_raq_led_probe,
127− .remove = __devexit_p(cobalt_raq_led_remove),
127+ .remove = cobalt_raq_led_remove,
128128 .driver = {
129129 .name = "cobalt-raq-leds",
130130 .owner = THIS_MODULE,
drivers/leds/leds-da903x.c+3−3
@@ -91,7 +91,7 @@ static void da903x_led_set(struct led_classdev *led_cdev, · 90 unmodified lines
9191 schedule_work(&led->work);
9292 }
9393
94−static int __devinit da903x_led_probe(struct platform_device *pdev)
94+static int da903x_led_probe(struct platform_device *pdev)
9595 {
9696 struct led_info *pdata = pdev->dev.platform_data;
9797 struct da903x_led *led;
@@ -136,7 +136,7 @@ static int __devinit da903x_led_probe(struct platform_device *pdev) · 38 unmodified lines
136136 return 0;
137137 }
138138
139−static int __devexit da903x_led_remove(struct platform_device *pdev)
139+static int da903x_led_remove(struct platform_device *pdev)
140140 {
141141 struct da903x_led *led = platform_get_drvdata(pdev);
142142
@@ -150,7 +150,7 @@ static struct platform_driver da903x_led_driver = { · 7 unmodified lines
150150 .owner = THIS_MODULE,
151151 },
152152 .probe = da903x_led_probe,
153− .remove = __devexit_p(da903x_led_remove),
153+ .remove = da903x_led_remove,
154154 };
155155
156156 module_platform_driver(da903x_led_driver);
drivers/leds/leds-da9052.c+3−3
@@ -102,7 +102,7 @@ static int da9052_configure_leds(struct da9052 *da9052) · 101 unmodified lines
102102 return error;
103103 }
104104
105−static int __devinit da9052_led_probe(struct platform_device *pdev)
105+static int da9052_led_probe(struct platform_device *pdev)
106106 {
107107 struct da9052_pdata *pdata;
108108 struct da9052 *da9052;
@@ -176,7 +176,7 @@ err: · 67 unmodified lines
176176 return error;
177177 }
178178
179−static int __devexit da9052_led_remove(struct platform_device *pdev)
179+static int da9052_led_remove(struct platform_device *pdev)
180180 {
181181 struct da9052_led *led = platform_get_drvdata(pdev);
182182 struct da9052_pdata *pdata;
@@ -204,7 +204,7 @@ static struct platform_driver da9052_led_driver = { · 21 unmodified lines
204204 .owner = THIS_MODULE,
205205 },
206206 .probe = da9052_led_probe,
207− .remove = __devexit_p(da9052_led_remove),
207+ .remove = da9052_led_remove,
208208 };
209209
210210 module_platform_driver(da9052_led_driver);
drivers/leds/leds-gpio.c+6−6
@@ -91,7 +91,7 @@ static int gpio_blink_set(struct led_classdev *led_cdev, · 90 unmodified lines
9191 delay_on, delay_off);
9292 }
9393
94−static int __devinit create_gpio_led(const struct gpio_led *template,
94+static int create_gpio_led(const struct gpio_led *template,
9595 struct gpio_led_data *led_dat, struct device *parent,
9696 int (*blink_set)(unsigned, int, unsigned long *, unsigned long *))
9797 {
@@ -167,7 +167,7 @@ static inline int sizeof_gpio_leds_priv(int num_leds) · 69 unmodified lines
167167
168168 /* Code to create from OpenFirmware platform devices */
169169 #ifdef CONFIG_OF_GPIO
170−static struct gpio_leds_priv * __devinit gpio_leds_create_of(struct platform_device *pdev)
170+static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev)
171171 {
172172 struct device_node *np = pdev->dev.of_node, *child;
173173 struct gpio_leds_priv *priv;
@@ -224,14 +224,14 @@ static const struct of_device_id of_gpio_leds_match[] = { · 50 unmodified lines
224224 {},
225225 };
226226 #else /* CONFIG_OF_GPIO */
227−static struct gpio_leds_priv * __devinit gpio_leds_create_of(struct platform_device *pdev)
227+static struct gpio_leds_priv *gpio_leds_create_of(struct platform_device *pdev)
228228 {
229229 return NULL;
230230 }
231231 #endif /* CONFIG_OF_GPIO */
232232
233233
234−static int __devinit gpio_led_probe(struct platform_device *pdev)
234+static int gpio_led_probe(struct platform_device *pdev)
235235 {
236236 struct gpio_led_platform_data *pdata = pdev->dev.platform_data;
237237 struct gpio_leds_priv *priv;
@@ -273,7 +273,7 @@ static int __devinit gpio_led_probe(struct platform_device *pdev) · 35 unmodified lines
273273 return 0;
274274 }
275275
276−static int __devexit gpio_led_remove(struct platform_device *pdev)
276+static int gpio_led_remove(struct platform_device *pdev)
277277 {
278278 struct gpio_leds_priv *priv = platform_get_drvdata(pdev);
279279 int i;
@@ -288,7 +288,7 @@ static int __devexit gpio_led_remove(struct platform_device *pdev) · 8 unmodified lines
288288
289289 static struct platform_driver gpio_led_driver = {
290290 .probe = gpio_led_probe,
291− .remove = __devexit_p(gpio_led_remove),
291+ .remove = gpio_led_remove,
292292 .driver = {
293293 .name = "leds-gpio",
294294 .owner = THIS_MODULE,
drivers/leds/leds-lm3530.c+3−3
@@ -377,7 +377,7 @@ static ssize_t lm3530_mode_set(struct device *dev, struct device_attribute · 376 unmodified lines
377377 }
378378 static DEVICE_ATTR(mode, 0644, lm3530_mode_get, lm3530_mode_set);
379379
380−static int __devinit lm3530_probe(struct i2c_client *client,
380+static int lm3530_probe(struct i2c_client *client,
381381 const struct i2c_device_id *id)
382382 {
383383 struct lm3530_platform_data *pdata = client->dev.platform_data;
@@ -452,7 +452,7 @@ err_create_file: · 68 unmodified lines
452452 return err;
453453 }
454454
455−static int __devexit lm3530_remove(struct i2c_client *client)
455+static int lm3530_remove(struct i2c_client *client)
456456 {
457457 struct lm3530_data *drvdata = i2c_get_clientdata(client);
458458
@@ -472,7 +472,7 @@ MODULE_DEVICE_TABLE(i2c, lm3530_id); · 13 unmodified lines
472472
473473 static struct i2c_driver lm3530_i2c_driver = {
474474 .probe = lm3530_probe,
475− .remove = __devexit_p(lm3530_remove),
475+ .remove = lm3530_remove,
476476 .id_table = lm3530_id,
477477 .driver = {
478478 .name = LM3530_NAME,
drivers/leds/leds-lm3533.c+4−4
@@ -646,7 +646,7 @@ static struct attribute_group lm3533_led_attribute_group = { · 645 unmodified lines
646646 .attrs = lm3533_led_attributes
647647 };
648648
649−static int __devinit lm3533_led_setup(struct lm3533_led *led,
649+static int lm3533_led_setup(struct lm3533_led *led,
650650 struct lm3533_led_platform_data *pdata)
651651 {
652652 int ret;
@@ -658,7 +658,7 @@ static int __devinit lm3533_led_setup(struct lm3533_led *led, · 5 unmodified lines
658658 return lm3533_ctrlbank_set_pwm(&led->cb, pdata->pwm);
659659 }
660660
661−static int __devinit lm3533_led_probe(struct platform_device *pdev)
661+static int lm3533_led_probe(struct platform_device *pdev)
662662 {
663663 struct lm3533 *lm3533;
664664 struct lm3533_led_platform_data *pdata;
@@ -742,7 +742,7 @@ err_unregister: · 77 unmodified lines
742742 return ret;
743743 }
744744
745−static int __devexit lm3533_led_remove(struct platform_device *pdev)
745+static int lm3533_led_remove(struct platform_device *pdev)
746746 {
747747 struct lm3533_led *led = platform_get_drvdata(pdev);
748748
@@ -774,7 +774,7 @@ static struct platform_driver lm3533_led_driver = { · 25 unmodified lines
774774 .owner = THIS_MODULE,
775775 },
776776 .probe = lm3533_led_probe,
777− .remove = __devexit_p(lm3533_led_remove),
777+ .remove = lm3533_led_remove,
778778 .shutdown = lm3533_led_shutdown,
779779 };
780780 module_platform_driver(lm3533_led_driver);
drivers/leds/leds-lm355x.c+4−4
@@ -168,7 +168,7 @@ static char lm355x_name[][I2C_NAME_SIZE] = { · 167 unmodified lines
168168 };
169169
170170 /* chip initialize */
171−static int __devinit lm355x_chip_init(struct lm355x_chip_data *chip)
171+static int lm355x_chip_init(struct lm355x_chip_data *chip)
172172 {
173173 int ret;
174174 unsigned int reg_val;
@@ -420,7 +420,7 @@ static const struct regmap_config lm355x_regmap = { · 245 unmodified lines
420420 };
421421
422422 /* module initialize */
423−static int __devinit lm355x_probe(struct i2c_client *client,
423+static int lm355x_probe(struct i2c_client *client,
424424 const struct i2c_device_id *id)
425425 {
426426 struct lm355x_platform_data *pdata = client->dev.platform_data;
@@ -526,7 +526,7 @@ err_out: · 99 unmodified lines
526526 return err;
527527 }
528528
529−static int __devexit lm355x_remove(struct i2c_client *client)
529+static int lm355x_remove(struct i2c_client *client)
530530 {
531531 struct lm355x_chip_data *chip = i2c_get_clientdata(client);
532532 struct lm355x_reg_data *preg = chip->regs;
@@ -560,7 +560,7 @@ static struct i2c_driver lm355x_i2c_driver = { · 27 unmodified lines
560560 .pm = NULL,
561561 },
562562 .probe = lm355x_probe,
563− .remove = __devexit_p(lm355x_remove),
563+ .remove = lm355x_remove,
564564 .id_table = lm355x_id,
565565 };
566566
drivers/leds/leds-lm3642.c+4−4
@@ -93,7 +93,7 @@ struct lm3642_chip_data { · 92 unmodified lines
9393 };
9494
9595 /* chip initialize */
96−static int __devinit lm3642_chip_init(struct lm3642_chip_data *chip)
96+static int lm3642_chip_init(struct lm3642_chip_data *chip)
9797 {
9898 int ret;
9999 struct lm3642_platform_data *pdata = chip->pdata;
@@ -313,7 +313,7 @@ static const struct regmap_config lm3642_regmap = { · 213 unmodified lines
313313 .max_register = REG_MAX,
314314 };
315315
316−static int __devinit lm3642_probe(struct i2c_client *client,
316+static int lm3642_probe(struct i2c_client *client,
317317 const struct i2c_device_id *id)
318318 {
319319 struct lm3642_platform_data *pdata = client->dev.platform_data;
@@ -420,7 +420,7 @@ err_out: · 100 unmodified lines
420420 return err;
421421 }
422422
423−static int __devexit lm3642_remove(struct i2c_client *client)
423+static int lm3642_remove(struct i2c_client *client)
424424 {
425425 struct lm3642_chip_data *chip = i2c_get_clientdata(client);
426426
@@ -450,7 +450,7 @@ static struct i2c_driver lm3642_i2c_driver = { · 23 unmodified lines
450450 .pm = NULL,
451451 },
452452 .probe = lm3642_probe,
453− .remove = __devexit_p(lm3642_remove),
453+ .remove = lm3642_remove,
454454 .id_table = lm3642_id,
455455 };
456456
drivers/leds/leds-lp3944.c+3−3
@@ -374,7 +374,7 @@ exit: · 373 unmodified lines
374374 return err;
375375 }
376376
377−static int __devinit lp3944_probe(struct i2c_client *client,
377+static int lp3944_probe(struct i2c_client *client,
378378 const struct i2c_device_id *id)
379379 {
380380 struct lp3944_platform_data *lp3944_pdata = client->dev.platform_data;
@@ -411,7 +411,7 @@ static int __devinit lp3944_probe(struct i2c_client *client, · 30 unmodified lines
411411 return 0;
412412 }
413413
414−static int __devexit lp3944_remove(struct i2c_client *client)
414+static int lp3944_remove(struct i2c_client *client)
415415 {
416416 struct lp3944_platform_data *pdata = client->dev.platform_data;
417417 struct lp3944_data *data = i2c_get_clientdata(client);
@@ -446,7 +446,7 @@ static struct i2c_driver lp3944_driver = { · 28 unmodified lines
446446 .name = "lp3944",
447447 },
448448 .probe = lp3944_probe,
449− .remove = __devexit_p(lp3944_remove),
449+ .remove = lp3944_remove,
450450 .id_table = lp3944_id,
451451 };
452452
drivers/leds/leds-lp5521.c+4−4
@@ -687,7 +687,7 @@ static void lp5521_unregister_sysfs(struct i2c_client *client) · 686 unmodified lines
687687 &lp5521_led_attribute_group);
688688 }
689689
690−static int __devinit lp5521_init_led(struct lp5521_led *led,
690+static int lp5521_init_led(struct lp5521_led *led,
691691 struct i2c_client *client,
692692 int chan, struct lp5521_platform_data *pdata)
693693 {
@@ -736,7 +736,7 @@ static int __devinit lp5521_init_led(struct lp5521_led *led, · 42 unmodified lines
736736 return 0;
737737 }
738738
739−static int __devinit lp5521_probe(struct i2c_client *client,
739+static int lp5521_probe(struct i2c_client *client,
740740 const struct i2c_device_id *id)
741741 {
742742 struct lp5521_chip *chip;
@@ -855,7 +855,7 @@ fail1: · 112 unmodified lines
855855 return ret;
856856 }
857857
858−static int __devexit lp5521_remove(struct i2c_client *client)
858+static int lp5521_remove(struct i2c_client *client)
859859 {
860860 struct lp5521_chip *chip = i2c_get_clientdata(client);
861861 int i;
@@ -886,7 +886,7 @@ static struct i2c_driver lp5521_driver = { · 24 unmodified lines
886886 .name = "lp5521",
887887 },
888888 .probe = lp5521_probe,
889− .remove = __devexit_p(lp5521_remove),
889+ .remove = lp5521_remove,
890890 .id_table = lp5521_id,
891891 };
892892
drivers/leds/leds-lp5523.c+2−2
@@ -833,7 +833,7 @@ static int __init lp5523_init_engine(struct lp5523_engine *engine, int id) · 832 unmodified lines
833833 return 0;
834834 }
835835
836−static int __devinit lp5523_init_led(struct lp5523_led *led, struct device *dev,
836+static int lp5523_init_led(struct lp5523_led *led, struct device *dev,
837837 int chan, struct lp5523_platform_data *pdata,
838838 const char *chip_name)
839839 {
@@ -882,7 +882,7 @@ static int __devinit lp5523_init_led(struct lp5523_led *led, struct device *dev, · 42 unmodified lines
882882 return 0;
883883 }
884884
885−static int __devinit lp5523_probe(struct i2c_client *client,
885+static int lp5523_probe(struct i2c_client *client,
886886 const struct i2c_device_id *id)
887887 {
888888 struct lp5523_chip *chip;
drivers/leds/leds-lp8788.c+3−3
@@ -125,7 +125,7 @@ static void lp8788_brightness_set(struct led_classdev *led_cdev, · 124 unmodified lines
125125 schedule_work(&led->work);
126126 }
127127
128−static __devinit int lp8788_led_probe(struct platform_device *pdev)
128+static int lp8788_led_probe(struct platform_device *pdev)
129129 {
130130 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent);
131131 struct lp8788_led_platform_data *led_pdata;
@@ -167,7 +167,7 @@ static __devinit int lp8788_led_probe(struct platform_device *pdev) · 35 unmodified lines
167167 return 0;
168168 }
169169
170−static int __devexit lp8788_led_remove(struct platform_device *pdev)
170+static int lp8788_led_remove(struct platform_device *pdev)
171171 {
172172 struct lp8788_led *led = platform_get_drvdata(pdev);
173173
@@ -179,7 +179,7 @@ static int __devexit lp8788_led_remove(struct platform_device *pdev) · 5 unmodified lines
179179
180180 static struct platform_driver lp8788_led_driver = {
181181 .probe = lp8788_led_probe,
182− .remove = __devexit_p(lp8788_led_remove),
182+ .remove = lp8788_led_remove,
183183 .driver = {
184184 .name = LP8788_DEV_KEYLED,
185185 .owner = THIS_MODULE,
drivers/leds/leds-lt3593.c+4−4
@@ -82,7 +82,7 @@ static void lt3593_led_set(struct led_classdev *led_cdev, · 81 unmodified lines
8282 schedule_work(&led_dat->work);
8383 }
8484
85−static int __devinit create_lt3593_led(const struct gpio_led *template,
85+static int create_lt3593_led(const struct gpio_led *template,
8686 struct lt3593_led_data *led_dat, struct device *parent)
8787 {
8888 int ret, state;
@@ -140,7 +140,7 @@ static void delete_lt3593_led(struct lt3593_led_data *led) · 51 unmodified lines
140140 gpio_free(led->gpio);
141141 }
142142
143−static int __devinit lt3593_led_probe(struct platform_device *pdev)
143+static int lt3593_led_probe(struct platform_device *pdev)
144144 {
145145 struct gpio_led_platform_data *pdata = pdev->dev.platform_data;
146146 struct lt3593_led_data *leds_data;
@@ -173,7 +173,7 @@ err: · 26 unmodified lines
173173 return ret;
174174 }
175175
176−static int __devexit lt3593_led_remove(struct platform_device *pdev)
176+static int lt3593_led_remove(struct platform_device *pdev)
177177 {
178178 int i;
179179 struct gpio_led_platform_data *pdata = pdev->dev.platform_data;
@@ -189,7 +189,7 @@ static int __devexit lt3593_led_remove(struct platform_device *pdev) · 9 unmodified lines
189189
190190 static struct platform_driver lt3593_led_driver = {
191191 .probe = lt3593_led_probe,
192− .remove = __devexit_p(lt3593_led_remove),
192+ .remove = lt3593_led_remove,
193193 .driver = {
194194 .name = "leds-lt3593",
195195 .owner = THIS_MODULE,
drivers/leds/leds-max8997.c+3−3
@@ -229,7 +229,7 @@ static ssize_t max8997_led_store_mode(struct device *dev, · 228 unmodified lines
229229
230230 static DEVICE_ATTR(mode, 0644, max8997_led_show_mode, max8997_led_store_mode);
231231
232−static int __devinit max8997_led_probe(struct platform_device *pdev)
232+static int max8997_led_probe(struct platform_device *pdev)
233233 {
234234 struct max8997_dev *iodev = dev_get_drvdata(pdev->dev.parent);
235235 struct max8997_platform_data *pdata = dev_get_platdata(iodev->dev);
@@ -292,7 +292,7 @@ static int __devinit max8997_led_probe(struct platform_device *pdev) · 56 unmodified lines
292292 return 0;
293293 }
294294
295−static int __devexit max8997_led_remove(struct platform_device *pdev)
295+static int max8997_led_remove(struct platform_device *pdev)
296296 {
297297 struct max8997_led *led = platform_get_drvdata(pdev);
298298
@@ -308,7 +308,7 @@ static struct platform_driver max8997_led_driver = { · 9 unmodified lines
308308 .owner = THIS_MODULE,
309309 },
310310 .probe = max8997_led_probe,
311− .remove = __devexit_p(max8997_led_remove),
311+ .remove = max8997_led_remove,
312312 };
313313
314314 module_platform_driver(max8997_led_driver);
drivers/leds/leds-mc13783.c+5−5
@@ -128,7 +128,7 @@ static void mc13783_led_set(struct led_classdev *led_cdev, · 127 unmodified lines
128128 schedule_work(&led->work);
129129 }
130130
131−static int __devinit mc13783_led_setup(struct mc13783_led *led, int max_current)
131+static int mc13783_led_setup(struct mc13783_led *led, int max_current)
132132 {
133133 int shift = 0;
134134 int mask = 0;
@@ -181,7 +181,7 @@ static int __devinit mc13783_led_setup(struct mc13783_led *led, int max_current) · 46 unmodified lines
181181 return ret;
182182 }
183183
184−static int __devinit mc13783_leds_prepare(struct platform_device *pdev)
184+static int mc13783_leds_prepare(struct platform_device *pdev)
185185 {
186186 struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev);
187187 struct mc13xxx *dev = dev_get_drvdata(pdev->dev.parent);
@@ -262,7 +262,7 @@ out: · 74 unmodified lines
262262 return ret;
263263 }
264264
265−static int __devinit mc13783_led_probe(struct platform_device *pdev)
265+static int mc13783_led_probe(struct platform_device *pdev)
266266 {
267267 struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev);
268268 struct mc13xxx_led_platform_data *led_cur;
@@ -348,7 +348,7 @@ err_register: · 79 unmodified lines
348348 return ret;
349349 }
350350
351−static int __devexit mc13783_led_remove(struct platform_device *pdev)
351+static int mc13783_led_remove(struct platform_device *pdev)
352352 {
353353 struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev);
354354 struct mc13783_led *led = platform_get_drvdata(pdev);
@@ -381,7 +381,7 @@ static struct platform_driver mc13783_led_driver = { · 26 unmodified lines
381381 .owner = THIS_MODULE,
382382 },
383383 .probe = mc13783_led_probe,
384− .remove = __devexit_p(mc13783_led_remove),
384+ .remove = mc13783_led_remove,
385385 };
386386
387387 module_platform_driver(mc13783_led_driver);
drivers/leds/leds-netxbig.c+5−5
@@ -71,7 +71,7 @@ static void gpio_ext_set_value(struct netxbig_gpio_ext *gpio_ext, · 70 unmodified lines
7171 spin_unlock_irqrestore(&gpio_ext_lock, flags);
7272 }
7373
74−static int __devinit gpio_ext_init(struct netxbig_gpio_ext *gpio_ext)
74+static int gpio_ext_init(struct netxbig_gpio_ext *gpio_ext)
7575 {
7676 int err;
7777 int i;
@@ -301,7 +301,7 @@ static void delete_netxbig_led(struct netxbig_led_data *led_dat) · 223 unmodified lines
301301 led_classdev_unregister(&led_dat->cdev);
302302 }
303303
304−static int __devinit
304+static int
305305 create_netxbig_led(struct platform_device *pdev,
306306 struct netxbig_led_data *led_dat,
307307 const struct netxbig_led *template)
@@ -352,7 +352,7 @@ create_netxbig_led(struct platform_device *pdev, · 44 unmodified lines
352352 return ret;
353353 }
354354
355−static int __devinit netxbig_led_probe(struct platform_device *pdev)
355+static int netxbig_led_probe(struct platform_device *pdev)
356356 {
357357 struct netxbig_led_platform_data *pdata = pdev->dev.platform_data;
358358 struct netxbig_led_data *leds_data;
@@ -389,7 +389,7 @@ err_free_leds: · 30 unmodified lines
389389 return ret;
390390 }
391391
392−static int __devexit netxbig_led_remove(struct platform_device *pdev)
392+static int netxbig_led_remove(struct platform_device *pdev)
393393 {
394394 struct netxbig_led_platform_data *pdata = pdev->dev.platform_data;
395395 struct netxbig_led_data *leds_data;
@@ -407,7 +407,7 @@ static int __devexit netxbig_led_remove(struct platform_device *pdev) · 11 unmodified lines
407407
408408 static struct platform_driver netxbig_led_driver = {
409409 .probe = netxbig_led_probe,
410− .remove = __devexit_p(netxbig_led_remove),
410+ .remove = netxbig_led_remove,
411411 .driver = {
412412 .name = "leds-netxbig",
413413 .owner = THIS_MODULE,
drivers/leds/leds-ns2.c+4−4
@@ -184,7 +184,7 @@ static ssize_t ns2_led_sata_show(struct device *dev, · 183 unmodified lines
184184
185185 static DEVICE_ATTR(sata, 0644, ns2_led_sata_show, ns2_led_sata_store);
186186
187−static int __devinit
187+static int
188188 create_ns2_led(struct platform_device *pdev, struct ns2_led_data *led_dat,
189189 const struct ns2_led *template)
190190 {
@@ -263,7 +263,7 @@ static void delete_ns2_led(struct ns2_led_data *led_dat) · 72 unmodified lines
263263 gpio_free(led_dat->slow);
264264 }
265265
266−static int __devinit ns2_led_probe(struct platform_device *pdev)
266+static int ns2_led_probe(struct platform_device *pdev)
267267 {
268268 struct ns2_led_platform_data *pdata = pdev->dev.platform_data;
269269 struct ns2_led_data *leds_data;
@@ -292,7 +292,7 @@ static int __devinit ns2_led_probe(struct platform_device *pdev) · 22 unmodified lines
292292 return 0;
293293 }
294294
295−static int __devexit ns2_led_remove(struct platform_device *pdev)
295+static int ns2_led_remove(struct platform_device *pdev)
296296 {
297297 int i;
298298 struct ns2_led_platform_data *pdata = pdev->dev.platform_data;
@@ -310,7 +310,7 @@ static int __devexit ns2_led_remove(struct platform_device *pdev) · 11 unmodified lines
310310
311311 static struct platform_driver ns2_led_driver = {
312312 .probe = ns2_led_probe,
313− .remove = __devexit_p(ns2_led_remove),
313+ .remove = ns2_led_remove,
314314 .driver = {
315315 .name = "leds-ns2",
316316 .owner = THIS_MODULE,
drivers/leds/leds-ot200.c+3−3
@@ -115,7 +115,7 @@ static void ot200_led_brightness_set(struct led_classdev *led_cdev, · 114 unmodified lines
115115 spin_unlock_irqrestore(&value_lock, flags);
116116 }
117117
118−static int __devinit ot200_led_probe(struct platform_device *pdev)
118+static int ot200_led_probe(struct platform_device *pdev)
119119 {
120120 int i;
121121 int ret;
@@ -144,7 +144,7 @@ err: · 22 unmodified lines
144144 return ret;
145145 }
146146
147−static int __devexit ot200_led_remove(struct platform_device *pdev)
147+static int ot200_led_remove(struct platform_device *pdev)
148148 {
149149 int i;
150150
@@ -156,7 +156,7 @@ static int __devexit ot200_led_remove(struct platform_device *pdev) · 5 unmodified lines
156156
157157 static struct platform_driver ot200_led_driver = {
158158 .probe = ot200_led_probe,
159− .remove = __devexit_p(ot200_led_remove),
159+ .remove = ot200_led_remove,
160160 .driver = {
161161 .name = "leds-ot200",
162162 .owner = THIS_MODULE,
drivers/leds/leds-pca955x.c+3−3
@@ -255,7 +255,7 @@ static void pca955x_led_set(struct led_classdev *led_cdev, enum led_brightness v · 254 unmodified lines
255255 schedule_work(&pca955x->work);
256256 }
257257
258−static int __devinit pca955x_probe(struct i2c_client *client,
258+static int pca955x_probe(struct i2c_client *client,
259259 const struct i2c_device_id *id)
260260 {
261261 struct pca955x *pca955x;
@@ -363,7 +363,7 @@ exit: · 101 unmodified lines
363363 return err;
364364 }
365365
366−static int __devexit pca955x_remove(struct i2c_client *client)
366+static int pca955x_remove(struct i2c_client *client)
367367 {
368368 struct pca955x *pca955x = i2c_get_clientdata(client);
369369 int i;
@@ -382,7 +382,7 @@ static struct i2c_driver pca955x_driver = { · 12 unmodified lines
382382 .owner = THIS_MODULE,
383383 },
384384 .probe = pca955x_probe,
385− .remove = __devexit_p(pca955x_remove),
385+ .remove = pca955x_remove,
386386 .id_table = pca955x_id,
387387 };
388388
drivers/leds/leds-pca9633.c+3−3
@@ -93,7 +93,7 @@ static void pca9633_led_set(struct led_classdev *led_cdev, · 92 unmodified lines
9393 schedule_work(&pca9633->work);
9494 }
9595
96−static int __devinit pca9633_probe(struct i2c_client *client,
96+static int pca9633_probe(struct i2c_client *client,
9797 const struct i2c_device_id *id)
9898 {
9999 struct pca9633_led *pca9633;
@@ -164,7 +164,7 @@ exit: · 64 unmodified lines
164164 return err;
165165 }
166166
167−static int __devexit pca9633_remove(struct i2c_client *client)
167+static int pca9633_remove(struct i2c_client *client)
168168 {
169169 struct pca9633_led *pca9633 = i2c_get_clientdata(client);
170170 int i;
@@ -183,7 +183,7 @@ static struct i2c_driver pca9633_driver = { · 12 unmodified lines
183183 .owner = THIS_MODULE,
184184 },
185185 .probe = pca9633_probe,
186− .remove = __devexit_p(pca9633_remove),
186+ .remove = pca9633_remove,
187187 .id_table = pca9633_id,
188188 };
189189
drivers/leds/leds-pwm.c+2−2
@@ -107,7 +107,7 @@ err: · 106 unmodified lines
107107 return ret;
108108 }
109109
110−static int __devexit led_pwm_remove(struct platform_device *pdev)
110+static int led_pwm_remove(struct platform_device *pdev)
111111 {
112112 int i;
113113 struct led_pwm_platform_data *pdata = pdev->dev.platform_data;
@@ -125,7 +125,7 @@ static int __devexit led_pwm_remove(struct platform_device *pdev) · 11 unmodified lines
125125
126126 static struct platform_driver led_pwm_driver = {
127127 .probe = led_pwm_probe,
128− .remove = __devexit_p(led_pwm_remove),
128+ .remove = led_pwm_remove,
129129 .driver = {
130130 .name = "leds_pwm",
131131 .owner = THIS_MODULE,
drivers/leds/leds-rb532.c+3−3
@@ -37,12 +37,12 @@ static struct led_classdev rb532_uled = { · 36 unmodified lines
3737 .default_trigger = "nand-disk",
3838 };
3939
40−static int __devinit rb532_led_probe(struct platform_device *pdev)
40+static int rb532_led_probe(struct platform_device *pdev)
4141 {
4242 return led_classdev_register(&pdev->dev, &rb532_uled);
4343 }
4444
45−static int __devexit rb532_led_remove(struct platform_device *pdev)
45+static int rb532_led_remove(struct platform_device *pdev)
4646 {
4747 led_classdev_unregister(&rb532_uled);
4848 return 0;
@@ -50,7 +50,7 @@ static int __devexit rb532_led_remove(struct platform_device *pdev) · 1 unmodified line
5050
5151 static struct platform_driver rb532_led_driver = {
5252 .probe = rb532_led_probe,
53− .remove = __devexit_p(rb532_led_remove),
53+ .remove = rb532_led_remove,
5454 .driver = {
5555 .name = "rb532-led",
5656 .owner = THIS_MODULE,
drivers/leds/leds-regulator.c+3−3
@@ -140,7 +140,7 @@ static void regulator_led_brightness_set(struct led_classdev *led_cdev, · 139 unmodified lines
140140 schedule_work(&led->work);
141141 }
142142
143−static int __devinit regulator_led_probe(struct platform_device *pdev)
143+static int regulator_led_probe(struct platform_device *pdev)
144144 {
145145 struct led_regulator_platform_data *pdata = pdev->dev.platform_data;
146146 struct regulator_led *led;
@@ -206,7 +206,7 @@ err_vcc: · 59 unmodified lines
206206 return ret;
207207 }
208208
209−static int __devexit regulator_led_remove(struct platform_device *pdev)
209+static int regulator_led_remove(struct platform_device *pdev)
210210 {
211211 struct regulator_led *led = platform_get_drvdata(pdev);
212212
@@ -223,7 +223,7 @@ static struct platform_driver regulator_led_driver = { · 10 unmodified lines
223223 .owner = THIS_MODULE,
224224 },
225225 .probe = regulator_led_probe,
226− .remove = __devexit_p(regulator_led_remove),
226+ .remove = regulator_led_remove,
227227 };
228228
229229 module_platform_driver(regulator_led_driver);
drivers/leds/leds-renesas-tpu.c+3−3
@@ -238,7 +238,7 @@ static void r_tpu_set_brightness(struct led_classdev *ldev, · 237 unmodified lines
238238 schedule_work(&p->work);
239239 }
240240
241−static int __devinit r_tpu_probe(struct platform_device *pdev)
241+static int r_tpu_probe(struct platform_device *pdev)
242242 {
243243 struct led_renesas_tpu_config *cfg = pdev->dev.platform_data;
244244 struct r_tpu_priv *p;
@@ -309,7 +309,7 @@ static int __devinit r_tpu_probe(struct platform_device *pdev) · 64 unmodified lines
309309 return ret;
310310 }
311311
312−static int __devexit r_tpu_remove(struct platform_device *pdev)
312+static int r_tpu_remove(struct platform_device *pdev)
313313 {
314314 struct r_tpu_priv *p = platform_get_drvdata(pdev);
315315
@@ -328,7 +328,7 @@ static int __devexit r_tpu_remove(struct platform_device *pdev) · 12 unmodified lines
328328
329329 static struct platform_driver r_tpu_device_driver = {
330330 .probe = r_tpu_probe,
331− .remove = __devexit_p(r_tpu_remove),
331+ .remove = r_tpu_remove,
332332 .driver = {
333333 .name = "leds-renesas-tpu",
334334 }
drivers/leds/leds-ss4200.c+2−2
@@ -263,7 +263,7 @@ static int nasgpio_led_set_blink(struct led_classdev *led_cdev, · 262 unmodified lines
263263 * already taken care of this, but we will do so in a non destructive manner
264264 * so that we have what we need whether the BIOS did it or not.
265265 */
266−static int __devinit ich7_gpio_init(struct device *dev)
266+static int ich7_gpio_init(struct device *dev)
267267 {
268268 int i;
269269 u32 config_data = 0;
@@ -342,7 +342,7 @@ static void ich7_lpc_cleanup(struct device *dev) · 72 unmodified lines
342342 * so we can retrive the required operational information and prepare the GPIO.
343343 */
344344 static struct pci_dev *nas_gpio_pci_dev;
345−static int __devinit ich7_lpc_probe(struct pci_dev *dev,
345+static int ich7_lpc_probe(struct pci_dev *dev,
346346 const struct pci_device_id *id)
347347 {
348348 int status;
drivers/leds/leds-sunfire.c+6−6
@@ -123,7 +123,7 @@ struct sunfire_drvdata { · 122 unmodified lines
123123 struct sunfire_led leds[NUM_LEDS_PER_BOARD];
124124 };
125125
126−static int __devinit sunfire_led_generic_probe(struct platform_device *pdev,
126+static int sunfire_led_generic_probe(struct platform_device *pdev,
127127 struct led_type *types)
128128 {
129129 struct sunfire_drvdata *p;
@@ -165,7 +165,7 @@ static int __devinit sunfire_led_generic_probe(struct platform_device *pdev, · 35 unmodified lines
165165 return 0;
166166 }
167167
168−static int __devexit sunfire_led_generic_remove(struct platform_device *pdev)
168+static int sunfire_led_generic_remove(struct platform_device *pdev)
169169 {
170170 struct sunfire_drvdata *p = dev_get_drvdata(&pdev->dev);
171171 int i;
@@ -192,7 +192,7 @@ static struct led_type clockboard_led_types[NUM_LEDS_PER_BOARD] = { · 20 unmodified lines
192192 },
193193 };
194194
195−static int __devinit sunfire_clockboard_led_probe(struct platform_device *pdev)
195+static int sunfire_clockboard_led_probe(struct platform_device *pdev)
196196 {
197197 return sunfire_led_generic_probe(pdev, clockboard_led_types);
198198 }
@@ -213,7 +213,7 @@ static struct led_type fhc_led_types[NUM_LEDS_PER_BOARD] = { · 14 unmodified lines
213213 },
214214 };
215215
216−static int __devinit sunfire_fhc_led_probe(struct platform_device *pdev)
216+static int sunfire_fhc_led_probe(struct platform_device *pdev)
217217 {
218218 return sunfire_led_generic_probe(pdev, fhc_led_types);
219219 }
@@ -223,7 +223,7 @@ MODULE_ALIAS("platform:sunfire-fhc-leds"); · 3 unmodified lines
223223
224224 static struct platform_driver sunfire_clockboard_led_driver = {
225225 .probe = sunfire_clockboard_led_probe,
226− .remove = __devexit_p(sunfire_led_generic_remove),
226+ .remove = sunfire_led_generic_remove,
227227 .driver = {
228228 .name = "sunfire-clockboard-leds",
229229 .owner = THIS_MODULE,
@@ -232,7 +232,7 @@ static struct platform_driver sunfire_clockboard_led_driver = { · 2 unmodified lines
232232
233233 static struct platform_driver sunfire_fhc_led_driver = {
234234 .probe = sunfire_fhc_led_probe,
235− .remove = __devexit_p(sunfire_led_generic_remove),
235+ .remove = sunfire_led_generic_remove,
236236 .driver = {
237237 .name = "sunfire-fhc-leds",
238238 .owner = THIS_MODULE,
drivers/leds/leds-tca6507.c+3−3
@@ -667,7 +667,7 @@ static void tca6507_remove_gpio(struct tca6507_chip *tca) · 666 unmodified lines
667667 }
668668 #endif /* CONFIG_GPIOLIB */
669669
670−static int __devinit tca6507_probe(struct i2c_client *client,
670+static int tca6507_probe(struct i2c_client *client,
671671 const struct i2c_device_id *id)
672672 {
673673 struct tca6507_chip *tca;
@@ -730,7 +730,7 @@ exit: · 56 unmodified lines
730730 return err;
731731 }
732732
733−static int __devexit tca6507_remove(struct i2c_client *client)
733+static int tca6507_remove(struct i2c_client *client)
734734 {
735735 int i;
736736 struct tca6507_chip *tca = i2c_get_clientdata(client);
@@ -752,7 +752,7 @@ static struct i2c_driver tca6507_driver = { · 15 unmodified lines
752752 .owner = THIS_MODULE,
753753 },
754754 .probe = tca6507_probe,
755− .remove = __devexit_p(tca6507_remove),
755+ .remove = tca6507_remove,
756756 .id_table = tca6507_id,
757757 };
758758
drivers/mfd/88pm800.c+6−6
@@ -248,7 +248,7 @@ static const struct regmap_irq pm800_irqs[] = { · 247 unmodified lines
248248 },
249249 };
250250
251−static int __devinit device_gpadc_init(struct pm80x_chip *chip,
251+static int device_gpadc_init(struct pm80x_chip *chip,
252252 struct pm80x_platform_data *pdata)
253253 {
254254 struct pm80x_subchip *subchip = chip->subchip;
@@ -315,7 +315,7 @@ out: · 60 unmodified lines
315315 return ret;
316316 }
317317
318−static int __devinit device_irq_init_800(struct pm80x_chip *chip)
318+static int device_irq_init_800(struct pm80x_chip *chip)
319319 {
320320 struct regmap *map = chip->regmap;
321321 unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
@@ -415,7 +415,7 @@ static void pm800_pages_exit(struct pm80x_chip *chip) · 93 unmodified lines
415415 }
416416 }
417417
418−static int __devinit device_800_init(struct pm80x_chip *chip,
418+static int device_800_init(struct pm80x_chip *chip,
419419 struct pm80x_platform_data *pdata)
420420 {
421421 int ret, pmic_id;
@@ -499,7 +499,7 @@ out: · 77 unmodified lines
499499 return ret;
500500 }
501501
502−static int __devinit pm800_probe(struct i2c_client *client,
502+static int pm800_probe(struct i2c_client *client,
503503 const struct i2c_device_id *id)
504504 {
505505 int ret = 0;
@@ -554,7 +554,7 @@ out_init: · 48 unmodified lines
554554 return ret;
555555 }
556556
557−static int __devexit pm800_remove(struct i2c_client *client)
557+static int pm800_remove(struct i2c_client *client)
558558 {
559559 struct pm80x_chip *chip = i2c_get_clientdata(client);
560560
@@ -576,7 +576,7 @@ static struct i2c_driver pm800_driver = { · 15 unmodified lines
576576 .pm = &pm80x_pm_ops,
577577 },
578578 .probe = pm800_probe,
579− .remove = __devexit_p(pm800_remove),
579+ .remove = pm800_remove,
580580 .id_table = pm80x_id_table,
581581 };
582582
drivers/mfd/88pm805.c+5−5
@@ -135,7 +135,7 @@ static struct regmap_irq pm805_irqs[] = { · 134 unmodified lines
135135 },
136136 };
137137
138−static int __devinit device_irq_init_805(struct pm80x_chip *chip)
138+static int device_irq_init_805(struct pm80x_chip *chip)
139139 {
140140 struct regmap *map = chip->regmap;
141141 unsigned long flags = IRQF_TRIGGER_FALLING | IRQF_ONESHOT;
@@ -189,7 +189,7 @@ static struct regmap_irq_chip pm805_irq_chip = { · 47 unmodified lines
189189 .ack_base = PM805_INT_STATUS1,
190190 };
191191
192−static int __devinit device_805_init(struct pm80x_chip *chip)
192+static int device_805_init(struct pm80x_chip *chip)
193193 {
194194 int ret = 0;
195195 unsigned int val;
@@ -232,7 +232,7 @@ out_irq_init: · 36 unmodified lines
232232 return ret;
233233 }
234234
235−static int __devinit pm805_probe(struct i2c_client *client,
235+static int pm805_probe(struct i2c_client *client,
236236 const struct i2c_device_id *id)
237237 {
238238 int ret = 0;
@@ -262,7 +262,7 @@ out_init: · 23 unmodified lines
262262 return ret;
263263 }
264264
265−static int __devexit pm805_remove(struct i2c_client *client)
265+static int pm805_remove(struct i2c_client *client)
266266 {
267267 struct pm80x_chip *chip = i2c_get_clientdata(client);
268268
@@ -281,7 +281,7 @@ static struct i2c_driver pm805_driver = { · 12 unmodified lines
281281 .pm = &pm80x_pm_ops,
282282 },
283283 .probe = pm805_probe,
284− .remove = __devexit_p(pm805_remove),
284+ .remove = pm805_remove,
285285 .id_table = pm80x_id_table,
286286 };
287287
drivers/mfd/88pm80x.c+1−1
@@ -31,7 +31,7 @@ const struct regmap_config pm80x_regmap_config = { · 30 unmodified lines
3131 };
3232 EXPORT_SYMBOL_GPL(pm80x_regmap_config);
3333
34−int __devinit pm80x_init(struct i2c_client *client,
34+int pm80x_init(struct i2c_client *client,
3535 const struct i2c_device_id *id)
3636 {
3737 struct pm80x_chip *chip;
drivers/mfd/88pm860x-core.c+52−52
@@ -28,111 +28,111 @@ · 27 unmodified lines
2828
2929 #define INT_STATUS_NUM 3
3030
31−static struct resource bk0_resources[] __devinitdata = {
31+static struct resource bk0_resources[] = {
3232 {2, 2, "duty cycle", IORESOURCE_REG, },
3333 {3, 3, "always on", IORESOURCE_REG, },
3434 {3, 3, "current", IORESOURCE_REG, },
3535 };
36−static struct resource bk1_resources[] __devinitdata = {
36+static struct resource bk1_resources[] = {
3737 {4, 4, "duty cycle", IORESOURCE_REG, },
3838 {5, 5, "always on", IORESOURCE_REG, },
3939 {5, 5, "current", IORESOURCE_REG, },
4040 };
41−static struct resource bk2_resources[] __devinitdata = {
41+static struct resource bk2_resources[] = {
4242 {6, 6, "duty cycle", IORESOURCE_REG, },
4343 {7, 7, "always on", IORESOURCE_REG, },
4444 {5, 5, "current", IORESOURCE_REG, },
4545 };
4646
47−static struct resource led0_resources[] __devinitdata = {
47+static struct resource led0_resources[] = {
4848 /* RGB1 Red LED */
4949 {0xd, 0xd, "control", IORESOURCE_REG, },
5050 {0xc, 0xc, "blink", IORESOURCE_REG, },
5151 };
52−static struct resource led1_resources[] __devinitdata = {
52+static struct resource led1_resources[] = {
5353 /* RGB1 Green LED */
5454 {0xe, 0xe, "control", IORESOURCE_REG, },
5555 {0xc, 0xc, "blink", IORESOURCE_REG, },
5656 };
57−static struct resource led2_resources[] __devinitdata = {
57+static struct resource led2_resources[] = {
5858 /* RGB1 Blue LED */
5959 {0xf, 0xf, "control", IORESOURCE_REG, },
6060 {0xc, 0xc, "blink", IORESOURCE_REG, },
6161 };
62−static struct resource led3_resources[] __devinitdata = {
62+static struct resource led3_resources[] = {
6363 /* RGB2 Red LED */
6464 {0x9, 0x9, "control", IORESOURCE_REG, },
6565 {0x8, 0x8, "blink", IORESOURCE_REG, },
6666 };
67−static struct resource led4_resources[] __devinitdata = {
67+static struct resource led4_resources[] = {
6868 /* RGB2 Green LED */
6969 {0xa, 0xa, "control", IORESOURCE_REG, },
7070 {0x8, 0x8, "blink", IORESOURCE_REG, },
7171 };
72−static struct resource led5_resources[] __devinitdata = {
72+static struct resource led5_resources[] = {
7373 /* RGB2 Blue LED */
7474 {0xb, 0xb, "control", IORESOURCE_REG, },
7575 {0x8, 0x8, "blink", IORESOURCE_REG, },
7676 };
7777
78−static struct resource buck1_resources[] __devinitdata = {
78+static struct resource buck1_resources[] = {
7979 {0x24, 0x24, "buck set", IORESOURCE_REG, },
8080 };
81−static struct resource buck2_resources[] __devinitdata = {
81+static struct resource buck2_resources[] = {
8282 {0x25, 0x25, "buck set", IORESOURCE_REG, },
8383 };
84−static struct resource buck3_resources[] __devinitdata = {
84+static struct resource buck3_resources[] = {
8585 {0x26, 0x26, "buck set", IORESOURCE_REG, },
8686 };
87−static struct resource ldo1_resources[] __devinitdata = {
87+static struct resource ldo1_resources[] = {
8888 {0x10, 0x10, "ldo set", IORESOURCE_REG, },
8989 };
90−static struct resource ldo2_resources[] __devinitdata = {
90+static struct resource ldo2_resources[] = {
9191 {0x11, 0x11, "ldo set", IORESOURCE_REG, },
9292 };
93−static struct resource ldo3_resources[] __devinitdata = {
93+static struct resource ldo3_resources[] = {
9494 {0x12, 0x12, "ldo set", IORESOURCE_REG, },
9595 };
96−static struct resource ldo4_resources[] __devinitdata = {
96+static struct resource ldo4_resources[] = {
9797 {0x13, 0x13, "ldo set", IORESOURCE_REG, },
9898 };
99−static struct resource ldo5_resources[] __devinitdata = {
99+static struct resource ldo5_resources[] = {
100100 {0x14, 0x14, "ldo set", IORESOURCE_REG, },
101101 };
102−static struct resource ldo6_resources[] __devinitdata = {
102+static struct resource ldo6_resources[] = {
103103 {0x15, 0x15, "ldo set", IORESOURCE_REG, },
104104 };
105−static struct resource ldo7_resources[] __devinitdata = {
105+static struct resource ldo7_resources[] = {
106106 {0x16, 0x16, "ldo set", IORESOURCE_REG, },
107107 };
108−static struct resource ldo8_resources[] __devinitdata = {
108+static struct resource ldo8_resources[] = {
109109 {0x17, 0x17, "ldo set", IORESOURCE_REG, },
110110 };
111−static struct resource ldo9_resources[] __devinitdata = {
111+static struct resource ldo9_resources[] = {
112112 {0x18, 0x18, "ldo set", IORESOURCE_REG, },
113113 };
114−static struct resource ldo10_resources[] __devinitdata = {
114+static struct resource ldo10_resources[] = {
115115 {0x19, 0x19, "ldo set", IORESOURCE_REG, },
116116 };
117−static struct resource ldo12_resources[] __devinitdata = {
117+static struct resource ldo12_resources[] = {
118118 {0x1a, 0x1a, "ldo set", IORESOURCE_REG, },
119119 };
120−static struct resource ldo_vibrator_resources[] __devinitdata = {
120+static struct resource ldo_vibrator_resources[] = {
121121 {0x28, 0x28, "ldo set", IORESOURCE_REG, },
122122 };
123−static struct resource ldo14_resources[] __devinitdata = {
123+static struct resource ldo14_resources[] = {
124124 {0x1b, 0x1b, "ldo set", IORESOURCE_REG, },
125125 };
126126
127−static struct resource touch_resources[] __devinitdata = {
127+static struct resource touch_resources[] = {
128128 {PM8607_IRQ_PEN, PM8607_IRQ_PEN, "touch", IORESOURCE_IRQ,},
129129 };
130130
131−static struct resource onkey_resources[] __devinitdata = {
131+static struct resource onkey_resources[] = {
132132 {PM8607_IRQ_ONKEY, PM8607_IRQ_ONKEY, "onkey", IORESOURCE_IRQ,},
133133 };
134134
135−static struct resource codec_resources[] __devinitdata = {
135+static struct resource codec_resources[] = {
136136 /* Headset microphone insertion or removal */
137137 {PM8607_IRQ_MICIN, PM8607_IRQ_MICIN, "micin", IORESOURCE_IRQ,},
138138 /* Hook-switch press or release */
@@ -143,12 +143,12 @@ static struct resource codec_resources[] __devinitdata = { · 4 unmodified lines
143143 {PM8607_IRQ_AUDIO_SHORT, PM8607_IRQ_AUDIO_SHORT, "audio-short", IORESOURCE_IRQ,},
144144 };
145145
146−static struct resource battery_resources[] __devinitdata = {
146+static struct resource battery_resources[] = {
147147 {PM8607_IRQ_CC, PM8607_IRQ_CC, "columb counter", IORESOURCE_IRQ,},
148148 {PM8607_IRQ_BAT, PM8607_IRQ_BAT, "battery", IORESOURCE_IRQ,},
149149 };
150150
151−static struct resource charger_resources[] __devinitdata = {
151+static struct resource charger_resources[] = {
152152 {PM8607_IRQ_CHG, PM8607_IRQ_CHG, "charger detect", IORESOURCE_IRQ,},
153153 {PM8607_IRQ_CHG_DONE, PM8607_IRQ_CHG_DONE, "charging done", IORESOURCE_IRQ,},
154154 {PM8607_IRQ_CHG_FAIL, PM8607_IRQ_CHG_FAIL, "charging timeout", IORESOURCE_IRQ,},
@@ -158,11 +158,11 @@ static struct resource charger_resources[] __devinitdata = { · 3 unmodified lines
158158 {PM8607_IRQ_VCHG, PM8607_IRQ_VCHG, "vchg voltage", IORESOURCE_IRQ,},
159159 };
160160
161−static struct resource rtc_resources[] __devinitdata = {
161+static struct resource rtc_resources[] = {
162162 {PM8607_IRQ_RTC, PM8607_IRQ_RTC, "rtc", IORESOURCE_IRQ,},
163163 };
164164
165−static struct mfd_cell bk_devs[] __devinitdata = {
165+static struct mfd_cell bk_devs[] = {
166166 {
167167 .name = "88pm860x-backlight",
168168 .id = 0,
@@ -181,7 +181,7 @@ static struct mfd_cell bk_devs[] __devinitdata = { · 12 unmodified lines
181181 },
182182 };
183183
184−static struct mfd_cell led_devs[] __devinitdata = {
184+static struct mfd_cell led_devs[] = {
185185 {
186186 .name = "88pm860x-led",
187187 .id = 0,
@@ -215,7 +215,7 @@ static struct mfd_cell led_devs[] __devinitdata = { · 27 unmodified lines
215215 },
216216 };
217217
218−static struct mfd_cell reg_devs[] __devinitdata = {
218+static struct mfd_cell reg_devs[] = {
219219 {
220220 .name = "88pm860x-regulator",
221221 .id = 0,
@@ -565,7 +565,7 @@ static struct irq_domain_ops pm860x_irq_domain_ops = { · 343 unmodified lines
565565 .xlate = irq_domain_xlate_onetwocell,
566566 };
567567
568−static int __devinit device_irq_init(struct pm860x_chip *chip,
568+static int device_irq_init(struct pm860x_chip *chip,
569569 struct pm860x_platform_data *pdata)
570570 {
571571 struct i2c_client *i2c = (chip->id == CHIP_PM8607) ? chip->client \
@@ -730,7 +730,7 @@ out: · 158 unmodified lines
730730 }
731731 EXPORT_SYMBOL(pm8606_osc_disable);
732732
733−static void __devinit device_osc_init(struct i2c_client *i2c)
733+static void device_osc_init(struct i2c_client *i2c)
734734 {
735735 struct pm860x_chip *chip = i2c_get_clientdata(i2c);
736736
@@ -745,7 +745,7 @@ static void __devinit device_osc_init(struct i2c_client *i2c) · 8 unmodified lines
745745 chip->osc_status = PM8606_REF_GP_OSC_OFF;
746746 }
747747
748−static void __devinit device_bk_init(struct pm860x_chip *chip,
748+static void device_bk_init(struct pm860x_chip *chip,
749749 struct pm860x_platform_data *pdata)
750750 {
751751 int ret, i;
@@ -765,7 +765,7 @@ static void __devinit device_bk_init(struct pm860x_chip *chip, · 13 unmodified lines
765765 dev_err(chip->dev, "Failed to add backlight subdev\n");
766766 }
767767
768−static void __devinit device_led_init(struct pm860x_chip *chip,
768+static void device_led_init(struct pm860x_chip *chip,
769769 struct pm860x_platform_data *pdata)
770770 {
771771 int ret, i;
@@ -787,7 +787,7 @@ static void __devinit device_led_init(struct pm860x_chip *chip, · 15 unmodified lines
787787 }
788788 }
789789
790−static void __devinit device_regulator_init(struct pm860x_chip *chip,
790+static void device_regulator_init(struct pm860x_chip *chip,
791791 struct pm860x_platform_data *pdata)
792792 {
793793 int ret;
@@ -866,7 +866,7 @@ static void __devinit device_regulator_init(struct pm860x_chip *chip, · 72 unmodified lines
866866 }
867867 }
868868
869−static void __devinit device_rtc_init(struct pm860x_chip *chip,
869+static void device_rtc_init(struct pm860x_chip *chip,
870870 struct pm860x_platform_data *pdata)
871871 {
872872 int ret;
@@ -885,7 +885,7 @@ static void __devinit device_rtc_init(struct pm860x_chip *chip, · 12 unmodified lines
885885 dev_err(chip->dev, "Failed to add rtc subdev\n");
886886 }
887887
888−static void __devinit device_touch_init(struct pm860x_chip *chip,
888+static void device_touch_init(struct pm860x_chip *chip,
889889 struct pm860x_platform_data *pdata)
890890 {
891891 int ret;
@@ -904,7 +904,7 @@ static void __devinit device_touch_init(struct pm860x_chip *chip, · 12 unmodified lines
904904 dev_err(chip->dev, "Failed to add touch subdev\n");
905905 }
906906
907−static void __devinit device_power_init(struct pm860x_chip *chip,
907+static void device_power_init(struct pm860x_chip *chip,
908908 struct pm860x_platform_data *pdata)
909909 {
910910 int ret;
@@ -951,7 +951,7 @@ static void __devinit device_power_init(struct pm860x_chip *chip, · 40 unmodified lines
951951 }
952952 }
953953
954−static void __devinit device_onkey_init(struct pm860x_chip *chip,
954+static void device_onkey_init(struct pm860x_chip *chip,
955955 struct pm860x_platform_data *pdata)
956956 {
957957 int ret;
@@ -965,7 +965,7 @@ static void __devinit device_onkey_init(struct pm860x_chip *chip, · 7 unmodified lines
965965 dev_err(chip->dev, "Failed to add onkey subdev\n");
966966 }
967967
968−static void __devinit device_codec_init(struct pm860x_chip *chip,
968+static void device_codec_init(struct pm860x_chip *chip,
969969 struct pm860x_platform_data *pdata)
970970 {
971971 int ret;
@@ -979,7 +979,7 @@ static void __devinit device_codec_init(struct pm860x_chip *chip, · 7 unmodified lines
979979 dev_err(chip->dev, "Failed to add codec subdev\n");
980980 }
981981
982−static void __devinit device_8607_init(struct pm860x_chip *chip,
982+static void device_8607_init(struct pm860x_chip *chip,
983983 struct i2c_client *i2c,
984984 struct pm860x_platform_data *pdata)
985985 {
@@ -1040,7 +1040,7 @@ out: · 54 unmodified lines
10401040 return;
10411041 }
10421042
1043−static void __devinit device_8606_init(struct pm860x_chip *chip,
1043+static void device_8606_init(struct pm860x_chip *chip,
10441044 struct i2c_client *i2c,
10451045 struct pm860x_platform_data *pdata)
10461046 {
@@ -1049,7 +1049,7 @@ static void __devinit device_8606_init(struct pm860x_chip *chip, · 2 unmodified lines
10491049 device_led_init(chip, pdata);
10501050 }
10511051
1052−static int __devinit pm860x_device_init(struct pm860x_chip *chip,
1052+static int pm860x_device_init(struct pm860x_chip *chip,
10531053 struct pm860x_platform_data *pdata)
10541054 {
10551055 chip->core_irq = 0;
@@ -1077,7 +1077,7 @@ static int __devinit pm860x_device_init(struct pm860x_chip *chip, · 21 unmodified lines
10771077 return 0;
10781078 }
10791079
1080−static void __devexit pm860x_device_exit(struct pm860x_chip *chip)
1080+static void pm860x_device_exit(struct pm860x_chip *chip)
10811081 {
10821082 device_irq_exit(chip);
10831083 mfd_remove_devices(chip->dev);
@@ -1109,7 +1109,7 @@ static struct regmap_config pm860x_regmap_config = { · 25 unmodified lines
11091109 .val_bits = 8,
11101110 };
11111111
1112−static int __devinit pm860x_dt_init(struct device_node *np,
1112+static int pm860x_dt_init(struct device_node *np,
11131113 struct device *dev,
11141114 struct pm860x_platform_data *pdata)
11151115 {
@@ -1127,7 +1127,7 @@ static int __devinit pm860x_dt_init(struct device_node *np, · 11 unmodified lines
11271127 return 0;
11281128 }
11291129
1130−static int __devinit pm860x_probe(struct i2c_client *client,
1130+static int pm860x_probe(struct i2c_client *client,
11311131 const struct i2c_device_id *id)
11321132 {
11331133 struct pm860x_platform_data *pdata = client->dev.platform_data;
@@ -1200,7 +1200,7 @@ err: · 66 unmodified lines
12001200 return ret;
12011201 }
12021202
1203−static int __devexit pm860x_remove(struct i2c_client *client)
1203+static int pm860x_remove(struct i2c_client *client)
12041204 {
12051205 struct pm860x_chip *chip = i2c_get_clientdata(client);
12061206
@@ -1258,7 +1258,7 @@ static struct i2c_driver pm860x_driver = { · 51 unmodified lines
12581258 .of_match_table = of_match_ptr(pm860x_dt_ids),
12591259 },
12601260 .probe = pm860x_probe,
1261− .remove = __devexit_p(pm860x_remove),
1261+ .remove = pm860x_remove,
12621262 .id_table = pm860x_id_table,
12631263 };
12641264
drivers/mfd/ab3100-core.c+6−7
@@ -661,8 +661,7 @@ struct ab3100_init_setting { · 660 unmodified lines
661661 u8 setting;
662662 };
663663
664−static const struct ab3100_init_setting __devinitconst
665−ab3100_init_settings[] = {
664+static const struct ab3100_init_setting ab3100_init_settings[] = {
666665 {
667666 .abreg = AB3100_MCA,
668667 .setting = 0x01
@@ -708,7 +707,7 @@ ab3100_init_settings[] = { · 39 unmodified lines
708707 },
709708 };
710709
711−static int __devinit ab3100_setup(struct ab3100 *ab3100)
710+static int ab3100_setup(struct ab3100 *ab3100)
712711 {
713712 int err = 0;
714713 int i;
@@ -803,7 +802,7 @@ struct ab_family_id { · 88 unmodified lines
803802 char *name;
804803 };
805804
806−static const struct ab_family_id ids[] __devinitconst = {
805+static const struct ab_family_id ids[] = {
807806 /* AB3100 */
808807 {
809808 .id = 0xc0,
@@ -857,7 +856,7 @@ static const struct ab_family_id ids[] __devinitconst = { · 47 unmodified lines
857856 },
858857 };
859858
860−static int __devinit ab3100_probe(struct i2c_client *client,
859+static int ab3100_probe(struct i2c_client *client,
861860 const struct i2c_device_id *id)
862861 {
863862 struct ab3100 *ab3100;
@@ -962,7 +961,7 @@ static int __devinit ab3100_probe(struct i2c_client *client, · 98 unmodified lines
962961 return err;
963962 }
964963
965−static int __devexit ab3100_remove(struct i2c_client *client)
964+static int ab3100_remove(struct i2c_client *client)
966965 {
967966 struct ab3100 *ab3100 = i2c_get_clientdata(client);
968967
@@ -986,7 +985,7 @@ static struct i2c_driver ab3100_driver = { · 17 unmodified lines
986985 },
987986 .id_table = ab3100_id,
988987 .probe = ab3100_probe,
989− .remove = __devexit_p(ab3100_remove),
988+ .remove = ab3100_remove,
990989 };
991990
992991 static int __init ab3100_i2c_init(void)
drivers/mfd/ab8500-core.c+20−20
@@ -623,7 +623,7 @@ static struct resource __devinitdata ab9540_gpio_resources[] = { · 622 unmodified lines
623623 }
624624 };
625625
626−static struct resource __devinitdata ab8500_gpadc_resources[] = {
626+static struct resource ab8500_gpadc_resources[] = {
627627 {
628628 .name = "HW_CONV_END",
629629 .start = AB8500_INT_GP_HW_ADC_CONV_END,
@@ -638,7 +638,7 @@ static struct resource __devinitdata ab8500_gpadc_resources[] = { · 8 unmodified lines
638638 },
639639 };
640640
641−static struct resource __devinitdata ab8500_rtc_resources[] = {
641+static struct resource ab8500_rtc_resources[] = {
642642 {
643643 .name = "60S",
644644 .start = AB8500_INT_RTC_60S,
@@ -653,7 +653,7 @@ static struct resource __devinitdata ab8500_rtc_resources[] = { · 8 unmodified lines
653653 },
654654 };
655655
656−static struct resource __devinitdata ab8500_poweronkey_db_resources[] = {
656+static struct resource ab8500_poweronkey_db_resources[] = {
657657 {
658658 .name = "ONKEY_DBF",
659659 .start = AB8500_INT_PON_KEY1DB_F,
@@ -668,7 +668,7 @@ static struct resource __devinitdata ab8500_poweronkey_db_resources[] = { · 8 unmodified lines
668668 },
669669 };
670670
671−static struct resource __devinitdata ab8500_av_acc_detect_resources[] = {
671+static struct resource ab8500_av_acc_detect_resources[] = {
672672 {
673673 .name = "ACC_DETECT_1DB_F",
674674 .start = AB8500_INT_ACC_DETECT_1DB_F,
@@ -707,7 +707,7 @@ static struct resource __devinitdata ab8500_av_acc_detect_resources[] = { · 32 unmodified lines
707707 },
708708 };
709709
710−static struct resource __devinitdata ab8500_charger_resources[] = {
710+static struct resource ab8500_charger_resources[] = {
711711 {
712712 .name = "MAIN_CH_UNPLUG_DET",
713713 .start = AB8500_INT_MAIN_CH_UNPLUG_DET,
@@ -788,7 +788,7 @@ static struct resource __devinitdata ab8500_charger_resources[] = { · 74 unmodified lines
788788 },
789789 };
790790
791−static struct resource __devinitdata ab8500_btemp_resources[] = {
791+static struct resource ab8500_btemp_resources[] = {
792792 {
793793 .name = "BAT_CTRL_INDB",
794794 .start = AB8500_INT_BAT_CTRL_INDB,
@@ -821,7 +821,7 @@ static struct resource __devinitdata ab8500_btemp_resources[] = { · 26 unmodified lines
821821 },
822822 };
823823
824−static struct resource __devinitdata ab8500_fg_resources[] = {
824+static struct resource ab8500_fg_resources[] = {
825825 {
826826 .name = "NCONV_ACCU",
827827 .start = AB8500_INT_CCN_CONV_ACC,
@@ -860,10 +860,10 @@ static struct resource __devinitdata ab8500_fg_resources[] = { · 32 unmodified lines
860860 },
861861 };
862862
863−static struct resource __devinitdata ab8500_chargalg_resources[] = {};
863+static struct resource ab8500_chargalg_resources[] = {};
864864
865865 #ifdef CONFIG_DEBUG_FS
866−static struct resource __devinitdata ab8500_debug_resources[] = {
866+static struct resource ab8500_debug_resources[] = {
867867 {
868868 .name = "IRQ_FIRST",
869869 .start = AB8500_INT_MAIN_EXT_CH_NOT_OK,
@@ -879,7 +879,7 @@ static struct resource __devinitdata ab8500_debug_resources[] = { · 9 unmodified lines
879879 };
880880 #endif
881881
882−static struct resource __devinitdata ab8500_usb_resources[] = {
882+static struct resource ab8500_usb_resources[] = {
883883 {
884884 .name = "ID_WAKEUP_R",
885885 .start = AB8500_INT_ID_WAKEUP_R,
@@ -924,7 +924,7 @@ static struct resource __devinitdata ab8500_usb_resources[] = { · 38 unmodified lines
924924 },
925925 };
926926
927−static struct resource __devinitdata ab8505_iddet_resources[] = {
927+static struct resource ab8505_iddet_resources[] = {
928928 {
929929 .name = "KeyDeglitch",
930930 .start = AB8505_INT_KEYDEGLITCH,
@@ -957,7 +957,7 @@ static struct resource __devinitdata ab8505_iddet_resources[] = { · 26 unmodified lines
957957 },
958958 };
959959
960−static struct resource __devinitdata ab8500_temp_resources[] = {
960+static struct resource ab8500_temp_resources[] = {
961961 {
962962 .name = "AB8500_TEMP_WARM",
963963 .start = AB8500_INT_TEMP_WARM,
@@ -966,7 +966,7 @@ static struct resource __devinitdata ab8500_temp_resources[] = { · 2 unmodified lines
966966 },
967967 };
968968
969−static struct mfd_cell __devinitdata abx500_common_devs[] = {
969+static struct mfd_cell abx500_common_devs[] = {
970970 #ifdef CONFIG_DEBUG_FS
971971 {
972972 .name = "ab8500-debug",
@@ -1038,7 +1038,7 @@ static struct mfd_cell __devinitdata abx500_common_devs[] = { · 65 unmodified lines
10381038 },
10391039 };
10401040
1041−static struct mfd_cell __devinitdata ab8500_bm_devs[] = {
1041+static struct mfd_cell ab8500_bm_devs[] = {
10421042 {
10431043 .name = "ab8500-charger",
10441044 .num_resources = ARRAY_SIZE(ab8500_charger_resources),
@@ -1061,7 +1061,7 @@ static struct mfd_cell __devinitdata ab8500_bm_devs[] = { · 16 unmodified lines
10611061 },
10621062 };
10631063
1064−static struct mfd_cell __devinitdata ab8500_devs[] = {
1064+static struct mfd_cell ab8500_devs[] = {
10651065 {
10661066 .name = "ab8500-gpio",
10671067 .of_compatible = "stericsson,ab8500-gpio",
@@ -1080,7 +1080,7 @@ static struct mfd_cell __devinitdata ab8500_devs[] = { · 12 unmodified lines
10801080 },
10811081 };
10821082
1083−static struct mfd_cell __devinitdata ab9540_devs[] = {
1083+static struct mfd_cell ab9540_devs[] = {
10841084 {
10851085 .name = "ab8500-gpio",
10861086 .num_resources = ARRAY_SIZE(ab9540_gpio_resources),
@@ -1097,7 +1097,7 @@ static struct mfd_cell __devinitdata ab9540_devs[] = { · 10 unmodified lines
10971097 };
10981098
10991099 /* Device list common to ab9540 and ab8505 */
1100−static struct mfd_cell __devinitdata ab9540_ab8505_devs[] = {
1100+static struct mfd_cell ab9540_ab8505_devs[] = {
11011101 {
11021102 .name = "ab-iddet",
11031103 .num_resources = ARRAY_SIZE(ab8505_iddet_resources),
@@ -1248,7 +1248,7 @@ static struct attribute_group ab9540_attr_group = { · 144 unmodified lines
12481248 .attrs = ab9540_sysfs_entries,
12491249 };
12501250
1251−static int __devinit ab8500_probe(struct platform_device *pdev)
1251+static int ab8500_probe(struct platform_device *pdev)
12521252 {
12531253 static char *switch_off_status[] = {
12541254 "Swoff bit programming",
@@ -1473,7 +1473,7 @@ out_free_ab8500: · 218 unmodified lines
14731473 return ret;
14741474 }
14751475
1476−static int __devexit ab8500_remove(struct platform_device *pdev)
1476+static int ab8500_remove(struct platform_device *pdev)
14771477 {
14781478 struct ab8500 *ab8500 = platform_get_drvdata(pdev);
14791479
@@ -1506,7 +1506,7 @@ static struct platform_driver ab8500_core_driver = { · 26 unmodified lines
15061506 .owner = THIS_MODULE,
15071507 },
15081508 .probe = ab8500_probe,
1509− .remove = __devexit_p(ab8500_remove),
1509+ .remove = ab8500_remove,
15101510 .id_table = ab8500_id,
15111511 };
15121512
drivers/mfd/ab8500-debugfs.c+3−3
@@ -552,7 +552,7 @@ static struct dentry *ab8500_bank_file; · 551 unmodified lines
552552 static struct dentry *ab8500_address_file;
553553 static struct dentry *ab8500_val_file;
554554
555−static int __devinit ab8500_debug_probe(struct platform_device *plf)
555+static int ab8500_debug_probe(struct platform_device *plf)
556556 {
557557 debug_bank = AB8500_MISC;
558558 debug_address = AB8500_REV_REG & 0x00FF;
@@ -597,7 +597,7 @@ exit_no_debugfs: · 38 unmodified lines
597597 return -ENOMEM;
598598 }
599599
600−static int __devexit ab8500_debug_remove(struct platform_device *plf)
600+static int ab8500_debug_remove(struct platform_device *plf)
601601 {
602602 debugfs_remove(ab8500_val_file);
603603 debugfs_remove(ab8500_address_file);
@@ -614,7 +614,7 @@ static struct platform_driver ab8500_debug_driver = { · 10 unmodified lines
614614 .owner = THIS_MODULE,
615615 },
616616 .probe = ab8500_debug_probe,
617− .remove = __devexit_p(ab8500_debug_remove)
617+ .remove = ab8500_debug_remove
618618 };
619619
620620 static int __init ab8500_debug_init(void)
drivers/mfd/ab8500-gpadc.c+3−3
@@ -571,7 +571,7 @@ static void ab8500_gpadc_read_calibration_data(struct ab8500_gpadc *gpadc) · 570 unmodified lines
571571 gpadc->cal_data[ADC_INPUT_VBAT].offset);
572572 }
573573
574−static int __devinit ab8500_gpadc_probe(struct platform_device *pdev)
574+static int ab8500_gpadc_probe(struct platform_device *pdev)
575575 {
576576 int ret = 0;
577577 struct ab8500_gpadc *gpadc;
@@ -634,7 +634,7 @@ fail: · 56 unmodified lines
634634 return ret;
635635 }
636636
637−static int __devexit ab8500_gpadc_remove(struct platform_device *pdev)
637+static int ab8500_gpadc_remove(struct platform_device *pdev)
638638 {
639639 struct ab8500_gpadc *gpadc = platform_get_drvdata(pdev);
640640
@@ -651,7 +651,7 @@ static int __devexit ab8500_gpadc_remove(struct platform_device *pdev) · 10 unmodified lines
651651
652652 static struct platform_driver ab8500_gpadc_driver = {
653653 .probe = ab8500_gpadc_probe,
654− .remove = __devexit_p(ab8500_gpadc_remove),
654+ .remove = ab8500_gpadc_remove,
655655 .driver = {
656656 .name = "ab8500-gpadc",
657657 .owner = THIS_MODULE,
drivers/mfd/ab8500-sysctrl.c+3−3
@@ -49,13 +49,13 @@ int ab8500_sysctrl_write(u16 reg, u8 mask, u8 value) · 48 unmodified lines
4949 (u8)(reg & 0xFF), mask, value);
5050 }
5151
52−static int __devinit ab8500_sysctrl_probe(struct platform_device *pdev)
52+static int ab8500_sysctrl_probe(struct platform_device *pdev)
5353 {
5454 sysctrl_dev = &pdev->dev;
5555 return 0;
5656 }
5757
58−static int __devexit ab8500_sysctrl_remove(struct platform_device *pdev)
58+static int ab8500_sysctrl_remove(struct platform_device *pdev)
5959 {
6060 sysctrl_dev = NULL;
6161 return 0;
@@ -67,7 +67,7 @@ static struct platform_driver ab8500_sysctrl_driver = { · 5 unmodified lines
6767 .owner = THIS_MODULE,
6868 },
6969 .probe = ab8500_sysctrl_probe,
70− .remove = __devexit_p(ab8500_sysctrl_remove),
70+ .remove = ab8500_sysctrl_remove,
7171 };
7272
7373 static int __init ab8500_sysctrl_init(void)
drivers/mfd/adp5520.c+3−3
@@ -203,7 +203,7 @@ static int adp5520_remove_subdevs(struct adp5520_chip *chip) · 202 unmodified lines
203203 return device_for_each_child(chip->dev, NULL, __remove_subdev);
204204 }
205205
206−static int __devinit adp5520_probe(struct i2c_client *client,
206+static int adp5520_probe(struct i2c_client *client,
207207 const struct i2c_device_id *id)
208208 {
209209 struct adp5520_platform_data *pdata = client->dev.platform_data;
@@ -307,7 +307,7 @@ out_free_chip: · 97 unmodified lines
307307 return ret;
308308 }
309309
310−static int __devexit adp5520_remove(struct i2c_client *client)
310+static int adp5520_remove(struct i2c_client *client)
311311 {
312312 struct adp5520_chip *chip = dev_get_drvdata(&client->dev);
313313
@@ -356,7 +356,7 @@ static struct i2c_driver adp5520_driver = { · 42 unmodified lines
356356 .pm = &adp5520_pm,
357357 },
358358 .probe = adp5520_probe,
359− .remove = __devexit_p(adp5520_remove),
359+ .remove = adp5520_remove,
360360 .id_table = adp5520_id,
361361 };
362362
drivers/mfd/arizona-core.c+2−2
@@ -285,7 +285,7 @@ static struct mfd_cell wm5110_devs[] = { · 284 unmodified lines
285285 { .name = "wm5110-codec" },
286286 };
287287
288−int __devinit arizona_dev_init(struct arizona *arizona)
288+int arizona_dev_init(struct arizona *arizona)
289289 {
290290 struct device *dev = arizona->dev;
291291 const char *type_name;
@@ -561,7 +561,7 @@ err_early: · 269 unmodified lines
561561 }
562562 EXPORT_SYMBOL_GPL(arizona_dev_init);
563563
564−int __devexit arizona_dev_exit(struct arizona *arizona)
564+int arizona_dev_exit(struct arizona *arizona)
565565 {
566566 mfd_remove_devices(arizona->dev);
567567 arizona_free_irq(arizona, ARIZONA_IRQ_UNDERCLOCKED, arizona);
drivers/mfd/arizona-i2c.c+3−3
@@ -22,7 +22,7 @@ · 21 unmodified lines
2222
2323 #include "arizona.h"
2424
25−static __devinit int arizona_i2c_probe(struct i2c_client *i2c,
25+static int arizona_i2c_probe(struct i2c_client *i2c,
2626 const struct i2c_device_id *id)
2727 {
2828 struct arizona *arizona;
@@ -65,7 +65,7 @@ static __devinit int arizona_i2c_probe(struct i2c_client *i2c, · 36 unmodified lines
6565 return arizona_dev_init(arizona);
6666 }
6767
68−static int __devexit arizona_i2c_remove(struct i2c_client *i2c)
68+static int arizona_i2c_remove(struct i2c_client *i2c)
6969 {
7070 struct arizona *arizona = dev_get_drvdata(&i2c->dev);
7171 arizona_dev_exit(arizona);
@@ -86,7 +86,7 @@ static struct i2c_driver arizona_i2c_driver = { · 14 unmodified lines
8686 .pm = &arizona_pm_ops,
8787 },
8888 .probe = arizona_i2c_probe,
89− .remove = __devexit_p(arizona_i2c_remove),
89+ .remove = arizona_i2c_remove,
9090 .id_table = arizona_i2c_id,
9191 };
9292
drivers/mfd/arizona-spi.c+3−3
@@ -22,7 +22,7 @@ · 21 unmodified lines
2222
2323 #include "arizona.h"
2424
25−static int __devinit arizona_spi_probe(struct spi_device *spi)
25+static int arizona_spi_probe(struct spi_device *spi)
2626 {
2727 const struct spi_device_id *id = spi_get_device_id(spi);
2828 struct arizona *arizona;
@@ -65,7 +65,7 @@ static int __devinit arizona_spi_probe(struct spi_device *spi) · 36 unmodified lines
6565 return arizona_dev_init(arizona);
6666 }
6767
68−static int __devexit arizona_spi_remove(struct spi_device *spi)
68+static int arizona_spi_remove(struct spi_device *spi)
6969 {
7070 struct arizona *arizona = dev_get_drvdata(&spi->dev);
7171 arizona_dev_exit(arizona);
@@ -86,7 +86,7 @@ static struct spi_driver arizona_spi_driver = { · 14 unmodified lines
8686 .pm = &arizona_pm_ops,
8787 },
8888 .probe = arizona_spi_probe,
89− .remove = __devexit_p(arizona_spi_remove),
89+ .remove = arizona_spi_remove,
9090 .id_table = arizona_spi_ids,
9191 };
9292
drivers/mfd/asic3.c+2−2
@@ -1039,7 +1039,7 @@ static int __init asic3_probe(struct platform_device *pdev) · 1038 unmodified lines
10391039 return ret;
10401040 }
10411041
1042−static int __devexit asic3_remove(struct platform_device *pdev)
1042+static int asic3_remove(struct platform_device *pdev)
10431043 {
10441044 int ret;
10451045 struct asic3 *asic = platform_get_drvdata(pdev);
@@ -1071,7 +1071,7 @@ static struct platform_driver asic3_device_driver = { · 25 unmodified lines
10711071 .driver = {
10721072 .name = "asic3",
10731073 },
1074− .remove = __devexit_p(asic3_remove),
1074+ .remove = asic3_remove,
10751075 .shutdown = asic3_shutdown,
10761076 };
10771077
drivers/mfd/cs5535-mfd.c+6−6
@@ -71,9 +71,9 @@ static int cs5535_mfd_res_disable(struct platform_device *pdev) · 70 unmodified lines
7171 return 0;
7272 }
7373
74−static __devinitdata struct resource cs5535_mfd_resources[NR_BARS];
74+static struct resource cs5535_mfd_resources[NR_BARS];
7575
76−static __devinitdata struct mfd_cell cs5535_mfd_cells[] = {
76+static struct mfd_cell cs5535_mfd_cells[] = {
7777 {
7878 .id = SMB_BAR,
7979 .name = "cs5535-smb",
@@ -113,7 +113,7 @@ static __devinitdata struct mfd_cell cs5535_mfd_cells[] = { · 33 unmodified lines
113113 };
114114
115115 #ifdef CONFIG_OLPC
116−static void __devinit cs5535_clone_olpc_cells(void)
116+static void cs5535_clone_olpc_cells(void)
117117 {
118118 const char *acpi_clones[] = { "olpc-xo1-pm-acpi", "olpc-xo1-sci-acpi" };
119119
@@ -126,7 +126,7 @@ static void __devinit cs5535_clone_olpc_cells(void) · 6 unmodified lines
126126 static void cs5535_clone_olpc_cells(void) { }
127127 #endif
128128
129−static int __devinit cs5535_mfd_probe(struct pci_dev *pdev,
129+static int cs5535_mfd_probe(struct pci_dev *pdev,
130130 const struct pci_device_id *id)
131131 {
132132 int err, i;
@@ -166,7 +166,7 @@ err_disable: · 33 unmodified lines
166166 return err;
167167 }
168168
169−static void __devexit cs5535_mfd_remove(struct pci_dev *pdev)
169+static void cs5535_mfd_remove(struct pci_dev *pdev)
170170 {
171171 mfd_remove_devices(&pdev->dev);
172172 pci_disable_device(pdev);
@@ -183,7 +183,7 @@ static struct pci_driver cs5535_mfd_driver = { · 10 unmodified lines
183183 .name = DRV_NAME,
184184 .id_table = cs5535_mfd_pci_tbl,
185185 .probe = cs5535_mfd_probe,
186− .remove = __devexit_p(cs5535_mfd_remove),
186+ .remove = cs5535_mfd_remove,
187187 };
188188
189189 module_pci_driver(cs5535_mfd_driver);
drivers/mfd/da903x.c+5−5
@@ -246,7 +246,7 @@ int da903x_query_status(struct device *dev, unsigned int sbits) · 245 unmodified lines
246246 }
247247 EXPORT_SYMBOL(da903x_query_status);
248248
249−static int __devinit da9030_init_chip(struct da903x_chip *chip)
249+static int da9030_init_chip(struct da903x_chip *chip)
250250 {
251251 uint8_t chip_id;
252252 int err;
@@ -459,7 +459,7 @@ static int da903x_remove_subdevs(struct da903x_chip *chip) · 206 unmodified lines
459459 return device_for_each_child(chip->dev, NULL, __remove_subdev);
460460 }
461461
462−static int __devinit da903x_add_subdevs(struct da903x_chip *chip,
462+static int da903x_add_subdevs(struct da903x_chip *chip,
463463 struct da903x_platform_data *pdata)
464464 {
465465 struct da903x_subdev_info *subdev;
@@ -491,7 +491,7 @@ failed: · 25 unmodified lines
491491 return ret;
492492 }
493493
494−static int __devinit da903x_probe(struct i2c_client *client,
494+static int da903x_probe(struct i2c_client *client,
495495 const struct i2c_device_id *id)
496496 {
497497 struct da903x_platform_data *pdata = client->dev.platform_data;
@@ -544,7 +544,7 @@ out_free_chip: · 46 unmodified lines
544544 return ret;
545545 }
546546
547−static int __devexit da903x_remove(struct i2c_client *client)
547+static int da903x_remove(struct i2c_client *client)
548548 {
549549 struct da903x_chip *chip = i2c_get_clientdata(client);
550550
@@ -560,7 +560,7 @@ static struct i2c_driver da903x_driver = { · 9 unmodified lines
560560 .owner = THIS_MODULE,
561561 },
562562 .probe = da903x_probe,
563− .remove = __devexit_p(da903x_remove),
563+ .remove = da903x_remove,
564564 .id_table = da903x_id_table,
565565 };
566566
drivers/mfd/da9052-core.c+2−2
@@ -515,7 +515,7 @@ static struct resource da9052_tsi_resources[] = { · 514 unmodified lines
515515 },
516516 };
517517
518−static struct mfd_cell __devinitdata da9052_subdev_info[] = {
518+static struct mfd_cell da9052_subdev_info[] = {
519519 {
520520 .name = "da9052-regulator",
521521 .id = 1,
@@ -769,7 +769,7 @@ struct regmap_config da9052_regmap_config = { · 247 unmodified lines
769769 };
770770 EXPORT_SYMBOL_GPL(da9052_regmap_config);
771771
772−int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id)
772+int da9052_device_init(struct da9052 *da9052, u8 chip_id)
773773 {
774774 struct da9052_pdata *pdata = da9052->dev->platform_data;
775775 int ret;
drivers/mfd/da9052-i2c.c+3−3
@@ -64,7 +64,7 @@ static const struct of_device_id dialog_dt_ids[] = { · 63 unmodified lines
6464 };
6565 #endif
6666
67−static int __devinit da9052_i2c_probe(struct i2c_client *client,
67+static int da9052_i2c_probe(struct i2c_client *client,
6868 const struct i2c_device_id *id)
6969 {
7070 struct da9052 *da9052;
@@ -121,7 +121,7 @@ static int __devinit da9052_i2c_probe(struct i2c_client *client, · 50 unmodified lines
121121 return 0;
122122 }
123123
124−static int __devexit da9052_i2c_remove(struct i2c_client *client)
124+static int da9052_i2c_remove(struct i2c_client *client)
125125 {
126126 struct da9052 *da9052 = i2c_get_clientdata(client);
127127
@@ -131,7 +131,7 @@ static int __devexit da9052_i2c_remove(struct i2c_client *client) · 3 unmodified lines
131131
132132 static struct i2c_driver da9052_i2c_driver = {
133133 .probe = da9052_i2c_probe,
134− .remove = __devexit_p(da9052_i2c_remove),
134+ .remove = da9052_i2c_remove,
135135 .id_table = da9052_i2c_id,
136136 .driver = {
137137 .name = "da9052",
drivers/mfd/da9052-spi.c+3−3
@@ -21,7 +21,7 @@ · 20 unmodified lines
2121
2222 #include <linux/mfd/da9052/da9052.h>
2323
24−static int __devinit da9052_spi_probe(struct spi_device *spi)
24+static int da9052_spi_probe(struct spi_device *spi)
2525 {
2626 int ret;
2727 const struct spi_device_id *id = spi_get_device_id(spi);
@@ -58,7 +58,7 @@ static int __devinit da9052_spi_probe(struct spi_device *spi) · 30 unmodified lines
5858 return 0;
5959 }
6060
61−static int __devexit da9052_spi_remove(struct spi_device *spi)
61+static int da9052_spi_remove(struct spi_device *spi)
6262 {
6363 struct da9052 *da9052 = dev_get_drvdata(&spi->dev);
6464
@@ -76,7 +76,7 @@ static struct spi_device_id da9052_spi_id[] = { · 11 unmodified lines
7676
7777 static struct spi_driver da9052_spi_driver = {
7878 .probe = da9052_spi_probe,
79− .remove = __devexit_p(da9052_spi_remove),
79+ .remove = da9052_spi_remove,
8080 .id_table = da9052_spi_id,
8181 .driver = {
8282 .name = "da9052",
drivers/mfd/da9055-core.c+2−2
@@ -377,7 +377,7 @@ static struct regmap_irq_chip da9055_regmap_irq_chip = { · 376 unmodified lines
377377 .num_irqs = ARRAY_SIZE(da9055_irqs),
378378 };
379379
380−int __devinit da9055_device_init(struct da9055 *da9055)
380+int da9055_device_init(struct da9055 *da9055)
381381 {
382382 struct da9055_pdata *pdata = da9055->dev->platform_data;
383383 int ret;
@@ -412,7 +412,7 @@ err: · 28 unmodified lines
412412 return ret;
413413 }
414414
415−void __devexit da9055_device_exit(struct da9055 *da9055)
415+void da9055_device_exit(struct da9055 *da9055)
416416 {
417417 regmap_del_irq_chip(da9055->chip_irq, da9055->irq_data);
418418 mfd_remove_devices(da9055->dev);
drivers/mfd/da9055-i2c.c+3−3
@@ -18,7 +18,7 @@ · 17 unmodified lines
1818
1919 #include <linux/mfd/da9055/core.h>
2020
21−static int __devinit da9055_i2c_probe(struct i2c_client *i2c,
21+static int da9055_i2c_probe(struct i2c_client *i2c,
2222 const struct i2c_device_id *id)
2323 {
2424 struct da9055 *da9055;
@@ -44,7 +44,7 @@ static int __devinit da9055_i2c_probe(struct i2c_client *i2c, · 19 unmodified lines
4444 return da9055_device_init(da9055);
4545 }
4646
47−static int __devexit da9055_i2c_remove(struct i2c_client *i2c)
47+static int da9055_i2c_remove(struct i2c_client *i2c)
4848 {
4949 struct da9055 *da9055 = i2c_get_clientdata(i2c);
5050
@@ -60,7 +60,7 @@ static struct i2c_device_id da9055_i2c_id[] = { · 9 unmodified lines
6060
6161 static struct i2c_driver da9055_i2c_driver = {
6262 .probe = da9055_i2c_probe,
63− .remove = __devexit_p(da9055_i2c_remove),
63+ .remove = da9055_i2c_remove,
6464 .id_table = da9055_i2c_id,
6565 .driver = {
6666 .name = "da9055",
drivers/mfd/davinci_voicecodec.c+2−2
@@ -151,7 +151,7 @@ fail1: · 150 unmodified lines
151151 return ret;
152152 }
153153
154−static int __devexit davinci_vc_remove(struct platform_device *pdev)
154+static int davinci_vc_remove(struct platform_device *pdev)
155155 {
156156 struct davinci_vc *davinci_vc = platform_get_drvdata(pdev);
157157
@@ -174,7 +174,7 @@ static struct platform_driver davinci_vc_driver = { · 16 unmodified lines
174174 .name = "davinci_voicecodec",
175175 .owner = THIS_MODULE,
176176 },
177− .remove = __devexit_p(davinci_vc_remove),
177+ .remove = davinci_vc_remove,
178178 };
179179
180180 static int __init davinci_vc_init(void)
drivers/mfd/db8500-prcmu.c+1−1
@@ -3088,7 +3088,7 @@ static void db8500_prcmu_update_cpufreq(void) · 3087 unmodified lines
30883088 * prcmu_fw_init - arch init call for the Linux PRCMU fw init logic
30893089 *
30903090 */
3091−static int __devinit db8500_prcmu_probe(struct platform_device *pdev)
3091+static int db8500_prcmu_probe(struct platform_device *pdev)
30923092 {
30933093 struct ab8500_platform_data *ab8500_platdata = pdev->dev.platform_data;
30943094 struct device_node *np = pdev->dev.of_node;
drivers/mfd/ezx-pcap.c+4−4
@@ -371,7 +371,7 @@ static int pcap_remove_subdev(struct device *dev, void *unused) · 370 unmodified lines
371371 return 0;
372372 }
373373
374−static int __devinit pcap_add_subdev(struct pcap_chip *pcap,
374+static int pcap_add_subdev(struct pcap_chip *pcap,
375375 struct pcap_subdev *subdev)
376376 {
377377 struct platform_device *pdev;
@@ -391,7 +391,7 @@ static int __devinit pcap_add_subdev(struct pcap_chip *pcap, · 13 unmodified lines
391391 return ret;
392392 }
393393
394−static int __devexit ezx_pcap_remove(struct spi_device *spi)
394+static int ezx_pcap_remove(struct spi_device *spi)
395395 {
396396 struct pcap_chip *pcap = dev_get_drvdata(&spi->dev);
397397 struct pcap_platform_data *pdata = spi->dev.platform_data;
@@ -420,7 +420,7 @@ static int __devexit ezx_pcap_remove(struct spi_device *spi) · 22 unmodified lines
420420 return 0;
421421 }
422422
423−static int __devinit ezx_pcap_probe(struct spi_device *spi)
423+static int ezx_pcap_probe(struct spi_device *spi)
424424 {
425425 struct pcap_platform_data *pdata = spi->dev.platform_data;
426426 struct pcap_chip *pcap;
@@ -525,7 +525,7 @@ ret: · 98 unmodified lines
525525
526526 static struct spi_driver ezxpcap_driver = {
527527 .probe = ezx_pcap_probe,
528− .remove = __devexit_p(ezx_pcap_remove),
528+ .remove = ezx_pcap_remove,
529529 .driver = {
530530 .name = "ezx-pcap",
531531 .owner = THIS_MODULE,
drivers/mfd/htc-i2cpld.c+6−6
@@ -327,7 +327,7 @@ static void htcpld_chip_reset(struct i2c_client *client) · 326 unmodified lines
327327 client, (chip_data->cache_out = chip_data->reset));
328328 }
329329
330−static int __devinit htcpld_setup_chip_irq(
330+static int htcpld_setup_chip_irq(
331331 struct platform_device *pdev,
332332 int chip_index)
333333 {
@@ -361,7 +361,7 @@ static int __devinit htcpld_setup_chip_irq( · 27 unmodified lines
361361 return ret;
362362 }
363363
364−static int __devinit htcpld_register_chip_i2c(
364+static int htcpld_register_chip_i2c(
365365 struct platform_device *pdev,
366366 int chip_index)
367367 {
@@ -419,7 +419,7 @@ static int __devinit htcpld_register_chip_i2c( · 51 unmodified lines
419419 return 0;
420420 }
421421
422−static void __devinit htcpld_unregister_chip_i2c(
422+static void htcpld_unregister_chip_i2c(
423423 struct platform_device *pdev,
424424 int chip_index)
425425 {
@@ -434,7 +434,7 @@ static void __devinit htcpld_unregister_chip_i2c( · 8 unmodified lines
434434 i2c_unregister_device(chip->client);
435435 }
436436
437−static int __devinit htcpld_register_chip_gpio(
437+static int htcpld_register_chip_gpio(
438438 struct platform_device *pdev,
439439 int chip_index)
440440 {
@@ -501,7 +501,7 @@ static int __devinit htcpld_register_chip_gpio( · 60 unmodified lines
501501 return 0;
502502 }
503503
504−static int __devinit htcpld_setup_chips(struct platform_device *pdev)
504+static int htcpld_setup_chips(struct platform_device *pdev)
505505 {
506506 struct htcpld_data *htcpld;
507507 struct device *dev = &pdev->dev;
@@ -563,7 +563,7 @@ static int __devinit htcpld_setup_chips(struct platform_device *pdev) · 55 unmodified lines
563563 return 0;
564564 }
565565
566−static int __devinit htcpld_core_probe(struct platform_device *pdev)
566+static int htcpld_core_probe(struct platform_device *pdev)
567567 {
568568 struct htcpld_data *htcpld;
569569 struct device *dev = &pdev->dev;
drivers/mfd/intel_msic.c+5−5
@@ -306,7 +306,7 @@ int intel_msic_irq_read(struct intel_msic *msic, unsigned short reg, u8 *val) · 305 unmodified lines
306306 }
307307 EXPORT_SYMBOL_GPL(intel_msic_irq_read);
308308
309−static int __devinit intel_msic_init_devices(struct intel_msic *msic)
309+static int intel_msic_init_devices(struct intel_msic *msic)
310310 {
311311 struct platform_device *pdev = msic->pdev;
312312 struct intel_msic_platform_data *pdata = pdev->dev.platform_data;
@@ -364,7 +364,7 @@ fail: · 51 unmodified lines
364364 return ret;
365365 }
366366
367−static void __devexit intel_msic_remove_devices(struct intel_msic *msic)
367+static void intel_msic_remove_devices(struct intel_msic *msic)
368368 {
369369 struct platform_device *pdev = msic->pdev;
370370 struct intel_msic_platform_data *pdata = pdev->dev.platform_data;
@@ -375,7 +375,7 @@ static void __devexit intel_msic_remove_devices(struct intel_msic *msic) · 4 unmodified lines
375375 gpio_free(pdata->ocd->gpio);
376376 }
377377
378−static int __devinit intel_msic_probe(struct platform_device *pdev)
378+static int intel_msic_probe(struct platform_device *pdev)
379379 {
380380 struct intel_msic_platform_data *pdata = pdev->dev.platform_data;
381381 struct intel_msic *msic;
@@ -445,7 +445,7 @@ static int __devinit intel_msic_probe(struct platform_device *pdev) · 63 unmodified lines
445445 return 0;
446446 }
447447
448−static int __devexit intel_msic_remove(struct platform_device *pdev)
448+static int intel_msic_remove(struct platform_device *pdev)
449449 {
450450 struct intel_msic *msic = platform_get_drvdata(pdev);
451451
@@ -457,7 +457,7 @@ static int __devexit intel_msic_remove(struct platform_device *pdev) · 5 unmodified lines
457457
458458 static struct platform_driver intel_msic_driver = {
459459 .probe = intel_msic_probe,
460− .remove = __devexit_p(intel_msic_remove),
460+ .remove = intel_msic_remove,
461461 .driver = {
462462 .name = "intel_msic",
463463 .owner = THIS_MODULE,
drivers/mfd/janz-cmodio.c+5−5
@@ -63,7 +63,7 @@ struct cmodio_device { · 62 unmodified lines
6363 * Subdevices using the mfd-core API
6464 */
6565
66−static int __devinit cmodio_setup_subdevice(struct cmodio_device *priv,
66+static int cmodio_setup_subdevice(struct cmodio_device *priv,
6767 char *name, unsigned int devno,
6868 unsigned int modno)
6969 {
@@ -120,7 +120,7 @@ static int __devinit cmodio_setup_subdevice(struct cmodio_device *priv, · 50 unmodified lines
120120 }
121121
122122 /* Probe each submodule using kernel parameters */
123−static int __devinit cmodio_probe_submodules(struct cmodio_device *priv)
123+static int cmodio_probe_submodules(struct cmodio_device *priv)
124124 {
125125 struct pci_dev *pdev = priv->pdev;
126126 unsigned int num_probed = 0;
@@ -177,7 +177,7 @@ static const struct attribute_group cmodio_sysfs_attr_group = { · 50 unmodified lines
177177 * PCI Driver
178178 */
179179
180−static int __devinit cmodio_pci_probe(struct pci_dev *dev,
180+static int cmodio_pci_probe(struct pci_dev *dev,
181181 const struct pci_device_id *id)
182182 {
183183 struct cmodio_device *priv;
@@ -254,7 +254,7 @@ out_return: · 70 unmodified lines
254254 return ret;
255255 }
256256
257−static void __devexit cmodio_pci_remove(struct pci_dev *dev)
257+static void cmodio_pci_remove(struct pci_dev *dev)
258258 {
259259 struct cmodio_device *priv = pci_get_drvdata(dev);
260260
@@ -280,7 +280,7 @@ static struct pci_driver cmodio_pci_driver = { · 19 unmodified lines
280280 .name = DRV_NAME,
281281 .id_table = cmodio_pci_ids,
282282 .probe = cmodio_pci_probe,
283− .remove = __devexit_p(cmodio_pci_remove),
283+ .remove = cmodio_pci_remove,
284284 };
285285
286286 module_pci_driver(cmodio_pci_driver);
drivers/mfd/jz4740-adc.c+3−3
@@ -202,7 +202,7 @@ static struct mfd_cell jz4740_adc_cells[] = { · 201 unmodified lines
202202 },
203203 };
204204
205−static int __devinit jz4740_adc_probe(struct platform_device *pdev)
205+static int jz4740_adc_probe(struct platform_device *pdev)
206206 {
207207 struct irq_chip_generic *gc;
208208 struct irq_chip_type *ct;
@@ -307,7 +307,7 @@ err_free: · 98 unmodified lines
307307 return ret;
308308 }
309309
310−static int __devexit jz4740_adc_remove(struct platform_device *pdev)
310+static int jz4740_adc_remove(struct platform_device *pdev)
311311 {
312312 struct jz4740_adc *adc = platform_get_drvdata(pdev);
313313
@@ -332,7 +332,7 @@ static int __devexit jz4740_adc_remove(struct platform_device *pdev) · 18 unmodified lines
332332
333333 static struct platform_driver jz4740_adc_driver = {
334334 .probe = jz4740_adc_probe,
335− .remove = __devexit_p(jz4740_adc_remove),
335+ .remove = jz4740_adc_remove,
336336 .driver = {
337337 .name = "jz4740-adc",
338338 .owner = THIS_MODULE,
drivers/mfd/lm3533-core.c+9−9
@@ -382,7 +382,7 @@ static struct attribute_group lm3533_attribute_group = { · 381 unmodified lines
382382 .attrs = lm3533_attributes
383383 };
384384
385−static int __devinit lm3533_device_als_init(struct lm3533 *lm3533)
385+static int lm3533_device_als_init(struct lm3533 *lm3533)
386386 {
387387 struct lm3533_platform_data *pdata = lm3533->dev->platform_data;
388388 int ret;
@@ -405,7 +405,7 @@ static int __devinit lm3533_device_als_init(struct lm3533 *lm3533) · 16 unmodified lines
405405 return 0;
406406 }
407407
408−static int __devinit lm3533_device_bl_init(struct lm3533 *lm3533)
408+static int lm3533_device_bl_init(struct lm3533 *lm3533)
409409 {
410410 struct lm3533_platform_data *pdata = lm3533->dev->platform_data;
411411 int i;
@@ -434,7 +434,7 @@ static int __devinit lm3533_device_bl_init(struct lm3533 *lm3533) · 22 unmodified lines
434434 return 0;
435435 }
436436
437−static int __devinit lm3533_device_led_init(struct lm3533 *lm3533)
437+static int lm3533_device_led_init(struct lm3533 *lm3533)
438438 {
439439 struct lm3533_platform_data *pdata = lm3533->dev->platform_data;
440440 int i;
@@ -463,7 +463,7 @@ static int __devinit lm3533_device_led_init(struct lm3533 *lm3533) · 22 unmodified lines
463463 return 0;
464464 }
465465
466−static int __devinit lm3533_device_setup(struct lm3533 *lm3533,
466+static int lm3533_device_setup(struct lm3533 *lm3533,
467467 struct lm3533_platform_data *pdata)
468468 {
469469 int ret;
@@ -479,7 +479,7 @@ static int __devinit lm3533_device_setup(struct lm3533 *lm3533, · 9 unmodified lines
479479 return 0;
480480 }
481481
482−static int __devinit lm3533_device_init(struct lm3533 *lm3533)
482+static int lm3533_device_init(struct lm3533 *lm3533)
483483 {
484484 struct lm3533_platform_data *pdata = lm3533->dev->platform_data;
485485 int ret;
@@ -534,7 +534,7 @@ err_disable: · 48 unmodified lines
534534 return ret;
535535 }
536536
537−static void __devexit lm3533_device_exit(struct lm3533 *lm3533)
537+static void lm3533_device_exit(struct lm3533 *lm3533)
538538 {
539539 dev_dbg(lm3533->dev, "%s\n", __func__);
540540
@@ -596,7 +596,7 @@ static struct regmap_config regmap_config = { · 55 unmodified lines
596596 .precious_reg = lm3533_precious_register,
597597 };
598598
599−static int __devinit lm3533_i2c_probe(struct i2c_client *i2c,
599+static int lm3533_i2c_probe(struct i2c_client *i2c,
600600 const struct i2c_device_id *id)
601601 {
602602 struct lm3533 *lm3533;
@@ -624,7 +624,7 @@ static int __devinit lm3533_i2c_probe(struct i2c_client *i2c, · 21 unmodified lines
624624 return 0;
625625 }
626626
627−static int __devexit lm3533_i2c_remove(struct i2c_client *i2c)
627+static int lm3533_i2c_remove(struct i2c_client *i2c)
628628 {
629629 struct lm3533 *lm3533 = i2c_get_clientdata(i2c);
630630
@@ -648,7 +648,7 @@ static struct i2c_driver lm3533_i2c_driver = { · 17 unmodified lines
648648 },
649649 .id_table = lm3533_i2c_ids,
650650 .probe = lm3533_i2c_probe,
651− .remove = __devexit_p(lm3533_i2c_remove),
651+ .remove = lm3533_i2c_remove,
652652 };
653653
654654 static int __init lm3533_i2c_init(void)
drivers/mfd/lp8788.c+2−2
@@ -203,7 +203,7 @@ static int lp8788_probe(struct i2c_client *cl, const struct i2c_device_id *id) · 202 unmodified lines
203203 ARRAY_SIZE(lp8788_devs), NULL, 0, NULL);
204204 }
205205
206−static int __devexit lp8788_remove(struct i2c_client *cl)
206+static int lp8788_remove(struct i2c_client *cl)
207207 {
208208 struct lp8788 *lp = i2c_get_clientdata(cl);
209209
@@ -224,7 +224,7 @@ static struct i2c_driver lp8788_driver = { · 14 unmodified lines
224224 .owner = THIS_MODULE,
225225 },
226226 .probe = lp8788_probe,
227− .remove = __devexit_p(lp8788_remove),
227+ .remove = lp8788_remove,
228228 .id_table = lp8788_ids,
229229 };
230230
drivers/mfd/lpc_ich.c+10−10
@@ -196,7 +196,7 @@ enum lpc_chipsets { · 195 unmodified lines
196196 LPC_LPT_LP, /* Lynx Point-LP */
197197 };
198198
199−struct lpc_ich_info lpc_chipset_info[] __devinitdata = {
199+struct lpc_ich_info lpc_chipset_info[] = {
200200 [LPC_ICH] = {
201201 .name = "ICH",
202202 .iTCO_version = 1,
@@ -672,7 +672,7 @@ static void lpc_ich_restore_config_space(struct pci_dev *dev) · 469 unmodified lines
672672 }
673673 }
674674
675−static void __devinit lpc_ich_enable_acpi_space(struct pci_dev *dev)
675+static void lpc_ich_enable_acpi_space(struct pci_dev *dev)
676676 {
677677 u8 reg_save;
678678
@@ -681,7 +681,7 @@ static void __devinit lpc_ich_enable_acpi_space(struct pci_dev *dev) · 2 unmodified lines
681681 lpc_ich_acpi_save = reg_save;
682682 }
683683
684−static void __devinit lpc_ich_enable_gpio_space(struct pci_dev *dev)
684+static void lpc_ich_enable_gpio_space(struct pci_dev *dev)
685685 {
686686 u8 reg_save;
687687
@@ -690,7 +690,7 @@ static void __devinit lpc_ich_enable_gpio_space(struct pci_dev *dev) · 2 unmodified lines
690690 lpc_ich_gpio_save = reg_save;
691691 }
692692
693−static void __devinit lpc_ich_finalize_cell(struct mfd_cell *cell,
693+static void lpc_ich_finalize_cell(struct mfd_cell *cell,
694694 const struct pci_device_id *id)
695695 {
696696 cell->platform_data = &lpc_chipset_info[id->driver_data];
@@ -702,7 +702,7 @@ static void __devinit lpc_ich_finalize_cell(struct mfd_cell *cell, · 5 unmodified lines
702702 * GPIO groups and it's enough to have access to one of these to instantiate
703703 * the device.
704704 */
705−static int __devinit lpc_ich_check_conflict_gpio(struct resource *res)
705+static int lpc_ich_check_conflict_gpio(struct resource *res)
706706 {
707707 int ret;
708708 u8 use_gpio = 0;
@@ -721,7 +721,7 @@ static int __devinit lpc_ich_check_conflict_gpio(struct resource *res) · 12 unmodified lines
721721 return use_gpio ? use_gpio : ret;
722722 }
723723
724−static int __devinit lpc_ich_init_gpio(struct pci_dev *dev,
724+static int lpc_ich_init_gpio(struct pci_dev *dev,
725725 const struct pci_device_id *id)
726726 {
727727 u32 base_addr_cfg;
@@ -798,7 +798,7 @@ gpio_done: · 70 unmodified lines
798798 return ret;
799799 }
800800
801−static int __devinit lpc_ich_init_wdt(struct pci_dev *dev,
801+static int lpc_ich_init_wdt(struct pci_dev *dev,
802802 const struct pci_device_id *id)
803803 {
804804 u32 base_addr_cfg;
@@ -852,7 +852,7 @@ wdt_done: · 47 unmodified lines
852852 return ret;
853853 }
854854
855−static int __devinit lpc_ich_probe(struct pci_dev *dev,
855+static int lpc_ich_probe(struct pci_dev *dev,
856856 const struct pci_device_id *id)
857857 {
858858 int ret;
@@ -878,7 +878,7 @@ static int __devinit lpc_ich_probe(struct pci_dev *dev, · 19 unmodified lines
878878 return 0;
879879 }
880880
881−static void __devexit lpc_ich_remove(struct pci_dev *dev)
881+static void lpc_ich_remove(struct pci_dev *dev)
882882 {
883883 mfd_remove_devices(&dev->dev);
884884 lpc_ich_restore_config_space(dev);
@@ -888,7 +888,7 @@ static struct pci_driver lpc_ich_driver = { · 3 unmodified lines
888888 .name = "lpc_ich",
889889 .id_table = lpc_ich_ids,
890890 .probe = lpc_ich_probe,
891− .remove = __devexit_p(lpc_ich_remove),
891+ .remove = lpc_ich_remove,
892892 };
893893
894894 static int __init lpc_ich_init(void)
drivers/mfd/lpc_sch.c+3−3
@@ -83,7 +83,7 @@ static DEFINE_PCI_DEVICE_TABLE(lpc_sch_ids) = { · 82 unmodified lines
8383 };
8484 MODULE_DEVICE_TABLE(pci, lpc_sch_ids);
8585
86−static int __devinit lpc_sch_probe(struct pci_dev *dev,
86+static int lpc_sch_probe(struct pci_dev *dev,
8787 const struct pci_device_id *id)
8888 {
8989 unsigned int base_addr_cfg;
@@ -164,7 +164,7 @@ out_dev: · 74 unmodified lines
164164 return ret;
165165 }
166166
167−static void __devexit lpc_sch_remove(struct pci_dev *dev)
167+static void lpc_sch_remove(struct pci_dev *dev)
168168 {
169169 mfd_remove_devices(&dev->dev);
170170 }
@@ -173,7 +173,7 @@ static struct pci_driver lpc_sch_driver = { · 2 unmodified lines
173173 .name = "lpc_sch",
174174 .id_table = lpc_sch_ids,
175175 .probe = lpc_sch_probe,
176− .remove = __devexit_p(lpc_sch_remove),
176+ .remove = lpc_sch_remove,
177177 };
178178
179179 module_pci_driver(lpc_sch_driver);
drivers/mfd/max77686.c+1−1
@@ -45,7 +45,7 @@ static struct regmap_config max77686_regmap_config = { · 44 unmodified lines
4545 };
4646
4747 #ifdef CONFIG_OF
48−static struct of_device_id __devinitdata max77686_pmic_dt_match[] = {
48+static struct of_device_id max77686_pmic_dt_match[] = {
4949 {.compatible = "maxim,max77686", .data = 0},
5050 {},
5151 };
drivers/mfd/max8907.c+2−2
@@ -183,7 +183,7 @@ static void max8907_power_off(void) · 182 unmodified lines
183183 MAX8907_MASK_POWER_OFF, MAX8907_MASK_POWER_OFF);
184184 }
185185
186−static __devinit int max8907_i2c_probe(struct i2c_client *i2c,
186+static int max8907_i2c_probe(struct i2c_client *i2c,
187187 const struct i2c_device_id *id)
188188 {
189189 struct max8907 *max8907;
@@ -288,7 +288,7 @@ err_alloc_drvdata: · 98 unmodified lines
288288 return ret;
289289 }
290290
291−static __devexit int max8907_i2c_remove(struct i2c_client *i2c)
291+static int max8907_i2c_remove(struct i2c_client *i2c)
292292 {
293293 struct max8907 *max8907 = i2c_get_clientdata(i2c);
294294
drivers/mfd/max8925-core.c+29−29
@@ -19,12 +19,12 @@ · 18 unmodified lines
1919 #include <linux/mfd/core.h>
2020 #include <linux/mfd/max8925.h>
2121
22−static struct resource bk_resources[] __devinitdata = {
22+static struct resource bk_resources[] = {
2323 { 0x84, 0x84, "mode control", IORESOURCE_REG, },
2424 { 0x85, 0x85, "control", IORESOURCE_REG, },
2525 };
2626
27−static struct mfd_cell bk_devs[] __devinitdata = {
27+static struct mfd_cell bk_devs[] = {
2828 {
2929 .name = "max8925-backlight",
3030 .num_resources = ARRAY_SIZE(bk_resources),
@@ -110,99 +110,99 @@ static struct mfd_cell onkey_devs[] = { · 79 unmodified lines
110110 },
111111 };
112112
113−static struct resource sd1_resources[] __devinitdata = {
113+static struct resource sd1_resources[] = {
114114 {0x06, 0x06, "sdv", IORESOURCE_REG, },
115115 };
116116
117−static struct resource sd2_resources[] __devinitdata = {
117+static struct resource sd2_resources[] = {
118118 {0x09, 0x09, "sdv", IORESOURCE_REG, },
119119 };
120120
121−static struct resource sd3_resources[] __devinitdata = {
121+static struct resource sd3_resources[] = {
122122 {0x0c, 0x0c, "sdv", IORESOURCE_REG, },
123123 };
124124
125−static struct resource ldo1_resources[] __devinitdata = {
125+static struct resource ldo1_resources[] = {
126126 {0x1a, 0x1a, "ldov", IORESOURCE_REG, },
127127 };
128128
129−static struct resource ldo2_resources[] __devinitdata = {
129+static struct resource ldo2_resources[] = {
130130 {0x1e, 0x1e, "ldov", IORESOURCE_REG, },
131131 };
132132
133−static struct resource ldo3_resources[] __devinitdata = {
133+static struct resource ldo3_resources[] = {
134134 {0x22, 0x22, "ldov", IORESOURCE_REG, },
135135 };
136136
137−static struct resource ldo4_resources[] __devinitdata = {
137+static struct resource ldo4_resources[] = {
138138 {0x26, 0x26, "ldov", IORESOURCE_REG, },
139139 };
140140
141−static struct resource ldo5_resources[] __devinitdata = {
141+static struct resource ldo5_resources[] = {
142142 {0x2a, 0x2a, "ldov", IORESOURCE_REG, },
143143 };
144144
145−static struct resource ldo6_resources[] __devinitdata = {
145+static struct resource ldo6_resources[] = {
146146 {0x2e, 0x2e, "ldov", IORESOURCE_REG, },
147147 };
148148
149−static struct resource ldo7_resources[] __devinitdata = {
149+static struct resource ldo7_resources[] = {
150150 {0x32, 0x32, "ldov", IORESOURCE_REG, },
151151 };
152152
153−static struct resource ldo8_resources[] __devinitdata = {
153+static struct resource ldo8_resources[] = {
154154 {0x36, 0x36, "ldov", IORESOURCE_REG, },
155155 };
156156
157−static struct resource ldo9_resources[] __devinitdata = {
157+static struct resource ldo9_resources[] = {
158158 {0x3a, 0x3a, "ldov", IORESOURCE_REG, },
159159 };
160160
161−static struct resource ldo10_resources[] __devinitdata = {
161+static struct resource ldo10_resources[] = {
162162 {0x3e, 0x3e, "ldov", IORESOURCE_REG, },
163163 };
164164
165−static struct resource ldo11_resources[] __devinitdata = {
165+static struct resource ldo11_resources[] = {
166166 {0x42, 0x42, "ldov", IORESOURCE_REG, },
167167 };
168168
169−static struct resource ldo12_resources[] __devinitdata = {
169+static struct resource ldo12_resources[] = {
170170 {0x46, 0x46, "ldov", IORESOURCE_REG, },
171171 };
172172
173−static struct resource ldo13_resources[] __devinitdata = {
173+static struct resource ldo13_resources[] = {
174174 {0x4a, 0x4a, "ldov", IORESOURCE_REG, },
175175 };
176176
177−static struct resource ldo14_resources[] __devinitdata = {
177+static struct resource ldo14_resources[] = {
178178 {0x4e, 0x4e, "ldov", IORESOURCE_REG, },
179179 };
180180
181−static struct resource ldo15_resources[] __devinitdata = {
181+static struct resource ldo15_resources[] = {
182182 {0x52, 0x52, "ldov", IORESOURCE_REG, },
183183 };
184184
185−static struct resource ldo16_resources[] __devinitdata = {
185+static struct resource ldo16_resources[] = {
186186 {0x12, 0x12, "ldov", IORESOURCE_REG, },
187187 };
188188
189−static struct resource ldo17_resources[] __devinitdata = {
189+static struct resource ldo17_resources[] = {
190190 {0x16, 0x16, "ldov", IORESOURCE_REG, },
191191 };
192192
193−static struct resource ldo18_resources[] __devinitdata = {
193+static struct resource ldo18_resources[] = {
194194 {0x74, 0x74, "ldov", IORESOURCE_REG, },
195195 };
196196
197−static struct resource ldo19_resources[] __devinitdata = {
197+static struct resource ldo19_resources[] = {
198198 {0x5e, 0x5e, "ldov", IORESOURCE_REG, },
199199 };
200200
201−static struct resource ldo20_resources[] __devinitdata = {
201+static struct resource ldo20_resources[] = {
202202 {0x9e, 0x9e, "ldov", IORESOURCE_REG, },
203203 };
204204
205−static struct mfd_cell reg_devs[] __devinitdata = {
205+static struct mfd_cell reg_devs[] = {
206206 {
207207 .name = "max8925-regulator",
208208 .id = 0,
@@ -714,7 +714,7 @@ tsc_irq: · 505 unmodified lines
714714 return 0;
715715 }
716716
717−static void __devinit init_regulator(struct max8925_chip *chip,
717+static void init_regulator(struct max8925_chip *chip,
718718 struct max8925_platform_data *pdata)
719719 {
720720 int ret;
@@ -821,7 +821,7 @@ static void __devinit init_regulator(struct max8925_chip *chip, · 100 unmodified lines
821821 }
822822 }
823823
824−int __devinit max8925_device_init(struct max8925_chip *chip,
824+int max8925_device_init(struct max8925_chip *chip,
825825 struct max8925_platform_data *pdata)
826826 {
827827 int ret;
@@ -901,7 +901,7 @@ out: · 73 unmodified lines
901901 return ret;
902902 }
903903
904−void __devexit max8925_device_exit(struct max8925_chip *chip)
904+void max8925_device_exit(struct max8925_chip *chip)
905905 {
906906 if (chip->core_irq)
907907 free_irq(chip->core_irq, chip);
drivers/mfd/max8925-i2c.c+3−3
@@ -135,7 +135,7 @@ static const struct i2c_device_id max8925_id_table[] = { · 134 unmodified lines
135135 };
136136 MODULE_DEVICE_TABLE(i2c, max8925_id_table);
137137
138−static int __devinit max8925_probe(struct i2c_client *client,
138+static int max8925_probe(struct i2c_client *client,
139139 const struct i2c_device_id *id)
140140 {
141141 struct max8925_platform_data *pdata = client->dev.platform_data;
@@ -168,7 +168,7 @@ static int __devinit max8925_probe(struct i2c_client *client, · 26 unmodified lines
168168 return 0;
169169 }
170170
171−static int __devexit max8925_remove(struct i2c_client *client)
171+static int max8925_remove(struct i2c_client *client)
172172 {
173173 struct max8925_chip *chip = i2c_get_clientdata(client);
174174
@@ -210,7 +210,7 @@ static struct i2c_driver max8925_driver = { · 35 unmodified lines
210210 .pm = &max8925_pm_ops,
211211 },
212212 .probe = max8925_probe,
213− .remove = __devexit_p(max8925_remove),
213+ .remove = max8925_remove,
214214 .id_table = max8925_id_table,
215215 };
216216
drivers/mfd/mc13xxx-i2c.c+2−2
@@ -85,7 +85,7 @@ static int mc13xxx_i2c_probe(struct i2c_client *client, · 84 unmodified lines
8585 return ret;
8686 }
8787
88−static int __devexit mc13xxx_i2c_remove(struct i2c_client *client)
88+static int mc13xxx_i2c_remove(struct i2c_client *client)
8989 {
9090 struct mc13xxx *mc13xxx = dev_get_drvdata(&client->dev);
9191
@@ -102,7 +102,7 @@ static struct i2c_driver mc13xxx_i2c_driver = { · 10 unmodified lines
102102 .of_match_table = mc13xxx_dt_ids,
103103 },
104104 .probe = mc13xxx_i2c_probe,
105− .remove = __devexit_p(mc13xxx_i2c_remove),
105+ .remove = mc13xxx_i2c_remove,
106106 };
107107
108108 static int __init mc13xxx_i2c_init(void)
drivers/mfd/mc13xxx-spi.c+2−2
@@ -159,7 +159,7 @@ static int mc13xxx_spi_probe(struct spi_device *spi) · 158 unmodified lines
159159 return ret;
160160 }
161161
162−static int __devexit mc13xxx_spi_remove(struct spi_device *spi)
162+static int mc13xxx_spi_remove(struct spi_device *spi)
163163 {
164164 struct mc13xxx *mc13xxx = dev_get_drvdata(&spi->dev);
165165
@@ -176,7 +176,7 @@ static struct spi_driver mc13xxx_spi_driver = { · 10 unmodified lines
176176 .of_match_table = mc13xxx_dt_ids,
177177 },
178178 .probe = mc13xxx_spi_probe,
179− .remove = __devexit_p(mc13xxx_spi_remove),
179+ .remove = mc13xxx_spi_remove,
180180 };
181181
182182 static int __init mc13xxx_init(void)
drivers/mfd/omap-usb-host.c+2−2
@@ -464,7 +464,7 @@ static void omap_usbhs_deinit(struct device *dev) · 463 unmodified lines
464464 *
465465 * Allocates basic resources for this USB host controller.
466466 */
467−static int __devinit usbhs_omap_probe(struct platform_device *pdev)
467+static int usbhs_omap_probe(struct platform_device *pdev)
468468 {
469469 struct device *dev = &pdev->dev;
470470 struct usbhs_omap_platform_data *pdata = dev->platform_data;
@@ -652,7 +652,7 @@ end_probe: · 181 unmodified lines
652652 *
653653 * Reverses the effect of usbhs_omap_probe().
654654 */
655−static int __devexit usbhs_omap_remove(struct platform_device *pdev)
655+static int usbhs_omap_remove(struct platform_device *pdev)
656656 {
657657 struct usbhs_hcd_omap *omap = platform_get_drvdata(pdev);
658658
drivers/mfd/omap-usb-tll.c+3−3
@@ -200,7 +200,7 @@ static unsigned ohci_omap3_fslsmode(enum usbhs_omap_port_mode mode) · 199 unmodified lines
200200 *
201201 * Allocates basic resources for this USB host controller.
202202 */
203−static int __devinit usbtll_omap_probe(struct platform_device *pdev)
203+static int usbtll_omap_probe(struct platform_device *pdev)
204204 {
205205 struct device *dev = &pdev->dev;
206206 struct usbtll_omap_platform_data *pdata = dev->platform_data;
@@ -348,7 +348,7 @@ end: · 141 unmodified lines
348348 *
349349 * Reverses the effect of usbtll_omap_probe().
350350 */
351−static int __devexit usbtll_omap_remove(struct platform_device *pdev)
351+static int usbtll_omap_remove(struct platform_device *pdev)
352352 {
353353 struct usbtll_omap *tll = platform_get_drvdata(pdev);
354354
@@ -424,7 +424,7 @@ static struct platform_driver usbtll_omap_driver = { · 69 unmodified lines
424424 .pm = &usbtllomap_dev_pm_ops,
425425 },
426426 .probe = usbtll_omap_probe,
427− .remove = __devexit_p(usbtll_omap_remove),
427+ .remove = usbtll_omap_remove,
428428 };
429429
430430 int omap_tll_enable(void)
drivers/mfd/palmas.c+3−3
@@ -247,7 +247,7 @@ static struct regmap_irq_chip palmas_irq_chip = { · 246 unmodified lines
247247 PALMAS_INT1_MASK),
248248 };
249249
250−static void __devinit palmas_dt_to_pdata(struct device_node *node,
250+static void palmas_dt_to_pdata(struct device_node *node,
251251 struct palmas_platform_data *pdata)
252252 {
253253 int ret;
@@ -275,7 +275,7 @@ static void __devinit palmas_dt_to_pdata(struct device_node *node, · 21 unmodified lines
275275 PALMAS_POWER_CTRL_ENABLE2_MASK;
276276 }
277277
278−static int __devinit palmas_i2c_probe(struct i2c_client *i2c,
278+static int palmas_i2c_probe(struct i2c_client *i2c,
279279 const struct i2c_device_id *id)
280280 {
281281 struct palmas *palmas;
@@ -492,7 +492,7 @@ static const struct i2c_device_id palmas_i2c_id[] = { · 210 unmodified lines
492492 };
493493 MODULE_DEVICE_TABLE(i2c, palmas_i2c_id);
494494
495−static struct of_device_id __devinitdata of_palmas_match_tbl[] = {
495+static struct of_device_id of_palmas_match_tbl[] = {
496496 { .compatible = "ti,palmas", },
497497 { /* end */ }
498498 };
drivers/mfd/pcf50633-adc.c+3−3
@@ -199,7 +199,7 @@ static void pcf50633_adc_irq(int irq, void *data) · 198 unmodified lines
199199 kfree(req);
200200 }
201201
202−static int __devinit pcf50633_adc_probe(struct platform_device *pdev)
202+static int pcf50633_adc_probe(struct platform_device *pdev)
203203 {
204204 struct pcf50633_adc *adc;
205205
@@ -218,7 +218,7 @@ static int __devinit pcf50633_adc_probe(struct platform_device *pdev) · 12 unmodified lines
218218 return 0;
219219 }
220220
221−static int __devexit pcf50633_adc_remove(struct platform_device *pdev)
221+static int pcf50633_adc_remove(struct platform_device *pdev)
222222 {
223223 struct pcf50633_adc *adc = platform_get_drvdata(pdev);
224224 int i, head;
@@ -246,7 +246,7 @@ static struct platform_driver pcf50633_adc_driver = { · 21 unmodified lines
246246 .name = "pcf50633-adc",
247247 },
248248 .probe = pcf50633_adc_probe,
249− .remove = __devexit_p(pcf50633_adc_remove),
249+ .remove = pcf50633_adc_remove,
250250 };
251251
252252 module_platform_driver(pcf50633_adc_driver);
drivers/mfd/pcf50633-core.c+3−3
@@ -191,7 +191,7 @@ static struct regmap_config pcf50633_regmap_config = { · 190 unmodified lines
191191 .val_bits = 8,
192192 };
193193
194−static int __devinit pcf50633_probe(struct i2c_client *client,
194+static int pcf50633_probe(struct i2c_client *client,
195195 const struct i2c_device_id *ids)
196196 {
197197 struct pcf50633 *pcf;
@@ -275,7 +275,7 @@ static int __devinit pcf50633_probe(struct i2c_client *client, · 77 unmodified lines
275275 return 0;
276276 }
277277
278−static int __devexit pcf50633_remove(struct i2c_client *client)
278+static int pcf50633_remove(struct i2c_client *client)
279279 {
280280 struct pcf50633 *pcf = i2c_get_clientdata(client);
281281 int i;
@@ -308,7 +308,7 @@ static struct i2c_driver pcf50633_driver = { · 26 unmodified lines
308308 },
309309 .id_table = pcf50633_id_table,
310310 .probe = pcf50633_probe,
311− .remove = __devexit_p(pcf50633_remove),
311+ .remove = pcf50633_remove,
312312 };
313313
314314 static int __init pcf50633_init(void)
drivers/mfd/pm8921-core.c+4−4
@@ -80,7 +80,7 @@ static struct pm8xxx_drvdata pm8921_drvdata = { · 79 unmodified lines
8080 .pmic_read_irq_stat = pm8921_read_irq_stat,
8181 };
8282
83−static int __devinit pm8921_add_subdevices(const struct pm8921_platform_data
83+static int pm8921_add_subdevices(const struct pm8921_platform_data
8484 *pdata,
8585 struct pm8921 *pmic,
8686 u32 rev)
@@ -104,7 +104,7 @@ static int __devinit pm8921_add_subdevices(const struct pm8921_platform_data · 17 unmodified lines
104104 return ret;
105105 }
106106
107−static int __devinit pm8921_probe(struct platform_device *pdev)
107+static int pm8921_probe(struct platform_device *pdev)
108108 {
109109 const struct pm8921_platform_data *pdata = pdev->dev.platform_data;
110110 struct pm8921 *pmic;
@@ -165,7 +165,7 @@ err_read_rev: · 54 unmodified lines
165165 return rc;
166166 }
167167
168−static int __devexit pm8921_remove(struct platform_device *pdev)
168+static int pm8921_remove(struct platform_device *pdev)
169169 {
170170 struct pm8xxx_drvdata *drvdata;
171171 struct pm8921 *pmic = NULL;
@@ -187,7 +187,7 @@ static int __devexit pm8921_remove(struct platform_device *pdev) · 15 unmodified lines
187187
188188 static struct platform_driver pm8921_driver = {
189189 .probe = pm8921_probe,
190− .remove = __devexit_p(pm8921_remove),
190+ .remove = pm8921_remove,
191191 .driver = {
192192 .name = "pm8921-core",
193193 .owner = THIS_MODULE,
drivers/mfd/pm8xxx-irq.c+2−2
@@ -309,7 +309,7 @@ bail_out: · 308 unmodified lines
309309 }
310310 EXPORT_SYMBOL_GPL(pm8xxx_get_irq_stat);
311311
312−struct pm_irq_chip * __devinit pm8xxx_irq_init(struct device *dev,
312+struct pm_irq_chip * pm8xxx_irq_init(struct device *dev,
313313 const struct pm8xxx_irq_platform_data *pdata)
314314 {
315315 struct pm_irq_chip *chip;
@@ -363,7 +363,7 @@ struct pm_irq_chip * __devinit pm8xxx_irq_init(struct device *dev, · 47 unmodified lines
363363 return chip;
364364 }
365365
366−int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip)
366+int pm8xxx_irq_exit(struct pm_irq_chip *chip)
367367 {
368368 irq_set_chained_handler(chip->devirq, NULL);
369369 kfree(chip);
drivers/mfd/rc5t583.c+3−3
@@ -246,7 +246,7 @@ static const struct regmap_config rc5t583_regmap_config = { · 245 unmodified lines
246246 .cache_type = REGCACHE_RBTREE,
247247 };
248248
249−static int __devinit rc5t583_i2c_probe(struct i2c_client *i2c,
249+static int rc5t583_i2c_probe(struct i2c_client *i2c,
250250 const struct i2c_device_id *id)
251251 {
252252 struct rc5t583 *rc5t583;
@@ -303,7 +303,7 @@ err_add_devs: · 50 unmodified lines
303303 return ret;
304304 }
305305
306−static int __devexit rc5t583_i2c_remove(struct i2c_client *i2c)
306+static int rc5t583_i2c_remove(struct i2c_client *i2c)
307307 {
308308 struct rc5t583 *rc5t583 = i2c_get_clientdata(i2c);
309309
@@ -325,7 +325,7 @@ static struct i2c_driver rc5t583_i2c_driver = { · 15 unmodified lines
325325 .owner = THIS_MODULE,
326326 },
327327 .probe = rc5t583_i2c_probe,
328− .remove = __devexit_p(rc5t583_i2c_remove),
328+ .remove = rc5t583_i2c_remove,
329329 .id_table = rc5t583_i2c_id,
330330 };
331331
drivers/mfd/rdc321x-southbridge.c+3−3
@@ -72,7 +72,7 @@ static struct mfd_cell rdc321x_sb_cells[] = { · 71 unmodified lines
7272 },
7373 };
7474
75−static int __devinit rdc321x_sb_probe(struct pci_dev *pdev,
75+static int rdc321x_sb_probe(struct pci_dev *pdev,
7676 const struct pci_device_id *ent)
7777 {
7878 int err;
@@ -91,7 +91,7 @@ static int __devinit rdc321x_sb_probe(struct pci_dev *pdev, · 12 unmodified lines
9191 NULL, 0, NULL);
9292 }
9393
94−static void __devexit rdc321x_sb_remove(struct pci_dev *pdev)
94+static void rdc321x_sb_remove(struct pci_dev *pdev)
9595 {
9696 mfd_remove_devices(&pdev->dev);
9797 }
@@ -106,7 +106,7 @@ static struct pci_driver rdc321x_sb_driver = { · 8 unmodified lines
106106 .name = "RDC321x Southbridge",
107107 .id_table = rdc321x_sb_table,
108108 .probe = rdc321x_sb_probe,
109− .remove = __devexit_p(rdc321x_sb_remove),
109+ .remove = rdc321x_sb_remove,
110110 };
111111
112112 module_pci_driver(rdc321x_sb_driver);
drivers/mfd/sm501.c+8−8
@@ -1014,7 +1014,7 @@ static struct gpio_chip gpio_chip_template = { · 1013 unmodified lines
10141014 .get = sm501_gpio_get,
10151015 };
10161016
1017−static int __devinit sm501_gpio_register_chip(struct sm501_devdata *sm,
1017+static int sm501_gpio_register_chip(struct sm501_devdata *sm,
10181018 struct sm501_gpio *gpio,
10191019 struct sm501_gpio_chip *chip)
10201020 {
@@ -1042,7 +1042,7 @@ static int __devinit sm501_gpio_register_chip(struct sm501_devdata *sm, · 21 unmodified lines
10421042 return gpiochip_add(gchip);
10431043 }
10441044
1045−static int __devinit sm501_register_gpio(struct sm501_devdata *sm)
1045+static int sm501_register_gpio(struct sm501_devdata *sm)
10461046 {
10471047 struct sm501_gpio *gpio = &sm->gpio;
10481048 resource_size_t iobase = sm->io_res->start + SM501_GPIO;
@@ -1313,7 +1313,7 @@ static unsigned int sm501_mem_local[] = { · 264 unmodified lines
13131313 * Common init code for an SM501
13141314 */
13151315
1316−static int __devinit sm501_init_dev(struct sm501_devdata *sm)
1316+static int sm501_init_dev(struct sm501_devdata *sm)
13171317 {
13181318 struct sm501_initdata *idata;
13191319 struct sm501_platdata *pdata;
@@ -1389,7 +1389,7 @@ static int __devinit sm501_init_dev(struct sm501_devdata *sm) · 69 unmodified lines
13891389 return 0;
13901390 }
13911391
1392−static int __devinit sm501_plat_probe(struct platform_device *dev)
1392+static int sm501_plat_probe(struct platform_device *dev)
13931393 {
13941394 struct sm501_devdata *sm;
13951395 int ret;
@@ -1578,7 +1578,7 @@ static struct sm501_platdata sm501_pci_platdata = { · 182 unmodified lines
15781578 .gpio_base = -1,
15791579 };
15801580
1581−static int __devinit sm501_pci_probe(struct pci_dev *dev,
1581+static int sm501_pci_probe(struct pci_dev *dev,
15821582 const struct pci_device_id *id)
15831583 {
15841584 struct sm501_devdata *sm;
@@ -1685,7 +1685,7 @@ static void sm501_dev_remove(struct sm501_devdata *sm) · 100 unmodified lines
16851685 sm501_gpio_remove(sm);
16861686 }
16871687
1688−static void __devexit sm501_pci_remove(struct pci_dev *dev)
1688+static void sm501_pci_remove(struct pci_dev *dev)
16891689 {
16901690 struct sm501_devdata *sm = pci_get_drvdata(dev);
16911691
@@ -1723,12 +1723,12 @@ static struct pci_driver sm501_pci_driver = { · 31 unmodified lines
17231723 .name = "sm501",
17241724 .id_table = sm501_pci_tbl,
17251725 .probe = sm501_pci_probe,
1726− .remove = __devexit_p(sm501_pci_remove),
1726+ .remove = sm501_pci_remove,
17271727 };
17281728
17291729 MODULE_ALIAS("platform:sm501");
17301730
1731−static struct of_device_id __devinitdata of_sm501_match_tbl[] = {
1731+static struct of_device_id of_sm501_match_tbl[] = {
17321732 { .compatible = "smi,sm501", },
17331733 { /* end */ }
17341734 };
drivers/mfd/sta2x11-mfd.c+10−10
@@ -69,7 +69,7 @@ static struct sta2x11_mfd *sta2x11_mfd_find(struct pci_dev *pdev) · 68 unmodified lines
6969 return NULL;
7070 }
7171
72−static int __devinit sta2x11_mfd_add(struct pci_dev *pdev, gfp_t flags)
72+static int sta2x11_mfd_add(struct pci_dev *pdev, gfp_t flags)
7373 {
7474 struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev);
7575 struct sta2x11_instance *instance;
@@ -89,7 +89,7 @@ static int __devinit sta2x11_mfd_add(struct pci_dev *pdev, gfp_t flags) · 13 unmodified lines
8989 return 0;
9090 }
9191
92−static int __devexit mfd_remove(struct pci_dev *pdev)
92+static int mfd_remove(struct pci_dev *pdev)
9393 {
9494 struct sta2x11_mfd *mfd = sta2x11_mfd_find(pdev);
9595
@@ -305,7 +305,7 @@ enum bar1_cells { · 209 unmodified lines
305305 .flags = IORESOURCE_MEM, \
306306 }
307307
308−static const __devinitconst struct resource gpio_resources[] = {
308+static const struct resource gpio_resources[] = {
309309 {
310310 .name = "sta2x11_gpio", /* 4 consecutive cells, 1 driver */
311311 .start = 0,
@@ -313,31 +313,31 @@ static const __devinitconst struct resource gpio_resources[] = { · 1 unmodified line
313313 .flags = IORESOURCE_MEM,
314314 }
315315 };
316−static const __devinitconst struct resource sctl_resources[] = {
316+static const struct resource sctl_resources[] = {
317317 CELL_4K("sta2x11-sctl", STA2X11_SCTL),
318318 };
319−static const __devinitconst struct resource scr_resources[] = {
319+static const struct resource scr_resources[] = {
320320 CELL_4K("sta2x11-scr", STA2X11_SCR),
321321 };
322−static const __devinitconst struct resource time_resources[] = {
322+static const struct resource time_resources[] = {
323323 CELL_4K("sta2x11-time", STA2X11_TIME),
324324 };
325325
326−static const __devinitconst struct resource apbreg_resources[] = {
326+static const struct resource apbreg_resources[] = {
327327 CELL_4K("sta2x11-apbreg", STA2X11_APBREG),
328328 };
329329
330330 #define DEV(_name, _r) \
331331 { .name = _name, .num_resources = ARRAY_SIZE(_r), .resources = _r, }
332332
333−static __devinitdata struct mfd_cell sta2x11_mfd_bar0[] = {
333+static struct mfd_cell sta2x11_mfd_bar0[] = {
334334 DEV("sta2x11-gpio", gpio_resources), /* offset 0: we add pdata later */
335335 DEV("sta2x11-sctl", sctl_resources),
336336 DEV("sta2x11-scr", scr_resources),
337337 DEV("sta2x11-time", time_resources),
338338 };
339339
340−static __devinitdata struct mfd_cell sta2x11_mfd_bar1[] = {
340+static struct mfd_cell sta2x11_mfd_bar1[] = {
341341 DEV("sta2x11-apbreg", apbreg_resources),
342342 };
343343
@@ -363,7 +363,7 @@ static int sta2x11_mfd_resume(struct pci_dev *pdev) · 19 unmodified lines
363363 return 0;
364364 }
365365
366−static int __devinit sta2x11_mfd_probe(struct pci_dev *pdev,
366+static int sta2x11_mfd_probe(struct pci_dev *pdev,
367367 const struct pci_device_id *pci_id)
368368 {
369369 int err, i;
drivers/mfd/stmpe-i2c.c+3−3
@@ -52,7 +52,7 @@ static struct stmpe_client_info i2c_ci = { · 51 unmodified lines
5252 .write_block = i2c_block_write,
5353 };
5454
55−static int __devinit
55+static int
5656 stmpe_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id)
5757 {
5858 i2c_ci.data = (void *)id;
@@ -63,7 +63,7 @@ stmpe_i2c_probe(struct i2c_client *i2c, const struct i2c_device_id *id) · 4 unmodified lines
6363 return stmpe_probe(&i2c_ci, id->driver_data);
6464 }
6565
66−static int __devexit stmpe_i2c_remove(struct i2c_client *i2c)
66+static int stmpe_i2c_remove(struct i2c_client *i2c)
6767 {
6868 struct stmpe *stmpe = dev_get_drvdata(&i2c->dev);
6969
@@ -88,7 +88,7 @@ static struct i2c_driver stmpe_i2c_driver = { · 18 unmodified lines
8888 .driver.pm = &stmpe_dev_pm_ops,
8989 #endif
9090 .probe = stmpe_i2c_probe,
91− .remove = __devexit_p(stmpe_i2c_remove),
91+ .remove = stmpe_i2c_remove,
9292 .id_table = stmpe_i2c_id,
9393 };
9494
drivers/mfd/stmpe-spi.c+3−3
@@ -82,7 +82,7 @@ static struct stmpe_client_info spi_ci = { · 81 unmodified lines
8282 .init = spi_init,
8383 };
8484
85−static int __devinit
85+static int
8686 stmpe_spi_probe(struct spi_device *spi)
8787 {
8888 const struct spi_device_id *id = spi_get_device_id(spi);
@@ -101,7 +101,7 @@ stmpe_spi_probe(struct spi_device *spi) · 12 unmodified lines
101101 return stmpe_probe(&spi_ci, id->driver_data);
102102 }
103103
104−static int __devexit stmpe_spi_remove(struct spi_device *spi)
104+static int stmpe_spi_remove(struct spi_device *spi)
105105 {
106106 struct stmpe *stmpe = dev_get_drvdata(&spi->dev);
107107
@@ -128,7 +128,7 @@ static struct spi_driver stmpe_spi_driver = { · 20 unmodified lines
128128 #endif
129129 },
130130 .probe = stmpe_spi_probe,
131− .remove = __devexit_p(stmpe_spi_remove),
131+ .remove = stmpe_spi_remove,
132132 .id_table = stmpe_spi_id,
133133 };
134134
drivers/mfd/syscon.c+3−3
@@ -97,7 +97,7 @@ static struct regmap_config syscon_regmap_config = { · 96 unmodified lines
9797 .reg_stride = 4,
9898 };
9999
100−static int __devinit syscon_probe(struct platform_device *pdev)
100+static int syscon_probe(struct platform_device *pdev)
101101 {
102102 struct device *dev = &pdev->dev;
103103 struct device_node *np = dev->of_node;
@@ -138,7 +138,7 @@ static int __devinit syscon_probe(struct platform_device *pdev) · 34 unmodified lines
138138 return 0;
139139 }
140140
141−static int __devexit syscon_remove(struct platform_device *pdev)
141+static int syscon_remove(struct platform_device *pdev)
142142 {
143143 struct syscon *syscon;
144144
@@ -156,7 +156,7 @@ static struct platform_driver syscon_driver = { · 11 unmodified lines
156156 .of_match_table = of_syscon_match,
157157 },
158158 .probe = syscon_probe,
159− .remove = __devexit_p(syscon_remove),
159+ .remove = syscon_remove,
160160 };
161161
162162 static int __init syscon_init(void)
drivers/mfd/tc3589x.c+4−4
@@ -282,7 +282,7 @@ static int tc3589x_chip_init(struct tc3589x *tc3589x) · 281 unmodified lines
282282 return tc3589x_reg_write(tc3589x, TC3589x_RSTINTCLR, 0x1);
283283 }
284284
285−static int __devinit tc3589x_device_init(struct tc3589x *tc3589x)
285+static int tc3589x_device_init(struct tc3589x *tc3589x)
286286 {
287287 int ret = 0;
288288 unsigned int blocks = tc3589x->pdata->block;
@@ -329,7 +329,7 @@ static int tc3589x_of_probe(struct device_node *np, · 40 unmodified lines
329329 return 0;
330330 }
331331
332−static int __devinit tc3589x_probe(struct i2c_client *i2c,
332+static int tc3589x_probe(struct i2c_client *i2c,
333333 const struct i2c_device_id *id)
334334 {
335335 struct tc3589x_platform_data *pdata = i2c->dev.platform_data;
@@ -402,7 +402,7 @@ out_free: · 66 unmodified lines
402402 return ret;
403403 }
404404
405−static int __devexit tc3589x_remove(struct i2c_client *client)
405+static int tc3589x_remove(struct i2c_client *client)
406406 {
407407 struct tc3589x *tc3589x = i2c_get_clientdata(client);
408408
@@ -458,7 +458,7 @@ static struct i2c_driver tc3589x_driver = { · 49 unmodified lines
458458 .driver.owner = THIS_MODULE,
459459 .driver.pm = &tc3589x_dev_pm_ops,
460460 .probe = tc3589x_probe,
461− .remove = __devexit_p(tc3589x_remove),
461+ .remove = tc3589x_remove,
462462 .id_table = tc3589x_id,
463463 };
464464
drivers/mfd/tc6387xb.c+3−3
@@ -138,7 +138,7 @@ static struct mfd_cell tc6387xb_cells[] = { · 137 unmodified lines
138138 },
139139 };
140140
141−static int __devinit tc6387xb_probe(struct platform_device *dev)
141+static int tc6387xb_probe(struct platform_device *dev)
142142 {
143143 struct tc6387xb_platform_data *pdata = dev->dev.platform_data;
144144 struct resource *iomem, *rscr;
@@ -208,7 +208,7 @@ err_no_irq: · 63 unmodified lines
208208 return ret;
209209 }
210210
211−static int __devexit tc6387xb_remove(struct platform_device *dev)
211+static int tc6387xb_remove(struct platform_device *dev)
212212 {
213213 struct tc6387xb *tc6387xb = platform_get_drvdata(dev);
214214
@@ -229,7 +229,7 @@ static struct platform_driver tc6387xb_platform_driver = { · 14 unmodified lines
229229 .name = "tc6387xb",
230230 },
231231 .probe = tc6387xb_probe,
232− .remove = __devexit_p(tc6387xb_remove),
232+ .remove = tc6387xb_remove,
233233 .suspend = tc6387xb_suspend,
234234 .resume = tc6387xb_resume,
235235 };
drivers/mfd/tc6393xb.c+6−6
@@ -137,7 +137,7 @@ static int tc6393xb_nand_enable(struct platform_device *nand) · 136 unmodified lines
137137 return 0;
138138 }
139139
140−static struct resource __devinitdata tc6393xb_nand_resources[] = {
140+static struct resource tc6393xb_nand_resources[] = {
141141 {
142142 .start = 0x1000,
143143 .end = 0x1007,
@@ -196,7 +196,7 @@ static const struct resource tc6393xb_ohci_resources[] = { · 52 unmodified lines
196196 },
197197 };
198198
199−static struct resource __devinitdata tc6393xb_fb_resources[] = {
199+static struct resource tc6393xb_fb_resources[] = {
200200 {
201201 .start = 0x5000,
202202 .end = 0x51ff,
@@ -382,7 +382,7 @@ static struct tmio_mmc_data tc6393xb_mmc_data = { · 179 unmodified lines
382382 .set_clk_div = tc6393xb_mmc_clk_div,
383383 };
384384
385−static struct mfd_cell __devinitdata tc6393xb_cells[] = {
385+static struct mfd_cell tc6393xb_cells[] = {
386386 [TC6393XB_CELL_NAND] = {
387387 .name = "tmio-nand",
388388 .enable = tc6393xb_nand_enable,
@@ -602,7 +602,7 @@ static void tc6393xb_detach_irq(struct platform_device *dev) · 213 unmodified lines
602602
603603 /*--------------------------------------------------------------------------*/
604604
605−static int __devinit tc6393xb_probe(struct platform_device *dev)
605+static int tc6393xb_probe(struct platform_device *dev)
606606 {
607607 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data;
608608 struct tc6393xb *tc6393xb;
@@ -731,7 +731,7 @@ err_kzalloc: · 122 unmodified lines
731731 return ret;
732732 }
733733
734−static int __devexit tc6393xb_remove(struct platform_device *dev)
734+static int tc6393xb_remove(struct platform_device *dev)
735735 {
736736 struct tc6393xb_platform_data *tcpd = dev->dev.platform_data;
737737 struct tc6393xb *tc6393xb = platform_get_drvdata(dev);
@@ -831,7 +831,7 @@ static int tc6393xb_resume(struct platform_device *dev) · 93 unmodified lines
831831
832832 static struct platform_driver tc6393xb_driver = {
833833 .probe = tc6393xb_probe,
834− .remove = __devexit_p(tc6393xb_remove),
834+ .remove = tc6393xb_remove,
835835 .suspend = tc6393xb_suspend,
836836 .resume = tc6393xb_resume,
837837
drivers/mfd/ti-ssp.c+3−3
@@ -315,7 +315,7 @@ static irqreturn_t ti_ssp_interrupt(int irq, void *dev_data) · 314 unmodified lines
315315 return IRQ_HANDLED;
316316 }
317317
318−static int __devinit ti_ssp_probe(struct platform_device *pdev)
318+static int ti_ssp_probe(struct platform_device *pdev)
319319 {
320320 static struct ti_ssp *ssp;
321321 const struct ti_ssp_data *pdata = pdev->dev.platform_data;
@@ -433,7 +433,7 @@ error_res: · 111 unmodified lines
433433 return error;
434434 }
435435
436−static int __devexit ti_ssp_remove(struct platform_device *pdev)
436+static int ti_ssp_remove(struct platform_device *pdev)
437437 {
438438 struct device *dev = &pdev->dev;
439439 struct ti_ssp *ssp = dev_get_drvdata(dev);
@@ -451,7 +451,7 @@ static int __devexit ti_ssp_remove(struct platform_device *pdev) · 11 unmodified lines
451451
452452 static struct platform_driver ti_ssp_driver = {
453453 .probe = ti_ssp_probe,
454− .remove = __devexit_p(ti_ssp_remove),
454+ .remove = ti_ssp_remove,
455455 .driver = {
456456 .name = "ti-ssp",
457457 .owner = THIS_MODULE,
drivers/mfd/timberdale.c+32−32
@@ -75,13 +75,13 @@ static struct i2c_board_info timberdale_i2c_board_info[] = { · 74 unmodified lines
7575 },
7676 };
7777
78−static __devinitdata struct xiic_i2c_platform_data
78+static struct xiic_i2c_platform_data
7979 timberdale_xiic_platform_data = {
8080 .devices = timberdale_i2c_board_info,
8181 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info)
8282 };
8383
84−static __devinitdata struct ocores_i2c_platform_data
84+static struct ocores_i2c_platform_data
8585 timberdale_ocores_platform_data = {
8686 .reg_shift = 2,
8787 .clock_khz = 62500,
@@ -89,7 +89,7 @@ timberdale_ocores_platform_data = { · 1 unmodified line
8989 .num_devices = ARRAY_SIZE(timberdale_i2c_board_info)
9090 };
9191
92−static const __devinitconst struct resource timberdale_xiic_resources[] = {
92+static const struct resource timberdale_xiic_resources[] = {
9393 {
9494 .start = XIICOFFSET,
9595 .end = XIICEND,
@@ -102,7 +102,7 @@ static const __devinitconst struct resource timberdale_xiic_resources[] = { · 6 unmodified lines
102102 },
103103 };
104104
105−static const __devinitconst struct resource timberdale_ocores_resources[] = {
105+static const struct resource timberdale_ocores_resources[] = {
106106 {
107107 .start = OCORESOFFSET,
108108 .end = OCORESEND,
@@ -143,7 +143,7 @@ static struct spi_board_info timberdale_spi_8bit_board_info[] = { · 34 unmodified lines
143143 },
144144 };
145145
146−static __devinitdata struct xspi_platform_data timberdale_xspi_platform_data = {
146+static struct xspi_platform_data timberdale_xspi_platform_data = {
147147 .num_chipselect = 3,
148148 .little_endian = true,
149149 /* bits per word and devices will be filled in runtime depending
@@ -151,7 +151,7 @@ static __devinitdata struct xspi_platform_data timberdale_xspi_platform_data = { · 1 unmodified line
151151 */
152152 };
153153
154−static const __devinitconst struct resource timberdale_spi_resources[] = {
154+static const struct resource timberdale_spi_resources[] = {
155155 {
156156 .start = SPIOFFSET,
157157 .end = SPIEND,
@@ -164,13 +164,13 @@ static const __devinitconst struct resource timberdale_spi_resources[] = { · 6 unmodified lines
164164 },
165165 };
166166
167−static __devinitdata struct ks8842_platform_data
167+static struct ks8842_platform_data
168168 timberdale_ks8842_platform_data = {
169169 .rx_dma_channel = DMA_ETH_RX,
170170 .tx_dma_channel = DMA_ETH_TX
171171 };
172172
173−static const __devinitconst struct resource timberdale_eth_resources[] = {
173+static const struct resource timberdale_eth_resources[] = {
174174 {
175175 .start = ETHOFFSET,
176176 .end = ETHEND,
@@ -183,14 +183,14 @@ static const __devinitconst struct resource timberdale_eth_resources[] = { · 6 unmodified lines
183183 },
184184 };
185185
186−static __devinitdata struct timbgpio_platform_data
186+static struct timbgpio_platform_data
187187 timberdale_gpio_platform_data = {
188188 .gpio_base = 0,
189189 .nr_pins = GPIO_NR_PINS,
190190 .irq_base = 200,
191191 };
192192
193−static const __devinitconst struct resource timberdale_gpio_resources[] = {
193+static const struct resource timberdale_gpio_resources[] = {
194194 {
195195 .start = GPIOOFFSET,
196196 .end = GPIOEND,
@@ -203,7 +203,7 @@ static const __devinitconst struct resource timberdale_gpio_resources[] = { · 6 unmodified lines
203203 },
204204 };
205205
206−static const __devinitconst struct resource timberdale_mlogicore_resources[] = {
206+static const struct resource timberdale_mlogicore_resources[] = {
207207 {
208208 .start = MLCOREOFFSET,
209209 .end = MLCOREEND,
@@ -221,7 +221,7 @@ static const __devinitconst struct resource timberdale_mlogicore_resources[] = { · 11 unmodified lines
221221 },
222222 };
223223
224−static const __devinitconst struct resource timberdale_uart_resources[] = {
224+static const struct resource timberdale_uart_resources[] = {
225225 {
226226 .start = UARTOFFSET,
227227 .end = UARTEND,
@@ -234,7 +234,7 @@ static const __devinitconst struct resource timberdale_uart_resources[] = { · 6 unmodified lines
234234 },
235235 };
236236
237−static const __devinitconst struct resource timberdale_uartlite_resources[] = {
237+static const struct resource timberdale_uartlite_resources[] = {
238238 {
239239 .start = UARTLITEOFFSET,
240240 .end = UARTLITEEND,
@@ -247,13 +247,13 @@ static const __devinitconst struct resource timberdale_uartlite_resources[] = { · 6 unmodified lines
247247 },
248248 };
249249
250−static __devinitdata struct i2c_board_info timberdale_adv7180_i2c_board_info = {
250+static struct i2c_board_info timberdale_adv7180_i2c_board_info = {
251251 /* Requires jumper JP9 to be off */
252252 I2C_BOARD_INFO("adv7180", 0x42 >> 1),
253253 .irq = IRQ_TIMBERDALE_ADV7180
254254 };
255255
256−static __devinitdata struct timb_video_platform_data
256+static struct timb_video_platform_data
257257 timberdale_video_platform_data = {
258258 .dma_channel = DMA_VIDEO_RX,
259259 .i2c_adapter = 0,
@@ -262,7 +262,7 @@ static __devinitdata struct timb_video_platform_data · 2 unmodified lines
262262 }
263263 };
264264
265−static const __devinitconst struct resource
265+static const struct resource
266266 timberdale_radio_resources[] = {
267267 {
268268 .start = RDSOFFSET,
@@ -276,22 +276,22 @@ timberdale_radio_resources[] = { · 7 unmodified lines
276276 },
277277 };
278278
279−static __devinitdata struct i2c_board_info timberdale_tef6868_i2c_board_info = {
279+static struct i2c_board_info timberdale_tef6868_i2c_board_info = {
280280 I2C_BOARD_INFO("tef6862", 0x60)
281281 };
282282
283−static __devinitdata struct i2c_board_info timberdale_saa7706_i2c_board_info = {
283+static struct i2c_board_info timberdale_saa7706_i2c_board_info = {
284284 I2C_BOARD_INFO("saa7706h", 0x1C)
285285 };
286286
287−static __devinitdata struct timb_radio_platform_data
287+static struct timb_radio_platform_data
288288 timberdale_radio_platform_data = {
289289 .i2c_adapter = 0,
290290 .tuner = &timberdale_tef6868_i2c_board_info,
291291 .dsp = &timberdale_saa7706_i2c_board_info
292292 };
293293
294−static const __devinitconst struct resource timberdale_video_resources[] = {
294+static const struct resource timberdale_video_resources[] = {
295295 {
296296 .start = LOGIWOFFSET,
297297 .end = LOGIWEND,
@@ -303,7 +303,7 @@ static const __devinitconst struct resource timberdale_video_resources[] = { · 5 unmodified lines
303303 */
304304 };
305305
306−static __devinitdata struct timb_dma_platform_data timb_dma_platform_data = {
306+static struct timb_dma_platform_data timb_dma_platform_data = {
307307 .nr_channels = 10,
308308 .channels = {
309309 {
@@ -362,7 +362,7 @@ static __devinitdata struct timb_dma_platform_data timb_dma_platform_data = { · 52 unmodified lines
362362 }
363363 };
364364
365−static const __devinitconst struct resource timberdale_dma_resources[] = {
365+static const struct resource timberdale_dma_resources[] = {
366366 {
367367 .start = DMAOFFSET,
368368 .end = DMAEND,
@@ -375,7 +375,7 @@ static const __devinitconst struct resource timberdale_dma_resources[] = { · 6 unmodified lines
375375 },
376376 };
377377
378−static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg0[] = {
378+static struct mfd_cell timberdale_cells_bar0_cfg0[] = {
379379 {
380380 .name = "timb-dma",
381381 .num_resources = ARRAY_SIZE(timberdale_dma_resources),
@@ -432,7 +432,7 @@ static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg0[] = { · 50 unmodified lines
432432 },
433433 };
434434
435−static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg1[] = {
435+static struct mfd_cell timberdale_cells_bar0_cfg1[] = {
436436 {
437437 .name = "timb-dma",
438438 .num_resources = ARRAY_SIZE(timberdale_dma_resources),
@@ -499,7 +499,7 @@ static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg1[] = { · 60 unmodified lines
499499 },
500500 };
501501
502−static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg2[] = {
502+static struct mfd_cell timberdale_cells_bar0_cfg2[] = {
503503 {
504504 .name = "timb-dma",
505505 .num_resources = ARRAY_SIZE(timberdale_dma_resources),
@@ -549,7 +549,7 @@ static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg2[] = { · 43 unmodified lines
549549 },
550550 };
551551
552−static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg3[] = {
552+static struct mfd_cell timberdale_cells_bar0_cfg3[] = {
553553 {
554554 .name = "timb-dma",
555555 .num_resources = ARRAY_SIZE(timberdale_dma_resources),
@@ -606,7 +606,7 @@ static __devinitdata struct mfd_cell timberdale_cells_bar0_cfg3[] = { · 50 unmodified lines
606606 },
607607 };
608608
609−static const __devinitconst struct resource timberdale_sdhc_resources[] = {
609+static const struct resource timberdale_sdhc_resources[] = {
610610 /* located in bar 1 and bar 2 */
611611 {
612612 .start = SDHC0OFFSET,
@@ -620,7 +620,7 @@ static const __devinitconst struct resource timberdale_sdhc_resources[] = { · 7 unmodified lines
620620 },
621621 };
622622
623−static __devinitdata struct mfd_cell timberdale_cells_bar1[] = {
623+static struct mfd_cell timberdale_cells_bar1[] = {
624624 {
625625 .name = "sdhci",
626626 .num_resources = ARRAY_SIZE(timberdale_sdhc_resources),
@@ -628,7 +628,7 @@ static __devinitdata struct mfd_cell timberdale_cells_bar1[] = { · 1 unmodified line
628628 },
629629 };
630630
631−static __devinitdata struct mfd_cell timberdale_cells_bar2[] = {
631+static struct mfd_cell timberdale_cells_bar2[] = {
632632 {
633633 .name = "sdhci",
634634 .num_resources = ARRAY_SIZE(timberdale_sdhc_resources),
@@ -650,7 +650,7 @@ static DEVICE_ATTR(fw_ver, S_IRUGO, show_fw_ver, NULL); · 15 unmodified lines
650650
651651 /*--------------------------------------------------------------------------*/
652652
653−static int __devinit timb_probe(struct pci_dev *dev,
653+static int timb_probe(struct pci_dev *dev,
654654 const struct pci_device_id *id)
655655 {
656656 struct timberdale_device *priv;
@@ -840,7 +840,7 @@ err_enable: · 183 unmodified lines
840840 return -ENODEV;
841841 }
842842
843−static void __devexit timb_remove(struct pci_dev *dev)
843+static void timb_remove(struct pci_dev *dev)
844844 {
845845 struct timberdale_device *priv = pci_get_drvdata(dev);
846846
@@ -867,7 +867,7 @@ static struct pci_driver timberdale_pci_driver = { · 20 unmodified lines
867867 .name = DRIVER_NAME,
868868 .id_table = timberdale_pci_tbl,
869869 .probe = timb_probe,
870− .remove = __devexit_p(timb_remove),
870+ .remove = timb_remove,
871871 };
872872
873873 static int __init timberdale_init(void)
drivers/mfd/tps6105x.c+4−4
@@ -86,7 +86,7 @@ fail: · 85 unmodified lines
8686 }
8787 EXPORT_SYMBOL(tps6105x_mask_and_set);
8888
89−static int __devinit tps6105x_startup(struct tps6105x *tps6105x)
89+static int tps6105x_startup(struct tps6105x *tps6105x)
9090 {
9191 int ret;
9292 u8 regval;
@@ -133,7 +133,7 @@ static struct mfd_cell tps6105x_cells[] = { · 40 unmodified lines
133133 },
134134 };
135135
136−static int __devinit tps6105x_probe(struct i2c_client *client,
136+static int tps6105x_probe(struct i2c_client *client,
137137 const struct i2c_device_id *id)
138138 {
139139 struct tps6105x *tps6105x;
@@ -199,7 +199,7 @@ fail: · 59 unmodified lines
199199 return ret;
200200 }
201201
202−static int __devexit tps6105x_remove(struct i2c_client *client)
202+static int tps6105x_remove(struct i2c_client *client)
203203 {
204204 struct tps6105x *tps6105x = i2c_get_clientdata(client);
205205
@@ -226,7 +226,7 @@ static struct i2c_driver tps6105x_driver = { · 20 unmodified lines
226226 .name = "tps6105x",
227227 },
228228 .probe = tps6105x_probe,
229− .remove = __devexit_p(tps6105x_remove),
229+ .remove = tps6105x_remove,
230230 .id_table = tps6105x_id,
231231 };
232232
drivers/mfd/tps65090.c+4−4
@@ -188,7 +188,7 @@ static irqreturn_t tps65090_irq(int irq, void *data) · 187 unmodified lines
188188 return acks ? IRQ_HANDLED : IRQ_NONE;
189189 }
190190
191−static int __devinit tps65090_irq_init(struct tps65090 *tps65090, int irq,
191+static int tps65090_irq_init(struct tps65090 *tps65090, int irq,
192192 int irq_base)
193193 {
194194 int i, ret;
@@ -251,7 +251,7 @@ static const struct regmap_config tps65090_regmap_config = { · 56 unmodified lines
251251 .volatile_reg = is_volatile_reg,
252252 };
253253
254−static int __devinit tps65090_i2c_probe(struct i2c_client *client,
254+static int tps65090_i2c_probe(struct i2c_client *client,
255255 const struct i2c_device_id *id)
256256 {
257257 struct tps65090_platform_data *pdata = client->dev.platform_data;
@@ -308,7 +308,7 @@ err_exit: · 50 unmodified lines
308308 return ret;
309309 }
310310
311−static int __devexit tps65090_i2c_remove(struct i2c_client *client)
311+static int tps65090_i2c_remove(struct i2c_client *client)
312312 {
313313 struct tps65090 *tps65090 = i2c_get_clientdata(client);
314314
@@ -354,7 +354,7 @@ static struct i2c_driver tps65090_driver = { · 39 unmodified lines
354354 .pm = &tps65090_pm_ops,
355355 },
356356 .probe = tps65090_i2c_probe,
357− .remove = __devexit_p(tps65090_i2c_remove),
357+ .remove = tps65090_i2c_remove,
358358 .id_table = tps65090_id_table,
359359 };
360360
drivers/mfd/tps65217.c+3−3
@@ -153,7 +153,7 @@ static const struct of_device_id tps65217_of_match[] = { · 152 unmodified lines
153153 { /* sentinel */ },
154154 };
155155
156−static int __devinit tps65217_probe(struct i2c_client *client,
156+static int tps65217_probe(struct i2c_client *client,
157157 const struct i2c_device_id *ids)
158158 {
159159 struct tps65217 *tps;
@@ -214,7 +214,7 @@ static int __devinit tps65217_probe(struct i2c_client *client, · 54 unmodified lines
214214 return 0;
215215 }
216216
217−static int __devexit tps65217_remove(struct i2c_client *client)
217+static int tps65217_remove(struct i2c_client *client)
218218 {
219219 struct tps65217 *tps = i2c_get_clientdata(client);
220220
@@ -237,7 +237,7 @@ static struct i2c_driver tps65217_driver = { · 16 unmodified lines
237237 },
238238 .id_table = tps65217_id_table,
239239 .probe = tps65217_probe,
240− .remove = __devexit_p(tps65217_remove),
240+ .remove = tps65217_remove,
241241 };
242242
243243 static int __init tps65217_init(void)
drivers/mfd/tps6586x.c+5−5
@@ -267,7 +267,7 @@ static irqreturn_t tps6586x_irq(int irq, void *data) · 266 unmodified lines
267267 return IRQ_HANDLED;
268268 }
269269
270−static int __devinit tps6586x_irq_init(struct tps6586x *tps6586x, int irq,
270+static int tps6586x_irq_init(struct tps6586x *tps6586x, int irq,
271271 int irq_base)
272272 {
273273 int i, ret;
@@ -316,7 +316,7 @@ static int __devinit tps6586x_irq_init(struct tps6586x *tps6586x, int irq, · 42 unmodified lines
316316 return ret;
317317 }
318318
319−static int __devinit tps6586x_add_subdevs(struct tps6586x *tps6586x,
319+static int tps6586x_add_subdevs(struct tps6586x *tps6586x,
320320 struct tps6586x_platform_data *pdata)
321321 {
322322 struct tps6586x_subdev_info *subdev;
@@ -468,7 +468,7 @@ static void tps6586x_power_off(void) · 145 unmodified lines
468468 tps6586x_set_bits(tps6586x_dev, TPS6586X_SUPPLYENE, SLEEP_MODE_BIT);
469469 }
470470
471−static int __devinit tps6586x_i2c_probe(struct i2c_client *client,
471+static int tps6586x_i2c_probe(struct i2c_client *client,
472472 const struct i2c_device_id *id)
473473 {
474474 struct tps6586x_platform_data *pdata = client->dev.platform_data;
@@ -548,7 +548,7 @@ err_mfd_add: · 73 unmodified lines
548548 return ret;
549549 }
550550
551−static int __devexit tps6586x_i2c_remove(struct i2c_client *client)
551+static int tps6586x_i2c_remove(struct i2c_client *client)
552552 {
553553 struct tps6586x *tps6586x = i2c_get_clientdata(client);
554554
@@ -572,7 +572,7 @@ static struct i2c_driver tps6586x_driver = { · 17 unmodified lines
572572 .of_match_table = of_match_ptr(tps6586x_of_match),
573573 },
574574 .probe = tps6586x_i2c_probe,
575− .remove = __devexit_p(tps6586x_i2c_remove),
575+ .remove = tps6586x_i2c_remove,
576576 .id_table = tps6586x_id_table,
577577 };
578578
drivers/mfd/tps65910.c+5−5
@@ -78,7 +78,7 @@ static const struct regmap_config tps65910_regmap_config = { · 77 unmodified lines
7878 .cache_type = REGCACHE_RBTREE,
7979 };
8080
81−static int __devinit tps65910_ck32k_init(struct tps65910 *tps65910,
81+static int tps65910_ck32k_init(struct tps65910 *tps65910,
8282 struct tps65910_board *pmic_pdata)
8383 {
8484 int ret;
@@ -96,7 +96,7 @@ static int __devinit tps65910_ck32k_init(struct tps65910 *tps65910, · 11 unmodified lines
9696 return 0;
9797 }
9898
99−static int __devinit tps65910_sleepinit(struct tps65910 *tps65910,
99+static int tps65910_sleepinit(struct tps65910 *tps65910,
100100 struct tps65910_board *pmic_pdata)
101101 {
102102 struct device *dev = NULL;
@@ -237,7 +237,7 @@ static void tps65910_power_off(void) · 134 unmodified lines
237237 DEVCTRL_DEV_ON_MASK);
238238 }
239239
240−static __devinit int tps65910_i2c_probe(struct i2c_client *i2c,
240+static int tps65910_i2c_probe(struct i2c_client *i2c,
241241 const struct i2c_device_id *id)
242242 {
243243 struct tps65910 *tps65910;
@@ -302,7 +302,7 @@ static __devinit int tps65910_i2c_probe(struct i2c_client *i2c, · 58 unmodified lines
302302 return ret;
303303 }
304304
305−static __devexit int tps65910_i2c_remove(struct i2c_client *i2c)
305+static int tps65910_i2c_remove(struct i2c_client *i2c)
306306 {
307307 struct tps65910 *tps65910 = i2c_get_clientdata(i2c);
308308
@@ -327,7 +327,7 @@ static struct i2c_driver tps65910_i2c_driver = { · 18 unmodified lines
327327 .of_match_table = of_match_ptr(tps65910_of_match),
328328 },
329329 .probe = tps65910_i2c_probe,
330− .remove = __devexit_p(tps65910_i2c_remove),
330+ .remove = tps65910_i2c_remove,
331331 .id_table = tps65910_i2c_id,
332332 };
333333
drivers/mfd/tps65911-comparator.c+3−3
@@ -122,7 +122,7 @@ static ssize_t comp_threshold_show(struct device *dev, · 121 unmodified lines
122122 static DEVICE_ATTR(comp1_threshold, S_IRUGO, comp_threshold_show, NULL);
123123 static DEVICE_ATTR(comp2_threshold, S_IRUGO, comp_threshold_show, NULL);
124124
125−static __devinit int tps65911_comparator_probe(struct platform_device *pdev)
125+static int tps65911_comparator_probe(struct platform_device *pdev)
126126 {
127127 struct tps65910 *tps65910 = dev_get_drvdata(pdev->dev.parent);
128128 struct tps65910_board *pdata = dev_get_platdata(tps65910->dev);
@@ -152,7 +152,7 @@ static __devinit int tps65911_comparator_probe(struct platform_device *pdev) · 23 unmodified lines
152152 return ret;
153153 }
154154
155−static __devexit int tps65911_comparator_remove(struct platform_device *pdev)
155+static int tps65911_comparator_remove(struct platform_device *pdev)
156156 {
157157 struct tps65910 *tps65910;
158158
@@ -169,7 +169,7 @@ static struct platform_driver tps65911_comparator_driver = { · 10 unmodified lines
169169 .owner = THIS_MODULE,
170170 },
171171 .probe = tps65911_comparator_probe,
172− .remove = __devexit_p(tps65911_comparator_remove),
172+ .remove = tps65911_comparator_remove,
173173 };
174174
175175 static int __init tps65911_comparator_init(void)
drivers/mfd/tps65912-spi.c+3−3
@@ -81,7 +81,7 @@ static int tps65912_spi_read(struct tps65912 *tps65912, u8 addr, · 80 unmodified lines
8181 return ret;
8282 }
8383
84−static int __devinit tps65912_spi_probe(struct spi_device *spi)
84+static int tps65912_spi_probe(struct spi_device *spi)
8585 {
8686 struct tps65912 *tps65912;
8787
@@ -99,7 +99,7 @@ static int __devinit tps65912_spi_probe(struct spi_device *spi) · 11 unmodified lines
9999 return tps65912_device_init(tps65912);
100100 }
101101
102−static int __devexit tps65912_spi_remove(struct spi_device *spi)
102+static int tps65912_spi_remove(struct spi_device *spi)
103103 {
104104 struct tps65912 *tps65912 = spi_get_drvdata(spi);
105105
@@ -114,7 +114,7 @@ static struct spi_driver tps65912_spi_driver = { · 8 unmodified lines
114114 .owner = THIS_MODULE,
115115 },
116116 .probe = tps65912_spi_probe,
117− .remove = __devexit_p(tps65912_spi_remove),
117+ .remove = tps65912_spi_remove,
118118 };
119119
120120 static int __init tps65912_spi_init(void)
drivers/mfd/twl-core.c+1−1
@@ -1170,7 +1170,7 @@ static int twl_remove(struct i2c_client *client) · 1169 unmodified lines
11701170 }
11711171
11721172 /* NOTE: This driver only handles a single twl4030/tps659x0 chip */
1173−static int __devinit
1173+static int
11741174 twl_probe(struct i2c_client *client, const struct i2c_device_id *id)
11751175 {
11761176 struct twl4030_platform_data *pdata = client->dev.platform_data;
drivers/mfd/twl4030-audio.c+3−3
@@ -184,7 +184,7 @@ static bool twl4030_audio_has_vibra(struct twl4030_audio_data *pdata, · 183 unmodified lines
184184 return false;
185185 }
186186
187−static int __devinit twl4030_audio_probe(struct platform_device *pdev)
187+static int twl4030_audio_probe(struct platform_device *pdev)
188188 {
189189 struct twl4030_audio *audio;
190190 struct twl4030_audio_data *pdata = pdev->dev.platform_data;
@@ -269,7 +269,7 @@ static int __devinit twl4030_audio_probe(struct platform_device *pdev) · 78 unmodified lines
269269 return ret;
270270 }
271271
272−static int __devexit twl4030_audio_remove(struct platform_device *pdev)
272+static int twl4030_audio_remove(struct platform_device *pdev)
273273 {
274274 mfd_remove_devices(&pdev->dev);
275275 platform_set_drvdata(pdev, NULL);
@@ -291,7 +291,7 @@ static struct platform_driver twl4030_audio_driver = { · 15 unmodified lines
291291 .of_match_table = twl4030_audio_of_match,
292292 },
293293 .probe = twl4030_audio_probe,
294− .remove = __devexit_p(twl4030_audio_remove),
294+ .remove = twl4030_audio_remove,
295295 };
296296
297297 module_platform_driver(twl4030_audio_driver);
drivers/mfd/twl4030-madc.c+2−2
@@ -692,7 +692,7 @@ static int twl4030_madc_set_power(struct twl4030_madc_data *madc, int on) · 691 unmodified lines
692692 /*
693693 * Initialize MADC and request for threaded irq
694694 */
695−static int __devinit twl4030_madc_probe(struct platform_device *pdev)
695+static int twl4030_madc_probe(struct platform_device *pdev)
696696 {
697697 struct twl4030_madc_data *madc;
698698 struct twl4030_madc_platform_data *pdata = pdev->dev.platform_data;
@@ -785,7 +785,7 @@ err_power: · 86 unmodified lines
785785 return ret;
786786 }
787787
788−static int __devexit twl4030_madc_remove(struct platform_device *pdev)
788+static int twl4030_madc_remove(struct platform_device *pdev)
789789 {
790790 struct twl4030_madc_data *madc = platform_get_drvdata(pdev);
791791
drivers/mfd/twl4030-power.c+10−10
@@ -124,7 +124,7 @@ static u8 res_config_addrs[] = { · 123 unmodified lines
124124 [RES_MAIN_REF] = 0x94,
125125 };
126126
127−static int __devinit twl4030_write_script_byte(u8 address, u8 byte)
127+static int twl4030_write_script_byte(u8 address, u8 byte)
128128 {
129129 int err;
130130
@@ -138,7 +138,7 @@ out: · 7 unmodified lines
138138 return err;
139139 }
140140
141−static int __devinit twl4030_write_script_ins(u8 address, u16 pmb_message,
141+static int twl4030_write_script_ins(u8 address, u16 pmb_message,
142142 u8 delay, u8 next)
143143 {
144144 int err;
@@ -158,7 +158,7 @@ out: · 13 unmodified lines
158158 return err;
159159 }
160160
161−static int __devinit twl4030_write_script(u8 address, struct twl4030_ins *script,
161+static int twl4030_write_script(u8 address, struct twl4030_ins *script,
162162 int len)
163163 {
164164 int err;
@@ -183,7 +183,7 @@ static int __devinit twl4030_write_script(u8 address, struct twl4030_ins *script · 18 unmodified lines
183183 return err;
184184 }
185185
186−static int __devinit twl4030_config_wakeup3_sequence(u8 address)
186+static int twl4030_config_wakeup3_sequence(u8 address)
187187 {
188188 int err;
189189 u8 data;
@@ -208,7 +208,7 @@ out: · 18 unmodified lines
208208 return err;
209209 }
210210
211−static int __devinit twl4030_config_wakeup12_sequence(u8 address)
211+static int twl4030_config_wakeup12_sequence(u8 address)
212212 {
213213 int err = 0;
214214 u8 data;
@@ -262,7 +262,7 @@ out: · 47 unmodified lines
262262 return err;
263263 }
264264
265−static int __devinit twl4030_config_sleep_sequence(u8 address)
265+static int twl4030_config_sleep_sequence(u8 address)
266266 {
267267 int err;
268268
@@ -276,7 +276,7 @@ static int __devinit twl4030_config_sleep_sequence(u8 address) · 7 unmodified lines
276276 return err;
277277 }
278278
279−static int __devinit twl4030_config_warmreset_sequence(u8 address)
279+static int twl4030_config_warmreset_sequence(u8 address)
280280 {
281281 int err;
282282 u8 rd_data;
@@ -324,7 +324,7 @@ out: · 41 unmodified lines
324324 return err;
325325 }
326326
327−static int __devinit twl4030_configure_resource(struct twl4030_resconfig *rconfig)
327+static int twl4030_configure_resource(struct twl4030_resconfig *rconfig)
328328 {
329329 int rconfig_addr;
330330 int err;
@@ -416,7 +416,7 @@ static int __devinit twl4030_configure_resource(struct twl4030_resconfig *rconfi · 85 unmodified lines
416416 return 0;
417417 }
418418
419−static int __devinit load_twl4030_script(struct twl4030_script *tscript,
419+static int load_twl4030_script(struct twl4030_script *tscript,
420420 u8 address)
421421 {
422422 int err;
@@ -527,7 +527,7 @@ void twl4030_power_off(void) · 104 unmodified lines
527527 pr_err("TWL4030 Unable to power off\n");
528528 }
529529
530−void __devinit twl4030_power_init(struct twl4030_power_data *twl4030_scripts)
530+void twl4030_power_init(struct twl4030_power_data *twl4030_scripts)
531531 {
532532 int err = 0;
533533 int i;
drivers/mfd/vx855.c+3−3
@@ -72,7 +72,7 @@ static struct mfd_cell vx855_cells[] = { · 71 unmodified lines
7272 },
7373 };
7474
75−static __devinit int vx855_probe(struct pci_dev *pdev,
75+static int vx855_probe(struct pci_dev *pdev,
7676 const struct pci_device_id *id)
7777 {
7878 int ret;
@@ -112,7 +112,7 @@ out: · 33 unmodified lines
112112 return ret;
113113 }
114114
115−static void __devexit vx855_remove(struct pci_dev *pdev)
115+static void vx855_remove(struct pci_dev *pdev)
116116 {
117117 mfd_remove_devices(&pdev->dev);
118118 pci_disable_device(pdev);
@@ -128,7 +128,7 @@ static struct pci_driver vx855_pci_driver = { · 9 unmodified lines
128128 .name = "vx855",
129129 .id_table = vx855_pci_tbl,
130130 .probe = vx855_probe,
131− .remove = __devexit_p(vx855_remove),
131+ .remove = vx855_remove,
132132 };
133133
134134 module_pci_driver(vx855_pci_driver);
drivers/mfd/wl1273-core.c+2−2
@@ -182,7 +182,7 @@ static int wl1273_core_remove(struct i2c_client *client) · 181 unmodified lines
182182 return 0;
183183 }
184184
185−static int __devinit wl1273_core_probe(struct i2c_client *client,
185+static int wl1273_core_probe(struct i2c_client *client,
186186 const struct i2c_device_id *id)
187187 {
188188 struct wl1273_fm_platform_data *pdata = client->dev.platform_data;
@@ -262,7 +262,7 @@ static struct i2c_driver wl1273_core_driver = { · 73 unmodified lines
262262 },
263263 .probe = wl1273_core_probe,
264264 .id_table = wl1273_driver_id_table,
265− .remove = __devexit_p(wl1273_core_remove),
265+ .remove = wl1273_core_remove,
266266 };
267267
268268 static int __init wl1273_core_init(void)
drivers/mfd/wm831x-spi.c+3−3
@@ -21,7 +21,7 @@ · 20 unmodified lines
2121
2222 #include <linux/mfd/wm831x/core.h>
2323
24−static int __devinit wm831x_spi_probe(struct spi_device *spi)
24+static int wm831x_spi_probe(struct spi_device *spi)
2525 {
2626 const struct spi_device_id *id = spi_get_device_id(spi);
2727 struct wm831x *wm831x;
@@ -51,7 +51,7 @@ static int __devinit wm831x_spi_probe(struct spi_device *spi) · 23 unmodified lines
5151 return wm831x_device_init(wm831x, type, spi->irq);
5252 }
5353
54−static int __devexit wm831x_spi_remove(struct spi_device *spi)
54+static int wm831x_spi_remove(struct spi_device *spi)
5555 {
5656 struct wm831x *wm831x = dev_get_drvdata(&spi->dev);
5757
@@ -99,7 +99,7 @@ static struct spi_driver wm831x_spi_driver = { · 41 unmodified lines
9999 },
100100 .id_table = wm831x_spi_ids,
101101 .probe = wm831x_spi_probe,
102− .remove = __devexit_p(wm831x_spi_remove),
102+ .remove = wm831x_spi_remove,
103103 .shutdown = wm831x_spi_shutdown,
104104 };
105105
drivers/mfd/wm8994-core.c+8−8
@@ -374,21 +374,21 @@ static int wm8994_ldo_in_use(struct wm8994_pdata *pdata, int ldo) · 373 unmodified lines
374374 }
375375 #endif
376376
377−static const __devinitconst struct reg_default wm8994_revc_patch[] = {
377+static const struct reg_default wm8994_revc_patch[] = {
378378 { 0x102, 0x3 },
379379 { 0x56, 0x3 },
380380 { 0x817, 0x0 },
381381 { 0x102, 0x0 },
382382 };
383383
384−static const __devinitconst struct reg_default wm8958_reva_patch[] = {
384+static const struct reg_default wm8958_reva_patch[] = {
385385 { 0x102, 0x3 },
386386 { 0xcb, 0x81 },
387387 { 0x817, 0x0 },
388388 { 0x102, 0x0 },
389389 };
390390
391−static const __devinitconst struct reg_default wm1811_reva_patch[] = {
391+static const struct reg_default wm1811_reva_patch[] = {
392392 { 0x102, 0x3 },
393393 { 0x56, 0xc07 },
394394 { 0x5d, 0x7e },
@@ -399,7 +399,7 @@ static const __devinitconst struct reg_default wm1811_reva_patch[] = { · 4 unmodified lines
399399 /*
400400 * Instantiate the generic non-control parts of the device.
401401 */
402−static __devinit int wm8994_device_init(struct wm8994 *wm8994, int irq)
402+static int wm8994_device_init(struct wm8994 *wm8994, int irq)
403403 {
404404 struct wm8994_pdata *pdata = wm8994->dev->platform_data;
405405 struct regmap_config *regmap_config;
@@ -671,7 +671,7 @@ err: · 265 unmodified lines
671671 return ret;
672672 }
673673
674−static __devexit void wm8994_device_exit(struct wm8994 *wm8994)
674+static void wm8994_device_exit(struct wm8994 *wm8994)
675675 {
676676 pm_runtime_disable(wm8994->dev);
677677 mfd_remove_devices(wm8994->dev);
@@ -689,7 +689,7 @@ static const struct of_device_id wm8994_of_match[] = { · 11 unmodified lines
689689 };
690690 MODULE_DEVICE_TABLE(of, wm8994_of_match);
691691
692−static __devinit int wm8994_i2c_probe(struct i2c_client *i2c,
692+static int wm8994_i2c_probe(struct i2c_client *i2c,
693693 const struct i2c_device_id *id)
694694 {
695695 struct wm8994 *wm8994;
@@ -715,7 +715,7 @@ static __devinit int wm8994_i2c_probe(struct i2c_client *i2c, · 19 unmodified lines
715715 return wm8994_device_init(wm8994, i2c->irq);
716716 }
717717
718−static __devexit int wm8994_i2c_remove(struct i2c_client *i2c)
718+static int wm8994_i2c_remove(struct i2c_client *i2c)
719719 {
720720 struct wm8994 *wm8994 = i2c_get_clientdata(i2c);
721721
@@ -744,7 +744,7 @@ static struct i2c_driver wm8994_i2c_driver = { · 22 unmodified lines
744744 .of_match_table = wm8994_of_match,
745745 },
746746 .probe = wm8994_i2c_probe,
747− .remove = __devexit_p(wm8994_i2c_remove),
747+ .remove = wm8994_i2c_remove,
748748 .id_table = wm8994_i2c_id,
749749 };
750750
drivers/mmc/host/atmel-mci.c+1−1
@@ -511,7 +511,7 @@ static const struct of_device_id atmci_dt_ids[] = { · 510 unmodified lines
511511
512512 MODULE_DEVICE_TABLE(of, atmci_dt_ids);
513513
514−static struct mci_platform_data __devinit*
514+static struct mci_platform_data*
515515 atmci_of_init(struct platform_device *pdev)
516516 {
517517 struct device_node *np = pdev->dev.of_node;
drivers/mmc/host/au1xmmc.c+2−2
@@ -943,7 +943,7 @@ static const struct mmc_host_ops au1xmmc_ops = { · 942 unmodified lines
943943 .enable_sdio_irq = au1xmmc_enable_sdio_irq,
944944 };
945945
946−static int __devinit au1xmmc_probe(struct platform_device *pdev)
946+static int au1xmmc_probe(struct platform_device *pdev)
947947 {
948948 struct mmc_host *mmc;
949949 struct au1xmmc_host *host;
@@ -1114,7 +1114,7 @@ out0: · 164 unmodified lines
11141114 return ret;
11151115 }
11161116
1117−static int __devexit au1xmmc_remove(struct platform_device *pdev)
1117+static int au1xmmc_remove(struct platform_device *pdev)
11181118 {
11191119 struct au1xmmc_host *host = platform_get_drvdata(pdev);
11201120
drivers/mmc/host/bfin_sdh.c+3−3
@@ -522,7 +522,7 @@ static void sdh_reset(void) · 521 unmodified lines
522522 SSYNC();
523523 }
524524
525−static int __devinit sdh_probe(struct platform_device *pdev)
525+static int sdh_probe(struct platform_device *pdev)
526526 {
527527 struct mmc_host *mmc;
528528 struct sdh_host *host;
@@ -617,7 +617,7 @@ out1: · 88 unmodified lines
617617 return ret;
618618 }
619619
620−static int __devexit sdh_remove(struct platform_device *pdev)
620+static int sdh_remove(struct platform_device *pdev)
621621 {
622622 struct mmc_host *mmc = platform_get_drvdata(pdev);
623623
@@ -680,7 +680,7 @@ static int sdh_resume(struct platform_device *dev) · 56 unmodified lines
680680
681681 static struct platform_driver sdh_driver = {
682682 .probe = sdh_probe,
683− .remove = __devexit_p(sdh_remove),
683+ .remove = sdh_remove,
684684 .suspend = sdh_suspend,
685685 .resume = sdh_resume,
686686 .driver = {
drivers/mmc/host/cb710-mmc.c+3−3
@@ -690,7 +690,7 @@ static int cb710_mmc_resume(struct platform_device *pdev) · 689 unmodified lines
690690
691691 #endif /* CONFIG_PM */
692692
693−static int __devinit cb710_mmc_init(struct platform_device *pdev)
693+static int cb710_mmc_init(struct platform_device *pdev)
694694 {
695695 struct cb710_slot *slot = cb710_pdev_to_slot(pdev);
696696 struct cb710_chip *chip = cb710_slot_to_chip(slot);
@@ -746,7 +746,7 @@ err_free_mmc: · 49 unmodified lines
746746 return err;
747747 }
748748
749−static int __devexit cb710_mmc_exit(struct platform_device *pdev)
749+static int cb710_mmc_exit(struct platform_device *pdev)
750750 {
751751 struct cb710_slot *slot = cb710_pdev_to_slot(pdev);
752752 struct mmc_host *mmc = cb710_slot_to_mmc(slot);
@@ -773,7 +773,7 @@ static int __devexit cb710_mmc_exit(struct platform_device *pdev) · 20 unmodified lines
773773 static struct platform_driver cb710_mmc_driver = {
774774 .driver.name = "cb710-mmc",
775775 .probe = cb710_mmc_init,
776− .remove = __devexit_p(cb710_mmc_exit),
776+ .remove = cb710_mmc_exit,
777777 #ifdef CONFIG_PM
778778 .suspend = cb710_mmc_suspend,
779779 .resume = cb710_mmc_resume,
drivers/mmc/host/dw_mmc-pci.c+2−2
@@ -37,7 +37,7 @@ static struct dw_mci_board pci_board_data = { · 36 unmodified lines
3737 .fifo_depth = 32,
3838 };
3939
40−static int __devinit dw_mci_pci_probe(struct pci_dev *pdev,
40+static int dw_mci_pci_probe(struct pci_dev *pdev,
4141 const struct pci_device_id *entries)
4242 {
4343 struct dw_mci *host;
@@ -85,7 +85,7 @@ err_disable_dev: · 41 unmodified lines
8585 return ret;
8686 }
8787
88−static void __devexit dw_mci_pci_remove(struct pci_dev *pdev)
88+static void dw_mci_pci_remove(struct pci_dev *pdev)
8989 {
9090 struct dw_mci *host = pci_get_drvdata(pdev);
9191
drivers/mmc/host/dw_mmc-pltfm.c+2−2
@@ -62,12 +62,12 @@ int dw_mci_pltfm_register(struct platform_device *pdev, · 61 unmodified lines
6262 }
6363 EXPORT_SYMBOL_GPL(dw_mci_pltfm_register);
6464
65−static int __devinit dw_mci_pltfm_probe(struct platform_device *pdev)
65+static int dw_mci_pltfm_probe(struct platform_device *pdev)
6666 {
6767 return dw_mci_pltfm_register(pdev, NULL);
6868 }
6969
70−static int __devexit dw_mci_pltfm_remove(struct platform_device *pdev)
70+static int dw_mci_pltfm_remove(struct platform_device *pdev)
7171 {
7272 struct dw_mci *host = platform_get_drvdata(pdev);
7373
drivers/mmc/host/dw_mmc-pltfm.h+1−1
@@ -14,7 +14,7 @@ · 13 unmodified lines
1414
1515 extern int dw_mci_pltfm_register(struct platform_device *pdev,
1616 const struct dw_mci_drv_data *drv_data);
17−extern int __devexit dw_mci_pltfm_remove(struct platform_device *pdev);
17+extern int dw_mci_pltfm_remove(struct platform_device *pdev);
1818 extern const struct dev_pm_ops dw_mci_pltfm_pmops;
1919
2020 #endif /* _DW_MMC_PLTFM_H_ */
drivers/mmc/host/jz4740_mmc.c+6−6
@@ -702,7 +702,7 @@ static const struct jz_gpio_bulk_request jz4740_mmc_pins[] = { · 701 unmodified lines
702702 JZ_GPIO_BULK_PIN(MSC_DATA3),
703703 };
704704
705−static int __devinit jz4740_mmc_request_gpio(struct device *dev, int gpio,
705+static int jz4740_mmc_request_gpio(struct device *dev, int gpio,
706706 const char *name, bool output, int value)
707707 {
708708 int ret;
@@ -724,7 +724,7 @@ static int __devinit jz4740_mmc_request_gpio(struct device *dev, int gpio, · 15 unmodified lines
724724 return 0;
725725 }
726726
727−static int __devinit jz4740_mmc_request_gpios(struct platform_device *pdev)
727+static int jz4740_mmc_request_gpios(struct platform_device *pdev)
728728 {
729729 int ret;
730730 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data;
@@ -759,7 +759,7 @@ err: · 28 unmodified lines
759759 return ret;
760760 }
761761
762−static int __devinit jz4740_mmc_request_cd_irq(struct platform_device *pdev,
762+static int jz4740_mmc_request_cd_irq(struct platform_device *pdev,
763763 struct jz4740_mmc_host *host)
764764 {
765765 struct jz4740_mmc_platform_data *pdata = pdev->dev.platform_data;
@@ -802,7 +802,7 @@ static inline size_t jz4740_mmc_num_pins(struct jz4740_mmc_host *host) · 36 unmodified lines
802802 return num_pins;
803803 }
804804
805−static int __devinit jz4740_mmc_probe(struct platform_device* pdev)
805+static int jz4740_mmc_probe(struct platform_device* pdev)
806806 {
807807 int ret;
808808 struct mmc_host *mmc;
@@ -938,7 +938,7 @@ err_free_host: · 129 unmodified lines
938938 return ret;
939939 }
940940
941−static int __devexit jz4740_mmc_remove(struct platform_device *pdev)
941+static int jz4740_mmc_remove(struct platform_device *pdev)
942942 {
943943 struct jz4740_mmc_host *host = platform_get_drvdata(pdev);
944944
@@ -1004,7 +1004,7 @@ const struct dev_pm_ops jz4740_mmc_pm_ops = { · 59 unmodified lines
10041004
10051005 static struct platform_driver jz4740_mmc_driver = {
10061006 .probe = jz4740_mmc_probe,
1007− .remove = __devexit_p(jz4740_mmc_remove),
1007+ .remove = jz4740_mmc_remove,
10081008 .driver = {
10091009 .name = "jz4740-mmc",
10101010 .owner = THIS_MODULE,
drivers/mmc/host/mmc_spi.c+3−3
@@ -1485,7 +1485,7 @@ nomem: · 1484 unmodified lines
14851485 }
14861486
14871487
1488−static int __devexit mmc_spi_remove(struct spi_device *spi)
1488+static int mmc_spi_remove(struct spi_device *spi)
14891489 {
14901490 struct mmc_host *mmc = dev_get_drvdata(&spi->dev);
14911491 struct mmc_spi_host *host;
@@ -1517,7 +1517,7 @@ static int __devexit mmc_spi_remove(struct spi_device *spi) · 25 unmodified lines
15171517 return 0;
15181518 }
15191519
1520−static struct of_device_id mmc_spi_of_match_table[] __devinitdata = {
1520+static struct of_device_id mmc_spi_of_match_table[] = {
15211521 { .compatible = "mmc-spi-slot", },
15221522 {},
15231523 };
@@ -1529,7 +1529,7 @@ static struct spi_driver mmc_spi_driver = { · 5 unmodified lines
15291529 .of_match_table = mmc_spi_of_match_table,
15301530 },
15311531 .probe = mmc_spi_probe,
1532− .remove = __devexit_p(mmc_spi_remove),
1532+ .remove = mmc_spi_remove,
15331533 };
15341534
15351535 module_spi_driver(mmc_spi_driver);
drivers/mmc/host/mmci.c+5−5
@@ -261,7 +261,7 @@ static void mmci_init_sg(struct mmci_host *host, struct mmc_data *data) · 260 unmodified lines
261261 * no custom DMA interfaces are supported.
262262 */
263263 #ifdef CONFIG_DMA_ENGINE
264−static void __devinit mmci_dma_setup(struct mmci_host *host)
264+static void mmci_dma_setup(struct mmci_host *host)
265265 {
266266 struct mmci_platform_data *plat = host->plat;
267267 const char *rxname, *txname;
@@ -337,7 +337,7 @@ static void __devinit mmci_dma_setup(struct mmci_host *host) · 69 unmodified lines
337337 }
338338
339339 /*
340− * This is used in __devinit or __devexit so inline it
340+ * This is used in or so inline it
341341 * so it can be discarded.
342342 */
343343 static inline void mmci_dma_release(struct mmci_host *host)
@@ -1255,7 +1255,7 @@ static void mmci_dt_populate_generic_pdata(struct device_node *np, · 911 unmodified lines
12551255 }
12561256 #endif
12571257
1258−static int __devinit mmci_probe(struct amba_device *dev,
1258+static int mmci_probe(struct amba_device *dev,
12591259 const struct amba_id *id)
12601260 {
12611261 struct mmci_platform_data *plat = dev->dev.platform_data;
@@ -1522,7 +1522,7 @@ static int __devinit mmci_probe(struct amba_device *dev, · 260 unmodified lines
15221522 return ret;
15231523 }
15241524
1525−static int __devexit mmci_remove(struct amba_device *dev)
1525+static int mmci_remove(struct amba_device *dev)
15261526 {
15271527 struct mmc_host *mmc = amba_get_drvdata(dev);
15281528
@@ -1669,7 +1669,7 @@ static struct amba_driver mmci_driver = { · 140 unmodified lines
16691669 .pm = &mmci_dev_pm_ops,
16701670 },
16711671 .probe = mmci_probe,
1672− .remove = __devexit_p(mmci_remove),
1672+ .remove = mmci_remove,
16731673 .id_table = mmci_ids,
16741674 };
16751675
drivers/mmc/host/omap.c+4−4
@@ -1214,7 +1214,7 @@ static const struct mmc_host_ops mmc_omap_ops = { · 1213 unmodified lines
12141214 .set_ios = mmc_omap_set_ios,
12151215 };
12161216
1217−static int __devinit mmc_omap_new_slot(struct mmc_omap_host *host, int id)
1217+static int mmc_omap_new_slot(struct mmc_omap_host *host, int id)
12181218 {
12191219 struct mmc_omap_slot *slot = NULL;
12201220 struct mmc_host *mmc;
@@ -1309,7 +1309,7 @@ static void mmc_omap_remove_slot(struct mmc_omap_slot *slot) · 88 unmodified lines
13091309 mmc_free_host(mmc);
13101310 }
13111311
1312−static int __devinit mmc_omap_probe(struct platform_device *pdev)
1312+static int mmc_omap_probe(struct platform_device *pdev)
13131313 {
13141314 struct omap_mmc_platform_data *pdata = pdev->dev.platform_data;
13151315 struct mmc_omap_host *host = NULL;
@@ -1478,7 +1478,7 @@ err_free_mem_region: · 162 unmodified lines
14781478 return ret;
14791479 }
14801480
1481−static int __devexit mmc_omap_remove(struct platform_device *pdev)
1481+static int mmc_omap_remove(struct platform_device *pdev)
14821482 {
14831483 struct mmc_omap_host *host = platform_get_drvdata(pdev);
14841484 int i;
@@ -1566,7 +1566,7 @@ static int mmc_omap_resume(struct platform_device *pdev) · 81 unmodified lines
15661566
15671567 static struct platform_driver mmc_omap_driver = {
15681568 .probe = mmc_omap_probe,
1569− .remove = __devexit_p(mmc_omap_remove),
1569+ .remove = mmc_omap_remove,
15701570 .suspend = mmc_omap_suspend,
15711571 .resume = mmc_omap_resume,
15721572 .driver = {
drivers/mmc/host/omap_hsmmc.c+3−3
@@ -1761,7 +1761,7 @@ static inline struct omap_mmc_platform_data · 1760 unmodified lines
17611761 }
17621762 #endif
17631763
1764−static int __devinit omap_hsmmc_probe(struct platform_device *pdev)
1764+static int omap_hsmmc_probe(struct platform_device *pdev)
17651765 {
17661766 struct omap_mmc_platform_data *pdata = pdev->dev.platform_data;
17671767 struct mmc_host *mmc;
@@ -2037,7 +2037,7 @@ err: · 269 unmodified lines
20372037 return ret;
20382038 }
20392039
2040−static int __devexit omap_hsmmc_remove(struct platform_device *pdev)
2040+static int omap_hsmmc_remove(struct platform_device *pdev)
20412041 {
20422042 struct omap_hsmmc_host *host = platform_get_drvdata(pdev);
20432043 struct resource *res;
@@ -2204,7 +2204,7 @@ static struct dev_pm_ops omap_hsmmc_dev_pm_ops = { · 160 unmodified lines
22042204
22052205 static struct platform_driver omap_hsmmc_driver = {
22062206 .probe = omap_hsmmc_probe,
2207− .remove = __devexit_p(omap_hsmmc_remove),
2207+ .remove = omap_hsmmc_remove,
22082208 .driver = {
22092209 .name = DRIVER_NAME,
22102210 .owner = THIS_MODULE,
drivers/mmc/host/pxamci.c+2−2
@@ -584,7 +584,7 @@ static const struct of_device_id pxa_mmc_dt_ids[] = { · 583 unmodified lines
584584
585585 MODULE_DEVICE_TABLE(of, pxa_mmc_dt_ids);
586586
587−static int __devinit pxamci_of_init(struct platform_device *pdev)
587+static int pxamci_of_init(struct platform_device *pdev)
588588 {
589589 struct device_node *np = pdev->dev.of_node;
590590 struct pxamci_platform_data *pdata;
@@ -614,7 +614,7 @@ static int __devinit pxamci_of_init(struct platform_device *pdev) · 23 unmodified lines
614614 return 0;
615615 }
616616 #else
617−static int __devinit pxamci_of_init(struct platform_device *pdev)
617+static int pxamci_of_init(struct platform_device *pdev)
618618 {
619619 return 0;
620620 }
drivers/mmc/host/s3cmci.c+3−3
@@ -1540,7 +1540,7 @@ static inline void s3cmci_debugfs_remove(struct s3cmci_host *host) { } · 1539 unmodified lines
15401540
15411541 #endif /* CONFIG_DEBUG_FS */
15421542
1543−static int __devinit s3cmci_probe(struct platform_device *pdev)
1543+static int s3cmci_probe(struct platform_device *pdev)
15441544 {
15451545 struct s3cmci_host *host;
15461546 struct mmc_host *mmc;
@@ -1819,7 +1819,7 @@ static void s3cmci_shutdown(struct platform_device *pdev) · 272 unmodified lines
18191819 clk_disable(host->clk);
18201820 }
18211821
1822−static int __devexit s3cmci_remove(struct platform_device *pdev)
1822+static int s3cmci_remove(struct platform_device *pdev)
18231823 {
18241824 struct mmc_host *mmc = platform_get_drvdata(pdev);
18251825 struct s3cmci_host *host = mmc_priv(mmc);
@@ -1906,7 +1906,7 @@ static struct platform_driver s3cmci_driver = { · 80 unmodified lines
19061906 },
19071907 .id_table = s3cmci_driver_ids,
19081908 .probe = s3cmci_probe,
1909− .remove = __devexit_p(s3cmci_remove),
1909+ .remove = s3cmci_remove,
19101910 .shutdown = s3cmci_shutdown,
19111911 };
19121912
drivers/mmc/host/sdhci-cns3xxx.c+3−3
@@ -95,12 +95,12 @@ static struct sdhci_pltfm_data sdhci_cns3xxx_pdata = { · 94 unmodified lines
9595 SDHCI_QUIRK_NONSTANDARD_CLOCK,
9696 };
9797
98−static int __devinit sdhci_cns3xxx_probe(struct platform_device *pdev)
98+static int sdhci_cns3xxx_probe(struct platform_device *pdev)
9999 {
100100 return sdhci_pltfm_register(pdev, &sdhci_cns3xxx_pdata);
101101 }
102102
103−static int __devexit sdhci_cns3xxx_remove(struct platform_device *pdev)
103+static int sdhci_cns3xxx_remove(struct platform_device *pdev)
104104 {
105105 return sdhci_pltfm_unregister(pdev);
106106 }
@@ -112,7 +112,7 @@ static struct platform_driver sdhci_cns3xxx_driver = { · 5 unmodified lines
112112 .pm = SDHCI_PLTFM_PMOPS,
113113 },
114114 .probe = sdhci_cns3xxx_probe,
115− .remove = __devexit_p(sdhci_cns3xxx_remove),
115+ .remove = sdhci_cns3xxx_remove,
116116 };
117117
118118 module_platform_driver(sdhci_cns3xxx_driver);
drivers/mmc/host/sdhci-dove.c+4−4
@@ -97,7 +97,7 @@ static struct sdhci_pltfm_data sdhci_dove_pdata = { · 96 unmodified lines
9797 SDHCI_QUIRK_NO_HISPD_BIT,
9898 };
9999
100−static int __devinit sdhci_dove_probe(struct platform_device *pdev)
100+static int sdhci_dove_probe(struct platform_device *pdev)
101101 {
102102 struct sdhci_host *host;
103103 struct sdhci_pltfm_host *pltfm_host;
@@ -178,7 +178,7 @@ err_sdhci_pltfm_init: · 74 unmodified lines
178178 return ret;
179179 }
180180
181−static int __devexit sdhci_dove_remove(struct platform_device *pdev)
181+static int sdhci_dove_remove(struct platform_device *pdev)
182182 {
183183 struct sdhci_host *host = platform_get_drvdata(pdev);
184184 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -197,7 +197,7 @@ static int __devexit sdhci_dove_remove(struct platform_device *pdev) · 12 unmodified lines
197197 return 0;
198198 }
199199
200−static const struct of_device_id sdhci_dove_of_match_table[] __devinitdata = {
200+static const struct of_device_id sdhci_dove_of_match_table[] = {
201201 { .compatible = "marvell,dove-sdhci", },
202202 {}
203203 };
@@ -211,7 +211,7 @@ static struct platform_driver sdhci_dove_driver = { · 7 unmodified lines
211211 .of_match_table = of_match_ptr(sdhci_dove_of_match_table),
212212 },
213213 .probe = sdhci_dove_probe,
214− .remove = __devexit_p(sdhci_dove_remove),
214+ .remove = sdhci_dove_remove,
215215 };
216216
217217 module_platform_driver(sdhci_dove_driver);
drivers/mmc/host/sdhci-esdhc-imx.c+4−4
@@ -403,7 +403,7 @@ static irqreturn_t cd_irq(int irq, void *data) · 402 unmodified lines
403403 };
404404
405405 #ifdef CONFIG_OF
406−static int __devinit
406+static int
407407 sdhci_esdhc_imx_probe_dt(struct platform_device *pdev,
408408 struct esdhc_platform_data *boarddata)
409409 {
@@ -440,7 +440,7 @@ sdhci_esdhc_imx_probe_dt(struct platform_device *pdev, · 30 unmodified lines
440440 }
441441 #endif
442442
443−static int __devinit sdhci_esdhc_imx_probe(struct platform_device *pdev)
443+static int sdhci_esdhc_imx_probe(struct platform_device *pdev)
444444 {
445445 const struct of_device_id *of_id =
446446 of_match_device(imx_esdhc_dt_ids, &pdev->dev);
@@ -590,7 +590,7 @@ free_sdhci: · 143 unmodified lines
590590 return err;
591591 }
592592
593−static int __devexit sdhci_esdhc_imx_remove(struct platform_device *pdev)
593+static int sdhci_esdhc_imx_remove(struct platform_device *pdev)
594594 {
595595 struct sdhci_host *host = platform_get_drvdata(pdev);
596596 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -617,7 +617,7 @@ static struct platform_driver sdhci_esdhc_imx_driver = { · 20 unmodified lines
617617 },
618618 .id_table = imx_esdhc_devtype,
619619 .probe = sdhci_esdhc_imx_probe,
620− .remove = __devexit_p(sdhci_esdhc_imx_remove),
620+ .remove = sdhci_esdhc_imx_remove,
621621 };
622622
623623 module_platform_driver(sdhci_esdhc_imx_driver);
drivers/mmc/host/sdhci-of-esdhc.c+3−3
@@ -260,12 +260,12 @@ static struct sdhci_pltfm_data sdhci_esdhc_pdata = { · 259 unmodified lines
260260 .ops = &sdhci_esdhc_ops,
261261 };
262262
263−static int __devinit sdhci_esdhc_probe(struct platform_device *pdev)
263+static int sdhci_esdhc_probe(struct platform_device *pdev)
264264 {
265265 return sdhci_pltfm_register(pdev, &sdhci_esdhc_pdata);
266266 }
267267
268−static int __devexit sdhci_esdhc_remove(struct platform_device *pdev)
268+static int sdhci_esdhc_remove(struct platform_device *pdev)
269269 {
270270 return sdhci_pltfm_unregister(pdev);
271271 }
@@ -286,7 +286,7 @@ static struct platform_driver sdhci_esdhc_driver = { · 14 unmodified lines
286286 .pm = SDHCI_PLTFM_PMOPS,
287287 },
288288 .probe = sdhci_esdhc_probe,
289− .remove = __devexit_p(sdhci_esdhc_remove),
289+ .remove = sdhci_esdhc_remove,
290290 };
291291
292292 module_platform_driver(sdhci_esdhc_driver);
drivers/mmc/host/sdhci-of-hlwd.c+3−3
@@ -66,12 +66,12 @@ static struct sdhci_pltfm_data sdhci_hlwd_pdata = { · 65 unmodified lines
6666 .ops = &sdhci_hlwd_ops,
6767 };
6868
69−static int __devinit sdhci_hlwd_probe(struct platform_device *pdev)
69+static int sdhci_hlwd_probe(struct platform_device *pdev)
7070 {
7171 return sdhci_pltfm_register(pdev, &sdhci_hlwd_pdata);
7272 }
7373
74−static int __devexit sdhci_hlwd_remove(struct platform_device *pdev)
74+static int sdhci_hlwd_remove(struct platform_device *pdev)
7575 {
7676 return sdhci_pltfm_unregister(pdev);
7777 }
@@ -90,7 +90,7 @@ static struct platform_driver sdhci_hlwd_driver = { · 12 unmodified lines
9090 .pm = SDHCI_PLTFM_PMOPS,
9191 },
9292 .probe = sdhci_hlwd_probe,
93− .remove = __devexit_p(sdhci_hlwd_remove),
93+ .remove = sdhci_hlwd_remove,
9494 };
9595
9696 module_platform_driver(sdhci_hlwd_driver);
drivers/mmc/host/sdhci-pci.c+7−7
@@ -654,7 +654,7 @@ static const struct sdhci_pci_fixes sdhci_via = { · 653 unmodified lines
654654 .probe = via_probe,
655655 };
656656
657−static const struct pci_device_id pci_ids[] __devinitconst = {
657+static const struct pci_device_id pci_ids[] = {
658658 {
659659 .vendor = PCI_VENDOR_ID_RICOH,
660660 .device = PCI_DEVICE_ID_RICOH_R5C822,
@@ -1184,7 +1184,7 @@ static const struct dev_pm_ops sdhci_pci_pm_ops = { · 523 unmodified lines
11841184 * *
11851185 \*****************************************************************************/
11861186
1187−static struct sdhci_pci_slot * __devinit sdhci_pci_probe_slot(
1187+static struct sdhci_pci_slot *sdhci_pci_probe_slot(
11881188 struct pci_dev *pdev, struct sdhci_pci_chip *chip, int first_bar,
11891189 int slotno)
11901190 {
@@ -1339,7 +1339,7 @@ static void sdhci_pci_remove_slot(struct sdhci_pci_slot *slot) · 148 unmodified lines
13391339 sdhci_free_host(slot->host);
13401340 }
13411341
1342−static void __devinit sdhci_pci_runtime_pm_allow(struct device *dev)
1342+static void sdhci_pci_runtime_pm_allow(struct device *dev)
13431343 {
13441344 pm_runtime_put_noidle(dev);
13451345 pm_runtime_allow(dev);
@@ -1348,13 +1348,13 @@ static void __devinit sdhci_pci_runtime_pm_allow(struct device *dev) · 2 unmodified lines
13481348 pm_suspend_ignore_children(dev, 1);
13491349 }
13501350
1351−static void __devexit sdhci_pci_runtime_pm_forbid(struct device *dev)
1351+static void sdhci_pci_runtime_pm_forbid(struct device *dev)
13521352 {
13531353 pm_runtime_forbid(dev);
13541354 pm_runtime_get_noresume(dev);
13551355 }
13561356
1357−static int __devinit sdhci_pci_probe(struct pci_dev *pdev,
1357+static int sdhci_pci_probe(struct pci_dev *pdev,
13581358 const struct pci_device_id *ent)
13591359 {
13601360 struct sdhci_pci_chip *chip;
@@ -1446,7 +1446,7 @@ err: · 85 unmodified lines
14461446 return ret;
14471447 }
14481448
1449−static void __devexit sdhci_pci_remove(struct pci_dev *pdev)
1449+static void sdhci_pci_remove(struct pci_dev *pdev)
14501450 {
14511451 int i;
14521452 struct sdhci_pci_chip *chip;
@@ -1471,7 +1471,7 @@ static struct pci_driver sdhci_driver = { · 18 unmodified lines
14711471 .name = "sdhci-pci",
14721472 .id_table = pci_ids,
14731473 .probe = sdhci_pci_probe,
1474− .remove = __devexit_p(sdhci_pci_remove),
1474+ .remove = sdhci_pci_remove,
14751475 .driver = {
14761476 .pm = &sdhci_pci_pm_ops
14771477 },
drivers/mmc/host/sdhci-pxav2.c+3−3
@@ -166,7 +166,7 @@ static inline struct sdhci_pxa_platdata *pxav2_get_mmc_pdata(struct device *dev) · 165 unmodified lines
166166 }
167167 #endif
168168
169−static int __devinit sdhci_pxav2_probe(struct platform_device *pdev)
169+static int sdhci_pxav2_probe(struct platform_device *pdev)
170170 {
171171 struct sdhci_pltfm_host *pltfm_host;
172172 struct sdhci_pxa_platdata *pdata = pdev->dev.platform_data;
@@ -247,7 +247,7 @@ err_clk_get: · 74 unmodified lines
247247 return ret;
248248 }
249249
250−static int __devexit sdhci_pxav2_remove(struct platform_device *pdev)
250+static int sdhci_pxav2_remove(struct platform_device *pdev)
251251 {
252252 struct sdhci_host *host = platform_get_drvdata(pdev);
253253 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -275,7 +275,7 @@ static struct platform_driver sdhci_pxav2_driver = { · 21 unmodified lines
275275 .pm = SDHCI_PLTFM_PMOPS,
276276 },
277277 .probe = sdhci_pxav2_probe,
278− .remove = __devexit_p(sdhci_pxav2_remove),
278+ .remove = sdhci_pxav2_remove,
279279 };
280280
281281 module_platform_driver(sdhci_pxav2_driver);
drivers/mmc/host/sdhci-pxav3.c+3−3
@@ -222,7 +222,7 @@ static inline struct sdhci_pxa_platdata *pxav3_get_mmc_pdata(struct device *dev) · 221 unmodified lines
222222 }
223223 #endif
224224
225−static int __devinit sdhci_pxav3_probe(struct platform_device *pdev)
225+static int sdhci_pxav3_probe(struct platform_device *pdev)
226226 {
227227 struct sdhci_pltfm_host *pltfm_host;
228228 struct sdhci_pxa_platdata *pdata = pdev->dev.platform_data;
@@ -324,7 +324,7 @@ err_clk_get: · 95 unmodified lines
324324 return ret;
325325 }
326326
327−static int __devexit sdhci_pxav3_remove(struct platform_device *pdev)
327+static int sdhci_pxav3_remove(struct platform_device *pdev)
328328 {
329329 struct sdhci_host *host = platform_get_drvdata(pdev);
330330 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -357,7 +357,7 @@ static struct platform_driver sdhci_pxav3_driver = { · 26 unmodified lines
357357 .pm = SDHCI_PLTFM_PMOPS,
358358 },
359359 .probe = sdhci_pxav3_probe,
360− .remove = __devexit_p(sdhci_pxav3_remove),
360+ .remove = sdhci_pxav3_remove,
361361 };
362362
363363 module_platform_driver(sdhci_pxav3_driver);
drivers/mmc/host/sdhci-s3c.c+5−5
@@ -441,7 +441,7 @@ static void sdhci_s3c_setup_card_detect_gpio(struct sdhci_s3c *sc) · 440 unmodified lines
441441 }
442442
443443 #ifdef CONFIG_OF
444−static int __devinit sdhci_s3c_parse_dt(struct device *dev,
444+static int sdhci_s3c_parse_dt(struct device *dev,
445445 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata)
446446 {
447447 struct device_node *node = dev->of_node;
@@ -532,7 +532,7 @@ static int __devinit sdhci_s3c_parse_dt(struct device *dev, · 84 unmodified lines
532532 return 0;
533533 }
534534 #else
535−static int __devinit sdhci_s3c_parse_dt(struct device *dev,
535+static int sdhci_s3c_parse_dt(struct device *dev,
536536 struct sdhci_host *host, struct s3c_sdhci_platdata *pdata)
537537 {
538538 return -EINVAL;
@@ -555,7 +555,7 @@ static inline struct sdhci_s3c_drv_data *sdhci_s3c_get_driver_data( · 16 unmodified lines
555555 platform_get_device_id(pdev)->driver_data;
556556 }
557557
558−static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
558+static int sdhci_s3c_probe(struct platform_device *pdev)
559559 {
560560 struct s3c_sdhci_platdata *pdata;
561561 struct sdhci_s3c_drv_data *drv_data;
@@ -781,7 +781,7 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev) · 219 unmodified lines
781781 return ret;
782782 }
783783
784−static int __devexit sdhci_s3c_remove(struct platform_device *pdev)
784+static int sdhci_s3c_remove(struct platform_device *pdev)
785785 {
786786 struct sdhci_host *host = platform_get_drvdata(pdev);
787787 struct sdhci_s3c *sc = sdhci_priv(host);
@@ -911,7 +911,7 @@ MODULE_DEVICE_TABLE(of, sdhci_s3c_dt_match); · 123 unmodified lines
911911
912912 static struct platform_driver sdhci_s3c_driver = {
913913 .probe = sdhci_s3c_probe,
914− .remove = __devexit_p(sdhci_s3c_remove),
914+ .remove = sdhci_s3c_remove,
915915 .id_table = sdhci_s3c_driver_ids,
916916 .driver = {
917917 .owner = THIS_MODULE,
drivers/mmc/host/sdhci-spear.c+5−7
@@ -71,8 +71,7 @@ static irqreturn_t sdhci_gpio_irq(int irq, void *dev_id) · 70 unmodified lines
7171 }
7272
7373 #ifdef CONFIG_OF
74−static struct sdhci_plat_data * __devinit
75−sdhci_probe_config_dt(struct platform_device *pdev)
74+static struct sdhci_plat_data *sdhci_probe_config_dt(struct platform_device *pdev)
7675 {
7776 struct device_node *np = pdev->dev.of_node;
7877 struct sdhci_plat_data *pdata = NULL;
@@ -96,14 +95,13 @@ sdhci_probe_config_dt(struct platform_device *pdev) · 17 unmodified lines
9695 return pdata;
9796 }
9897 #else
99−static struct sdhci_plat_data * __devinit
100−sdhci_probe_config_dt(struct platform_device *pdev)
98+static struct sdhci_plat_data *sdhci_probe_config_dt(struct platform_device *pdev)
10199 {
102100 return ERR_PTR(-ENOSYS);
103101 }
104102 #endif
105103
106−static int __devinit sdhci_probe(struct platform_device *pdev)
104+static int sdhci_probe(struct platform_device *pdev)
107105 {
108106 struct device_node *np = pdev->dev.of_node;
109107 struct sdhci_host *host;
@@ -273,7 +271,7 @@ err: · 163 unmodified lines
273271 return ret;
274272 }
275273
276−static int __devexit sdhci_remove(struct platform_device *pdev)
274+static int sdhci_remove(struct platform_device *pdev)
277275 {
278276 struct sdhci_host *host = platform_get_drvdata(pdev);
279277 struct spear_sdhci *sdhci = dev_get_platdata(&pdev->dev);
@@ -341,7 +339,7 @@ static struct platform_driver sdhci_driver = { · 61 unmodified lines
341339 .of_match_table = of_match_ptr(sdhci_spear_id_table),
342340 },
343341 .probe = sdhci_probe,
344− .remove = __devexit_p(sdhci_remove),
342+ .remove = sdhci_remove,
345343 };
346344
347345 module_platform_driver(sdhci_driver);
drivers/mmc/host/sdhci-tegra.c+5−5
@@ -206,7 +206,7 @@ static struct sdhci_tegra_soc_data soc_data_tegra30 = { · 205 unmodified lines
206206 };
207207 #endif
208208
209−static const struct of_device_id sdhci_tegra_dt_match[] __devinitdata = {
209+static const struct of_device_id sdhci_tegra_dt_match[] = {
210210 #ifdef CONFIG_ARCH_TEGRA_3x_SOC
211211 { .compatible = "nvidia,tegra30-sdhci", .data = &soc_data_tegra30 },
212212 #endif
@@ -217,7 +217,7 @@ static const struct of_device_id sdhci_tegra_dt_match[] __devinitdata = { · 4 unmodified lines
217217 };
218218 MODULE_DEVICE_TABLE(of, sdhci_dt_ids);
219219
220−static struct tegra_sdhci_platform_data * __devinit sdhci_tegra_dt_parse_pdata(
220+static struct tegra_sdhci_platform_data *sdhci_tegra_dt_parse_pdata(
221221 struct platform_device *pdev)
222222 {
223223 struct tegra_sdhci_platform_data *plat;
@@ -244,7 +244,7 @@ static struct tegra_sdhci_platform_data * __devinit sdhci_tegra_dt_parse_pdata( · 20 unmodified lines
244244 return plat;
245245 }
246246
247−static int __devinit sdhci_tegra_probe(struct platform_device *pdev)
247+static int sdhci_tegra_probe(struct platform_device *pdev)
248248 {
249249 const struct of_device_id *match;
250250 const struct sdhci_tegra_soc_data *soc_data;
@@ -370,7 +370,7 @@ err_no_plat: · 119 unmodified lines
370370 return rc;
371371 }
372372
373−static int __devexit sdhci_tegra_remove(struct platform_device *pdev)
373+static int sdhci_tegra_remove(struct platform_device *pdev)
374374 {
375375 struct sdhci_host *host = platform_get_drvdata(pdev);
376376 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);
@@ -407,7 +407,7 @@ static struct platform_driver sdhci_tegra_driver = { · 30 unmodified lines
407407 .pm = SDHCI_PLTFM_PMOPS,
408408 },
409409 .probe = sdhci_tegra_probe,
410− .remove = __devexit_p(sdhci_tegra_remove),
410+ .remove = sdhci_tegra_remove,
411411 };
412412
413413 module_platform_driver(sdhci_tegra_driver);
drivers/mmc/host/sh_mmcif.c+2−2
@@ -1298,7 +1298,7 @@ static void sh_mmcif_init_ocr(struct sh_mmcif_host *host) · 1297 unmodified lines
12981298 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n");
12991299 }
13001300
1301−static int __devinit sh_mmcif_probe(struct platform_device *pdev)
1301+static int sh_mmcif_probe(struct platform_device *pdev)
13021302 {
13031303 int ret = 0, irq[2];
13041304 struct mmc_host *mmc;
@@ -1424,7 +1424,7 @@ ealloch: · 119 unmodified lines
14241424 return ret;
14251425 }
14261426
1427−static int __devexit sh_mmcif_remove(struct platform_device *pdev)
1427+static int sh_mmcif_remove(struct platform_device *pdev)
14281428 {
14291429 struct sh_mmcif_host *host = platform_get_drvdata(pdev);
14301430 struct sh_mmcif_plat_data *pd = pdev->dev.platform_data;
drivers/mmc/host/sh_mobile_sdhi.c+2−2
@@ -117,7 +117,7 @@ static const struct sh_mobile_sdhi_ops sdhi_ops = { · 116 unmodified lines
117117 .cd_wakeup = sh_mobile_sdhi_cd_wakeup,
118118 };
119119
120−static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
120+static int sh_mobile_sdhi_probe(struct platform_device *pdev)
121121 {
122122 struct sh_mobile_sdhi *priv;
123123 struct tmio_mmc_data *mmc_data;
@@ -328,7 +328,7 @@ static struct platform_driver sh_mobile_sdhi_driver = { · 204 unmodified lines
328328 .of_match_table = sh_mobile_sdhi_of_match,
329329 },
330330 .probe = sh_mobile_sdhi_probe,
331− .remove = __devexit_p(sh_mobile_sdhi_remove),
331+ .remove = sh_mobile_sdhi_remove,
332332 };
333333
334334 module_platform_driver(sh_mobile_sdhi_driver);
drivers/mmc/host/tmio_mmc.c+3−3
@@ -57,7 +57,7 @@ static int tmio_mmc_resume(struct platform_device *dev) · 56 unmodified lines
5757 #define tmio_mmc_resume NULL
5858 #endif
5959
60−static int __devinit tmio_mmc_probe(struct platform_device *pdev)
60+static int tmio_mmc_probe(struct platform_device *pdev)
6161 {
6262 const struct mfd_cell *cell = mfd_get_cell(pdev);
6363 struct tmio_mmc_data *pdata;
@@ -107,7 +107,7 @@ out: · 43 unmodified lines
107107 return ret;
108108 }
109109
110−static int __devexit tmio_mmc_remove(struct platform_device *pdev)
110+static int tmio_mmc_remove(struct platform_device *pdev)
111111 {
112112 const struct mfd_cell *cell = mfd_get_cell(pdev);
113113 struct mmc_host *mmc = platform_get_drvdata(pdev);
@@ -133,7 +133,7 @@ static struct platform_driver tmio_mmc_driver = { · 19 unmodified lines
133133 .owner = THIS_MODULE,
134134 },
135135 .probe = tmio_mmc_probe,
136− .remove = __devexit_p(tmio_mmc_remove),
136+ .remove = tmio_mmc_remove,
137137 .suspend = tmio_mmc_suspend,
138138 .resume = tmio_mmc_resume,
139139 };
drivers/mmc/host/tmio_mmc_pio.c+1−1
@@ -918,7 +918,7 @@ static void tmio_mmc_init_ocr(struct tmio_mmc_host *host) · 917 unmodified lines
918918 dev_warn(mmc_dev(mmc), "Platform OCR mask is ignored\n");
919919 }
920920
921−int __devinit tmio_mmc_host_probe(struct tmio_mmc_host **host,
921+int tmio_mmc_host_probe(struct tmio_mmc_host **host,
922922 struct platform_device *pdev,
923923 struct tmio_mmc_data *pdata)
924924 {
drivers/mmc/host/via-sdmmc.c+3−3
@@ -1082,7 +1082,7 @@ static void via_init_mmc_host(struct via_crdr_mmc_host *host) · 1081 unmodified lines
10821082 msleep(1);
10831083 }
10841084
1085−static int __devinit via_sd_probe(struct pci_dev *pcidev,
1085+static int via_sd_probe(struct pci_dev *pcidev,
10861086 const struct pci_device_id *id)
10871087 {
10881088 struct mmc_host *mmc;
@@ -1176,7 +1176,7 @@ disable: · 87 unmodified lines
11761176 return ret;
11771177 }
11781178
1179−static void __devexit via_sd_remove(struct pci_dev *pcidev)
1179+static void via_sd_remove(struct pci_dev *pcidev)
11801180 {
11811181 struct via_crdr_mmc_host *sdhost = pci_get_drvdata(pcidev);
11821182 unsigned long flags;
@@ -1332,7 +1332,7 @@ static struct pci_driver via_sd_driver = { · 149 unmodified lines
13321332 .name = DRV_NAME,
13331333 .id_table = via_ids,
13341334 .probe = via_sd_probe,
1335− .remove = __devexit_p(via_sd_remove),
1335+ .remove = via_sd_remove,
13361336 .suspend = via_sd_suspend,
13371337 .resume = via_sd_resume,
13381338 };
drivers/mmc/host/wbsd.c+14−14
@@ -1196,7 +1196,7 @@ static irqreturn_t wbsd_irq(int irq, void *dev_id) · 1195 unmodified lines
11961196 * Allocate/free MMC structure.
11971197 */
11981198
1199−static int __devinit wbsd_alloc_mmc(struct device *dev)
1199+static int wbsd_alloc_mmc(struct device *dev)
12001200 {
12011201 struct mmc_host *mmc;
12021202 struct wbsd_host *host;
@@ -1288,7 +1288,7 @@ static void wbsd_free_mmc(struct device *dev) · 85 unmodified lines
12881288 * Scan for known chip id:s
12891289 */
12901290
1291−static int __devinit wbsd_scan(struct wbsd_host *host)
1291+static int wbsd_scan(struct wbsd_host *host)
12921292 {
12931293 int i, j, k;
12941294 int id;
@@ -1344,7 +1344,7 @@ static int __devinit wbsd_scan(struct wbsd_host *host) · 49 unmodified lines
13441344 * Allocate/free io port ranges
13451345 */
13461346
1347−static int __devinit wbsd_request_region(struct wbsd_host *host, int base)
1347+static int wbsd_request_region(struct wbsd_host *host, int base)
13481348 {
13491349 if (base & 0x7)
13501350 return -EINVAL;
@@ -1374,7 +1374,7 @@ static void wbsd_release_regions(struct wbsd_host *host) · 23 unmodified lines
13741374 * Allocate/free DMA port and buffer
13751375 */
13761376
1377−static void __devinit wbsd_request_dma(struct wbsd_host *host, int dma)
1377+static void wbsd_request_dma(struct wbsd_host *host, int dma)
13781378 {
13791379 if (dma < 0)
13801380 return;
@@ -1452,7 +1452,7 @@ static void wbsd_release_dma(struct wbsd_host *host) · 71 unmodified lines
14521452 * Allocate/free IRQ.
14531453 */
14541454
1455−static int __devinit wbsd_request_irq(struct wbsd_host *host, int irq)
1455+static int wbsd_request_irq(struct wbsd_host *host, int irq)
14561456 {
14571457 int ret;
14581458
@@ -1502,7 +1502,7 @@ static void wbsd_release_irq(struct wbsd_host *host) · 43 unmodified lines
15021502 * Allocate all resources for the host.
15031503 */
15041504
1505−static int __devinit wbsd_request_resources(struct wbsd_host *host,
1505+static int wbsd_request_resources(struct wbsd_host *host,
15061506 int base, int irq, int dma)
15071507 {
15081508 int ret;
@@ -1644,7 +1644,7 @@ static void wbsd_chip_poweroff(struct wbsd_host *host) · 135 unmodified lines
16441644 * *
16451645 \*****************************************************************************/
16461646
1647−static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma,
1647+static int wbsd_init(struct device *dev, int base, int irq, int dma,
16481648 int pnp)
16491649 {
16501650 struct wbsd_host *host = NULL;
@@ -1735,7 +1735,7 @@ static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma, · 84 unmodified lines
17351735 return 0;
17361736 }
17371737
1738−static void __devexit wbsd_shutdown(struct device *dev, int pnp)
1738+static void wbsd_shutdown(struct device *dev, int pnp)
17391739 {
17401740 struct mmc_host *mmc = dev_get_drvdata(dev);
17411741 struct wbsd_host *host;
@@ -1762,13 +1762,13 @@ static void __devexit wbsd_shutdown(struct device *dev, int pnp) · 20 unmodified lines
17621762 * Non-PnP
17631763 */
17641764
1765−static int __devinit wbsd_probe(struct platform_device *dev)
1765+static int wbsd_probe(struct platform_device *dev)
17661766 {
17671767 /* Use the module parameters for resources */
17681768 return wbsd_init(&dev->dev, param_io, param_irq, param_dma, 0);
17691769 }
17701770
1771−static int __devexit wbsd_remove(struct platform_device *dev)
1771+static int wbsd_remove(struct platform_device *dev)
17721772 {
17731773 wbsd_shutdown(&dev->dev, 0);
17741774
@@ -1781,7 +1781,7 @@ static int __devexit wbsd_remove(struct platform_device *dev) · 6 unmodified lines
17811781
17821782 #ifdef CONFIG_PNP
17831783
1784−static int __devinit
1784+static int
17851785 wbsd_pnp_probe(struct pnp_dev *pnpdev, const struct pnp_device_id *dev_id)
17861786 {
17871787 int io, irq, dma;
@@ -1801,7 +1801,7 @@ wbsd_pnp_probe(struct pnp_dev *pnpdev, const struct pnp_device_id *dev_id) · 13 unmodified lines
18011801 return wbsd_init(&pnpdev->dev, io, irq, dma, 1);
18021802 }
18031803
1804−static void __devexit wbsd_pnp_remove(struct pnp_dev *dev)
1804+static void wbsd_pnp_remove(struct pnp_dev *dev)
18051805 {
18061806 wbsd_shutdown(&dev->dev, 1);
18071807 }
@@ -1941,7 +1941,7 @@ static struct platform_device *wbsd_device; · 133 unmodified lines
19411941
19421942 static struct platform_driver wbsd_driver = {
19431943 .probe = wbsd_probe,
1944− .remove = __devexit_p(wbsd_remove),
1944+ .remove = wbsd_remove,
19451945
19461946 .suspend = wbsd_platform_suspend,
19471947 .resume = wbsd_platform_resume,
@@ -1957,7 +1957,7 @@ static struct pnp_driver wbsd_pnp_driver = { · 9 unmodified lines
19571957 .name = DRIVER_NAME,
19581958 .id_table = pnp_dev_table,
19591959 .probe = wbsd_pnp_probe,
1960− .remove = __devexit_p(wbsd_pnp_remove),
1960+ .remove = wbsd_pnp_remove,
19611961
19621962 .suspend = wbsd_pnp_suspend,
19631963 .resume = wbsd_pnp_resume,
drivers/pci/Makefile+1−6
@@ -4,7 +4,7 @@ · 3 unmodified lines
44
55 obj-y += access.o bus.o probe.o host-bridge.o remove.o pci.o \
66 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
7− irq.o vpd.o
7+ irq.o vpd.o setup-bus.o
88 obj-$(CONFIG_PROC_FS) += proc.o
99 obj-$(CONFIG_SYSFS) += slot.o
1010
@@ -15,8 +15,6 @@ obj-$(CONFIG_PCIEPORTBUS) += pcie/ · 4 unmodified lines
1515
1616 obj-$(CONFIG_PCI_IOAPIC) += ioapic.o
1717
18−obj-$(CONFIG_HOTPLUG) += hotplug.o
19−
2018 # Build the PCI Hotplug drivers if we were asked to
2119 obj-$(CONFIG_HOTPLUG_PCI) += hotplug/
2220 ifdef CONFIG_HOTPLUG_PCI
@@ -60,9 +58,6 @@ obj-$(CONFIG_ACPI) += pci-acpi.o · 37 unmodified lines
6058 # SMBIOS provided firmware instance and labels
6159 obj-$(CONFIG_PCI_LABEL) += pci-label.o
6260
63−# Cardbus & CompactPCI use setup-bus
64−obj-$(CONFIG_HOTPLUG) += setup-bus.o
65−
6661 obj-$(CONFIG_PCI_SYSCALL) += syscall.o
6762
6863 obj-$(CONFIG_PCI_STUB) += pci-stub.o
drivers/pci/hotplug.c+0−37
@@ -1,37 +0,0 @@
1−#include <linux/kernel.h>
2−#include <linux/pci.h>
3−#include <linux/module.h>
4−#include "pci.h"
5−
6−int pci_uevent(struct device *dev, struct kobj_uevent_env *env)
7−{
8− struct pci_dev *pdev;
9−
10− if (!dev)
11− return -ENODEV;
12−
13− pdev = to_pci_dev(dev);
14− if (!pdev)
15− return -ENODEV;
16−
17− if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class))
18− return -ENOMEM;
19−
20− if (add_uevent_var(env, "PCI_ID=%04X:%04X", pdev->vendor, pdev->device))
21− return -ENOMEM;
22−
23− if (add_uevent_var(env, "PCI_SUBSYS_ID=%04X:%04X", pdev->subsystem_vendor,
24− pdev->subsystem_device))
25− return -ENOMEM;
26−
27− if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev)))
28− return -ENOMEM;
29−
30− if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02x",
31− pdev->vendor, pdev->device,
32− pdev->subsystem_vendor, pdev->subsystem_device,
33− (u8)(pdev->class >> 16), (u8)(pdev->class >> 8),
34− (u8)(pdev->class)))
35− return -ENOMEM;
36− return 0;
37−}
drivers/pci/hotplug/cpcihp_zt5550.c+2−2
@@ -271,7 +271,7 @@ init_hc_error: · 270 unmodified lines
271271
272272 }
273273
274−static void __devexit zt5550_hc_remove_one(struct pci_dev *pdev)
274+static void zt5550_hc_remove_one(struct pci_dev *pdev)
275275 {
276276 cpci_hp_stop();
277277 cpci_hp_unregister_bus(bus0);
@@ -290,7 +290,7 @@ static struct pci_driver zt5550_hc_driver = { · 12 unmodified lines
290290 .name = "zt5550_hc",
291291 .id_table = zt5550_hc_pci_tbl,
292292 .probe = zt5550_hc_init_one,
293− .remove = __devexit_p(zt5550_hc_remove_one),
293+ .remove = zt5550_hc_remove_one,
294294 };
295295
296296 static int __init zt5550_init(void)
drivers/pci/ioapic.c+3−3
@@ -27,7 +27,7 @@ struct ioapic { · 26 unmodified lines
2727 u32 gsi_base;
2828 };
2929
30−static int __devinit ioapic_probe(struct pci_dev *dev, const struct pci_device_id *ent)
30+static int ioapic_probe(struct pci_dev *dev, const struct pci_device_id *ent)
3131 {
3232 acpi_handle handle;
3333 acpi_status status;
@@ -88,7 +88,7 @@ exit_free: · 54 unmodified lines
8888 return -ENODEV;
8989 }
9090
91−static void __devexit ioapic_remove(struct pci_dev *dev)
91+static void ioapic_remove(struct pci_dev *dev)
9292 {
9393 struct ioapic *ioapic = pci_get_drvdata(dev);
9494
@@ -110,7 +110,7 @@ static struct pci_driver ioapic_driver = { · 15 unmodified lines
110110 .name = "ioapic",
111111 .id_table = ioapic_devices,
112112 .probe = ioapic_probe,
113− .remove = __devexit_p(ioapic_remove),
113+ .remove = ioapic_remove,
114114 };
115115
116116 static int __init ioapic_init(void)
drivers/pci/pci-driver.c+30−12
@@ -89,10 +89,6 @@ static void pci_free_dynids(struct pci_driver *drv) · 88 unmodified lines
8989 spin_unlock(&drv->dynids.lock);
9090 }
9191
92−/*
93− * Dynamic device ID manipulation via sysfs is disabled for !CONFIG_HOTPLUG
94− */
95−#ifdef CONFIG_HOTPLUG
9692 /**
9793 * store_new_id - sysfs frontend to pci_add_dynid()
9894 * @driver: target device driver
@@ -191,10 +187,6 @@ static struct driver_attribute pci_drv_attrs[] = { · 92 unmodified lines
191187 __ATTR_NULL,
192188 };
193189
194−#else
195−#define pci_drv_attrs NULL
196−#endif /* CONFIG_HOTPLUG */
197−
198190 /**
199191 * pci_match_id - See if a pci device matches a given pci_id table
200192 * @ids: array of PCI device id structures to search in
@@ -1223,12 +1215,38 @@ void pci_dev_put(struct pci_dev *dev) · 1022 unmodified lines
12231215 put_device(&dev->dev);
12241216 }
12251217
1226−#ifndef CONFIG_HOTPLUG
1227−int pci_uevent(struct device *dev, struct kobj_uevent_env *env)
1218+static int pci_uevent(struct device *dev, struct kobj_uevent_env *env)
12281219 {
1229− return -ENODEV;
1220+ struct pci_dev *pdev;
1221+
1222+ if (!dev)
1223+ return -ENODEV;
1224+
1225+ pdev = to_pci_dev(dev);
1226+ if (!pdev)
1227+ return -ENODEV;
1228+
1229+ if (add_uevent_var(env, "PCI_CLASS=%04X", pdev->class))
1230+ return -ENOMEM;
1231+
1232+ if (add_uevent_var(env, "PCI_ID=%04X:%04X", pdev->vendor, pdev->device))
1233+ return -ENOMEM;
1234+
1235+ if (add_uevent_var(env, "PCI_SUBSYS_ID=%04X:%04X", pdev->subsystem_vendor,
1236+ pdev->subsystem_device))
1237+ return -ENOMEM;
1238+
1239+ if (add_uevent_var(env, "PCI_SLOT_NAME=%s", pci_name(pdev)))
1240+ return -ENOMEM;
1241+
1242+ if (add_uevent_var(env, "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02x",
1243+ pdev->vendor, pdev->device,
1244+ pdev->subsystem_vendor, pdev->subsystem_device,
1245+ (u8)(pdev->class >> 16), (u8)(pdev->class >> 8),
1246+ (u8)(pdev->class)))
1247+ return -ENOMEM;
1248+ return 0;
12301249 }
1231−#endif
12321250
12331251 struct bus_type pci_bus_type = {
12341252 .name = "pci",
drivers/pci/pci-sysfs.c+0−7
@@ -284,7 +284,6 @@ msi_bus_store(struct device *dev, struct device_attribute *attr, · 283 unmodified lines
284284 return count;
285285 }
286286
287−#ifdef CONFIG_HOTPLUG
288287 static DEFINE_MUTEX(pci_remove_rescan_mutex);
289288 static ssize_t bus_rescan_store(struct bus_type *bus, const char *buf,
290289 size_t count)
@@ -377,8 +376,6 @@ dev_bus_rescan_store(struct device *dev, struct device_attribute *attr, · 86 unmodified lines
377376 return count;
378377 }
379378
380−#endif
381−
382379 #if defined(CONFIG_PM_RUNTIME) && defined(CONFIG_ACPI)
383380 static ssize_t d3cold_allowed_store(struct device *dev,
384381 struct device_attribute *attr,
@@ -424,10 +421,8 @@ struct device_attribute pci_dev_attrs[] = { · 39 unmodified lines
424421 __ATTR(broken_parity_status,(S_IRUGO|S_IWUSR),
425422 broken_parity_status_show,broken_parity_status_store),
426423 __ATTR(msi_bus, 0644, msi_bus_show, msi_bus_store),
427−#ifdef CONFIG_HOTPLUG
428424 __ATTR(remove, (S_IWUSR|S_IWGRP), NULL, remove_store),
429425 __ATTR(rescan, (S_IWUSR|S_IWGRP), NULL, dev_rescan_store),
430−#endif
431426 #if defined(CONFIG_PM_RUNTIME) && defined(CONFIG_ACPI)
432427 __ATTR(d3cold_allowed, 0644, d3cold_allowed_show, d3cold_allowed_store),
433428 #endif
@@ -435,9 +430,7 @@ struct device_attribute pci_dev_attrs[] = { · 1 unmodified line
435430 };
436431
437432 struct device_attribute pcibus_dev_attrs[] = {
438−#ifdef CONFIG_HOTPLUG
439433 __ATTR(rescan, (S_IWUSR|S_IWGRP), NULL, dev_bus_rescan_store),
440−#endif
441434 __ATTR(cpuaffinity, S_IRUGO, pci_bus_show_cpumaskaffinity, NULL),
442435 __ATTR(cpulistaffinity, S_IRUGO, pci_bus_show_cpulistaffinity, NULL),
443436 __ATTR_NULL,
drivers/pci/pci.c+2−2
@@ -86,7 +86,7 @@ enum pcie_bus_config_types pcie_bus_config = PCIE_BUS_TUNE_OFF; · 85 unmodified lines
8686 * the dfl or actual value as it sees fit. Don't forget this is
8787 * measured in 32-bit words, not bytes.
8888 */
89−u8 pci_dfl_cache_line_size __devinitdata = L1_CACHE_BYTES >> 2;
89+u8 pci_dfl_cache_line_size = L1_CACHE_BYTES >> 2;
9090 u8 pci_cache_line_size;
9191
9292 /*
@@ -3857,7 +3857,7 @@ static int __init pci_resource_alignment_sysfs_init(void) · 3764 unmodified lines
38573857
38583858 late_initcall(pci_resource_alignment_sysfs_init);
38593859
3860−static void __devinit pci_no_domains(void)
3860+static void pci_no_domains(void)
38613861 {
38623862 #ifdef CONFIG_PCI_DOMAINS
38633863 pci_domains_supported = 0;
drivers/pci/pci.h+0−5
@@ -8,7 +8,6 @@ · 7 unmodified lines
88
99 /* Functions internal to the PCI core code */
1010
11−extern int pci_uevent(struct device *dev, struct kobj_uevent_env *env);
1211 extern int pci_create_sysfs_dev_files(struct pci_dev *pdev);
1312 extern void pci_remove_sysfs_dev_files(struct pci_dev *pdev);
1413 #if !defined(CONFIG_DMI) && !defined(CONFIG_ACPI)
@@ -159,11 +158,7 @@ static inline int pci_no_d1d2(struct pci_dev *dev) · 144 unmodified lines
159158 }
160159 extern struct device_attribute pci_dev_attrs[];
161160 extern struct device_attribute pcibus_dev_attrs[];
162−#ifdef CONFIG_HOTPLUG
163161 extern struct bus_attribute pci_bus_attrs[];
164−#else
165−#define pci_bus_attrs NULL
166−#endif
167162
168163
169164 /**
drivers/pci/pcie/aer/aerdrv.c+2−2
@@ -41,7 +41,7 @@ MODULE_AUTHOR(DRIVER_AUTHOR); · 40 unmodified lines
4141 MODULE_DESCRIPTION(DRIVER_DESC);
4242 MODULE_LICENSE("GPL");
4343
44−static int __devinit aer_probe(struct pcie_device *dev);
44+static int aer_probe(struct pcie_device *dev);
4545 static void aer_remove(struct pcie_device *dev);
4646 static pci_ers_result_t aer_error_detected(struct pci_dev *dev,
4747 enum pci_channel_state error);
@@ -300,7 +300,7 @@ static void aer_remove(struct pcie_device *dev) · 252 unmodified lines
300300 *
301301 * Invoked when PCI Express bus loads AER service driver.
302302 */
303−static int __devinit aer_probe(struct pcie_device *dev)
303+static int aer_probe(struct pcie_device *dev)
304304 {
305305 int status;
306306 struct aer_rpc *rpc;
drivers/pci/pcie/portdrv_pci.c+1−1
@@ -182,7 +182,7 @@ static const struct pci_device_id port_runtime_pm_black_list[] = { · 181 unmodified lines
182182 * this port device.
183183 *
184184 */
185−static int __devinit pcie_portdrv_probe(struct pci_dev *dev,
185+static int pcie_portdrv_probe(struct pci_dev *dev,
186186 const struct pci_device_id *id)
187187 {
188188 int status;
drivers/pci/probe.c+9−11
@@ -305,7 +305,7 @@ static void pci_read_bases(struct pci_dev *dev, unsigned int howmany, int rom) · 304 unmodified lines
305305 }
306306 }
307307
308−static void __devinit pci_read_bridge_io(struct pci_bus *child)
308+static void pci_read_bridge_io(struct pci_bus *child)
309309 {
310310 struct pci_dev *dev = child->self;
311311 u8 io_base_lo, io_limit_lo;
@@ -345,7 +345,7 @@ static void __devinit pci_read_bridge_io(struct pci_bus *child) · 33 unmodified lines
345345 }
346346 }
347347
348−static void __devinit pci_read_bridge_mmio(struct pci_bus *child)
348+static void pci_read_bridge_mmio(struct pci_bus *child)
349349 {
350350 struct pci_dev *dev = child->self;
351351 u16 mem_base_lo, mem_limit_lo;
@@ -367,7 +367,7 @@ static void __devinit pci_read_bridge_mmio(struct pci_bus *child) · 15 unmodified lines
367367 }
368368 }
369369
370−static void __devinit pci_read_bridge_mmio_pref(struct pci_bus *child)
370+static void pci_read_bridge_mmio_pref(struct pci_bus *child)
371371 {
372372 struct pci_dev *dev = child->self;
373373 u16 mem_base_lo, mem_limit_lo;
@@ -417,7 +417,7 @@ static void __devinit pci_read_bridge_mmio_pref(struct pci_bus *child) · 43 unmodified lines
417417 }
418418 }
419419
420−void __devinit pci_read_bridge_bases(struct pci_bus *child)
420+void pci_read_bridge_bases(struct pci_bus *child)
421421 {
422422 struct pci_dev *dev = child->self;
423423 struct resource *res;
@@ -705,7 +705,7 @@ static void pci_fixup_parent_subordinate_busnr(struct pci_bus *child, int max) · 281 unmodified lines
705705 * them, we proceed to assigning numbers to the remaining buses in
706706 * order to avoid overlaps between old and new bus numbers.
707707 */
708−int __devinit pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, int pass)
708+int pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, int pass)
709709 {
710710 struct pci_bus *child;
711711 int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS);
@@ -1586,7 +1586,7 @@ void pcie_bus_configure_settings(struct pci_bus *bus, u8 mpss) · 874 unmodified lines
15861586 }
15871587 EXPORT_SYMBOL_GPL(pcie_bus_configure_settings);
15881588
1589−unsigned int __devinit pci_scan_child_bus(struct pci_bus *bus)
1589+unsigned int pci_scan_child_bus(struct pci_bus *bus)
15901590 {
15911591 unsigned int devfn, pass, max = bus->busn_res.start;
15921592 struct pci_dev *dev;
@@ -1790,7 +1790,7 @@ void pci_bus_release_busn_res(struct pci_bus *b) · 197 unmodified lines
17901790 res, ret ? "can not be" : "is");
17911791 }
17921792
1793−struct pci_bus * __devinit pci_scan_root_bus(struct device *parent, int bus,
1793+struct pci_bus *pci_scan_root_bus(struct device *parent, int bus,
17941794 struct pci_ops *ops, void *sysdata, struct list_head *resources)
17951795 {
17961796 struct pci_host_bridge_window *window;
@@ -1826,7 +1826,7 @@ struct pci_bus * __devinit pci_scan_root_bus(struct device *parent, int bus, · 29 unmodified lines
18261826 EXPORT_SYMBOL(pci_scan_root_bus);
18271827
18281828 /* Deprecated; use pci_scan_root_bus() instead */
1829−struct pci_bus * __devinit pci_scan_bus_parented(struct device *parent,
1829+struct pci_bus *pci_scan_bus_parented(struct device *parent,
18301830 int bus, struct pci_ops *ops, void *sysdata)
18311831 {
18321832 LIST_HEAD(resources);
@@ -1844,7 +1844,7 @@ struct pci_bus * __devinit pci_scan_bus_parented(struct device *parent, · 11 unmodified lines
18441844 }
18451845 EXPORT_SYMBOL(pci_scan_bus_parented);
18461846
1847−struct pci_bus * __devinit pci_scan_bus(int bus, struct pci_ops *ops,
1847+struct pci_bus *pci_scan_bus(int bus, struct pci_ops *ops,
18481848 void *sysdata)
18491849 {
18501850 LIST_HEAD(resources);
@@ -1864,7 +1864,6 @@ struct pci_bus * __devinit pci_scan_bus(int bus, struct pci_ops *ops, · 13 unmodified lines
18641864 }
18651865 EXPORT_SYMBOL(pci_scan_bus);
18661866
1867−#ifdef CONFIG_HOTPLUG
18681867 /**
18691868 * pci_rescan_bus_bridge_resize - scan a PCI bus for devices.
18701869 * @bridge: PCI bridge for the bus to scan
@@ -1894,7 +1893,6 @@ EXPORT_SYMBOL(pci_add_new_bus); · 23 unmodified lines
18941893 EXPORT_SYMBOL(pci_scan_slot);
18951894 EXPORT_SYMBOL(pci_scan_bridge);
18961895 EXPORT_SYMBOL_GPL(pci_scan_child_bus);
1897−#endif
18981896
18991897 static int __init pci_sort_bf_cmp(const struct device *d_a, const struct device *d_b)
19001898 {
drivers/pci/quirks.c+66−66
@@ -37,7 +37,7 @@ · 36 unmodified lines
3737 * key system devices. For devices that need to have mmio decoding always-on,
3838 * we need to set the dev->mmio_always_on bit.
3939 */
40−static void __devinit quirk_mmio_always_on(struct pci_dev *dev)
40+static void quirk_mmio_always_on(struct pci_dev *dev)
4141 {
4242 dev->mmio_always_on = 1;
4343 }
@@ -48,7 +48,7 @@ DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_ANY_ID, PCI_ANY_ID, · 4 unmodified lines
4848 * Mark this device with a broken_parity_status, to allow
4949 * PCI scanning code to "skip" this now blacklisted device.
5050 */
51−static void __devinit quirk_mellanox_tavor(struct pci_dev *dev)
51+static void quirk_mellanox_tavor(struct pci_dev *dev)
5252 {
5353 dev->broken_parity_status = 1; /* This device gives false positives */
5454 }
@@ -83,7 +83,7 @@ DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82441, quirk_p · 28 unmodified lines
8383 This appears to be BIOS not version dependent. So presumably there is a
8484 chipset level fix */
8585
86−static void __devinit quirk_isa_dma_hangs(struct pci_dev *dev)
86+static void quirk_isa_dma_hangs(struct pci_dev *dev)
8787 {
8888 if (!isa_dma_bridge_buggy) {
8989 isa_dma_bridge_buggy=1;
@@ -106,7 +106,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_CBUS_3, quirk_isa_d · 16 unmodified lines
106106 * Intel NM10 "TigerPoint" LPC PM1a_STS.BM_STS must be clear
107107 * for some HT machines to use C4 w/o hanging.
108108 */
109−static void __devinit quirk_tigerpoint_bm_sts(struct pci_dev *dev)
109+static void quirk_tigerpoint_bm_sts(struct pci_dev *dev)
110110 {
111111 u32 pmbase;
112112 u16 pm1a;
@@ -125,7 +125,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TGP_LPC, quirk · 12 unmodified lines
125125 /*
126126 * Chipsets where PCI->PCI transfers vanish or hang
127127 */
128−static void __devinit quirk_nopcipci(struct pci_dev *dev)
128+static void quirk_nopcipci(struct pci_dev *dev)
129129 {
130130 if ((pci_pci_problems & PCIPCI_FAIL)==0) {
131131 dev_info(&dev->dev, "Disabling direct PCI/PCI transfers\n");
@@ -135,7 +135,7 @@ static void __devinit quirk_nopcipci(struct pci_dev *dev) · 3 unmodified lines
135135 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_5597, quirk_nopcipci);
136136 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_496, quirk_nopcipci);
137137
138−static void __devinit quirk_nopciamd(struct pci_dev *dev)
138+static void quirk_nopciamd(struct pci_dev *dev)
139139 {
140140 u8 rev;
141141 pci_read_config_byte(dev, 0x08, &rev);
@@ -150,7 +150,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8151_0, quirk_nopci · 8 unmodified lines
150150 /*
151151 * Triton requires workarounds to be used by the drivers
152152 */
153−static void __devinit quirk_triton(struct pci_dev *dev)
153+static void quirk_triton(struct pci_dev *dev)
154154 {
155155 if ((pci_pci_problems&PCIPCI_TRITON)==0) {
156156 dev_info(&dev->dev, "Limiting direct PCI/PCI transfers\n");
@@ -229,7 +229,7 @@ DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8361, quirk_viala · 72 unmodified lines
229229 /*
230230 * VIA Apollo VP3 needs ETBF on BT848/878
231231 */
232−static void __devinit quirk_viaetbf(struct pci_dev *dev)
232+static void quirk_viaetbf(struct pci_dev *dev)
233233 {
234234 if ((pci_pci_problems&PCIPCI_VIAETBF)==0) {
235235 dev_info(&dev->dev, "Limiting direct PCI/PCI transfers\n");
@@ -238,7 +238,7 @@ static void __devinit quirk_viaetbf(struct pci_dev *dev) · 2 unmodified lines
238238 }
239239 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C597_0, quirk_viaetbf);
240240
241−static void __devinit quirk_vsfx(struct pci_dev *dev)
241+static void quirk_vsfx(struct pci_dev *dev)
242242 {
243243 if ((pci_pci_problems&PCIPCI_VSFX)==0) {
244244 dev_info(&dev->dev, "Limiting direct PCI/PCI transfers\n");
@@ -253,7 +253,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C576, quirk_vsfx) · 8 unmodified lines
253253 * workaround applied too
254254 * [Info kindly provided by ALi]
255255 */
256−static void __devinit quirk_alimagik(struct pci_dev *dev)
256+static void quirk_alimagik(struct pci_dev *dev)
257257 {
258258 if ((pci_pci_problems&PCIPCI_ALIMAGIK)==0) {
259259 dev_info(&dev->dev, "Limiting direct PCI/PCI transfers\n");
@@ -267,7 +267,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1651, quirk_alimag · 7 unmodified lines
267267 * Natoma has some interesting boundary conditions with Zoran stuff
268268 * at least
269269 */
270−static void __devinit quirk_natoma(struct pci_dev *dev)
270+static void quirk_natoma(struct pci_dev *dev)
271271 {
272272 if ((pci_pci_problems&PCIPCI_NATOMA)==0) {
273273 dev_info(&dev->dev, "Limiting direct PCI/PCI transfers\n");
@@ -285,7 +285,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443BX_2, qu · 11 unmodified lines
285285 * This chip can cause PCI parity errors if config register 0xA0 is read
286286 * while DMAs are occurring.
287287 */
288−static void __devinit quirk_citrine(struct pci_dev *dev)
288+static void quirk_citrine(struct pci_dev *dev)
289289 {
290290 dev->cfg_size = 0xA0;
291291 }
@@ -295,7 +295,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_CITRINE, quirk_cit · 3 unmodified lines
295295 * S3 868 and 968 chips report region size equal to 32M, but they decode 64M.
296296 * If it's needed, re-allocate the region.
297297 */
298−static void __devinit quirk_s3_64M(struct pci_dev *dev)
298+static void quirk_s3_64M(struct pci_dev *dev)
299299 {
300300 struct resource *r = &dev->resource[0];
301301
@@ -313,7 +313,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_S3, PCI_DEVICE_ID_S3_968, quirk_s3_64M); · 11 unmodified lines
313313 * BAR0 should be 8 bytes; instead, it may be set to something like 8k
314314 * (which conflicts w/ BAR1's memory range).
315315 */
316−static void __devinit quirk_cs5536_vsa(struct pci_dev *dev)
316+static void quirk_cs5536_vsa(struct pci_dev *dev)
317317 {
318318 if (pci_resource_len(dev, 0) != 8) {
319319 struct resource *res = &dev->resource[0];
@@ -324,7 +324,7 @@ static void __devinit quirk_cs5536_vsa(struct pci_dev *dev) · 4 unmodified lines
324324 }
325325 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA, quirk_cs5536_vsa);
326326
327−static void __devinit quirk_io_region(struct pci_dev *dev, unsigned region,
327+static void quirk_io_region(struct pci_dev *dev, unsigned region,
328328 unsigned size, int nr, const char *name)
329329 {
330330 region &= ~(size-1);
@@ -352,7 +352,7 @@ static void __devinit quirk_io_region(struct pci_dev *dev, unsigned region, · 21 unmodified lines
352352 * ATI Northbridge setups MCE the processor if you even
353353 * read somewhere between 0x3b0->0x3bb or read 0x3d3
354354 */
355−static void __devinit quirk_ati_exploding_mce(struct pci_dev *dev)
355+static void quirk_ati_exploding_mce(struct pci_dev *dev)
356356 {
357357 dev_info(&dev->dev, "ATI Northbridge, reserving I/O ports 0x3b0 to 0x3bb\n");
358358 /* Mae rhaid i ni beidio ag edrych ar y lleoliadiau I/O hyn */
@@ -372,7 +372,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RS100, quirk_ati_ · 13 unmodified lines
372372 * 0xE0 (64 bytes of ACPI registers)
373373 * 0xE2 (32 bytes of SMB registers)
374374 */
375−static void __devinit quirk_ali7101_acpi(struct pci_dev *dev)
375+static void quirk_ali7101_acpi(struct pci_dev *dev)
376376 {
377377 u16 region;
378378
@@ -440,7 +440,7 @@ static void piix4_mem_quirk(struct pci_dev *dev, const char *name, unsigned int · 61 unmodified lines
440440 * 0x90 (16 bytes of SMB registers)
441441 * and a few strange programmable PIIX4 device resources.
442442 */
443−static void __devinit quirk_piix4_acpi(struct pci_dev *dev)
443+static void quirk_piix4_acpi(struct pci_dev *dev)
444444 {
445445 u32 region, res_a;
446446
@@ -489,7 +489,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82443MX_3, qui · 42 unmodified lines
489489 * 0x40 (128 bytes of ACPI, GPIO & TCO registers)
490490 * 0x58 (64 bytes of GPIO I/O space)
491491 */
492−static void __devinit quirk_ich4_lpc_acpi(struct pci_dev *dev)
492+static void quirk_ich4_lpc_acpi(struct pci_dev *dev)
493493 {
494494 u32 region;
495495 u8 enable;
@@ -531,7 +531,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801DB_12, · 35 unmodified lines
531531 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801EB_0, quirk_ich4_lpc_acpi);
532532 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB_1, quirk_ich4_lpc_acpi);
533533
534−static void __devinit ich6_lpc_acpi_gpio(struct pci_dev *dev)
534+static void ich6_lpc_acpi_gpio(struct pci_dev *dev)
535535 {
536536 u32 region;
537537 u8 enable;
@@ -555,7 +555,7 @@ static void __devinit ich6_lpc_acpi_gpio(struct pci_dev *dev) · 17 unmodified lines
555555 }
556556 }
557557
558−static void __devinit ich6_lpc_generic_decode(struct pci_dev *dev, unsigned reg, const char *name, int dynsize)
558+static void ich6_lpc_generic_decode(struct pci_dev *dev, unsigned reg, const char *name, int dynsize)
559559 {
560560 u32 val;
561561 u32 size, base;
@@ -583,7 +583,7 @@ static void __devinit ich6_lpc_generic_decode(struct pci_dev *dev, unsigned reg, · 21 unmodified lines
583583 dev_info(&dev->dev, "%s PIO at %04x-%04x\n", name, base, base+size-1);
584584 }
585585
586−static void __devinit quirk_ich6_lpc(struct pci_dev *dev)
586+static void quirk_ich6_lpc(struct pci_dev *dev)
587587 {
588588 /* Shared ACPI/GPIO decode with all ICH6+ */
589589 ich6_lpc_acpi_gpio(dev);
@@ -595,7 +595,7 @@ static void __devinit quirk_ich6_lpc(struct pci_dev *dev) · 5 unmodified lines
595595 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_0, quirk_ich6_lpc);
596596 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_1, quirk_ich6_lpc);
597597
598−static void __devinit ich7_lpc_generic_decode(struct pci_dev *dev, unsigned reg, const char *name)
598+static void ich7_lpc_generic_decode(struct pci_dev *dev, unsigned reg, const char *name)
599599 {
600600 u32 val;
601601 u32 mask, base;
@@ -619,7 +619,7 @@ static void __devinit ich7_lpc_generic_decode(struct pci_dev *dev, unsigned reg, · 17 unmodified lines
619619 }
620620
621621 /* ICH7-10 has the same common LPC generic IO decode registers */
622−static void __devinit quirk_ich7_lpc(struct pci_dev *dev)
622+static void quirk_ich7_lpc(struct pci_dev *dev)
623623 {
624624 /* We share the common ACPI/GPIO decode with ICH6 */
625625 ich6_lpc_acpi_gpio(dev);
@@ -648,7 +648,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_1, qui · 22 unmodified lines
648648 * VIA ACPI: One IO region pointed to by longword at
649649 * 0x48 or 0x20 (256 bytes of ACPI registers)
650650 */
651−static void __devinit quirk_vt82c586_acpi(struct pci_dev *dev)
651+static void quirk_vt82c586_acpi(struct pci_dev *dev)
652652 {
653653 u32 region;
654654
@@ -666,7 +666,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3, quirk_vt · 11 unmodified lines
666666 * 0x70 (128 bytes of hardware monitoring register)
667667 * 0x90 (16 bytes of SMB registers)
668668 */
669−static void __devinit quirk_vt82c686_acpi(struct pci_dev *dev)
669+static void quirk_vt82c686_acpi(struct pci_dev *dev)
670670 {
671671 u16 hm;
672672 u32 smb;
@@ -688,7 +688,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4, quirk_vt · 15 unmodified lines
688688 * 0x88 (128 bytes of power management registers)
689689 * 0xd0 (16 bytes of SMB registers)
690690 */
691−static void __devinit quirk_vt8235_acpi(struct pci_dev *dev)
691+static void quirk_vt8235_acpi(struct pci_dev *dev)
692692 {
693693 u16 pm, smb;
694694
@@ -706,7 +706,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8235, quirk_vt8235 · 11 unmodified lines
706706 * TI XIO2000a PCIe-PCI Bridge erroneously reports it supports fast back-to-back:
707707 * Disable fast back-to-back on the secondary bus segment
708708 */
709−static void __devinit quirk_xio2000a(struct pci_dev *dev)
709+static void quirk_xio2000a(struct pci_dev *dev)
710710 {
711711 struct pci_dev *pdev;
712712 u16 command;
@@ -780,7 +780,7 @@ DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8237, quirk · 67 unmodified lines
780780 * noapic specified. For the moment we assume it's the erratum. We may be wrong
781781 * of course. However the advice is demonstrably good even if so..
782782 */
783−static void __devinit quirk_amd_ioapic(struct pci_dev *dev)
783+static void quirk_amd_ioapic(struct pci_dev *dev)
784784 {
785785 if (dev->revision >= 0x02) {
786786 dev_warn(&dev->dev, "I/O APIC: AMD Erratum #22 may be present. In the event of instability try\n");
@@ -789,7 +789,7 @@ static void __devinit quirk_amd_ioapic(struct pci_dev *dev) · 2 unmodified lines
789789 }
790790 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_VIPER_7410, quirk_amd_ioapic);
791791
792−static void __devinit quirk_ioapic_rmw(struct pci_dev *dev)
792+static void quirk_ioapic_rmw(struct pci_dev *dev)
793793 {
794794 if (dev->devfn == 0 && dev->bus->number == 0)
795795 sis_apic_bug = 1;
@@ -801,7 +801,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SI, PCI_ANY_ID, quirk_ioapic_rmw); · 5 unmodified lines
801801 * Some settings of MMRBC can lead to data corruption so block changes.
802802 * See AMD 8131 HyperTransport PCI-X Tunnel Revision Guide
803803 */
804−static void __devinit quirk_amd_8131_mmrbc(struct pci_dev *dev)
804+static void quirk_amd_8131_mmrbc(struct pci_dev *dev)
805805 {
806806 if (dev->subordinate && dev->revision <= 0x12) {
807807 dev_info(&dev->dev, "AMD8131 rev %x detected; "
@@ -819,7 +819,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8131_BRIDGE, quirk_ · 11 unmodified lines
819819 * value of the ACPI SCI interrupt is only done for convenience.
820820 * -jgarzik
821821 */
822−static void __devinit quirk_via_acpi(struct pci_dev *d)
822+static void quirk_via_acpi(struct pci_dev *d)
823823 {
824824 /*
825825 * VIA ACPI device: SCI IRQ line in PCI config byte 0x42
@@ -926,7 +926,7 @@ DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_ANY_ID, quirk_via_vlink); · 100 unmodified lines
926926 * We need to switch it off to be able to recognize the real
927927 * type of the chip.
928928 */
929−static void __devinit quirk_vt82c598_id(struct pci_dev *dev)
929+static void quirk_vt82c598_id(struct pci_dev *dev)
930930 {
931931 pci_write_config_byte(dev, 0xfc, 0);
932932 pci_read_config_word(dev, PCI_DEVICE_ID, &dev->device);
@@ -978,7 +978,7 @@ DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_FE_GATE_700C · 45 unmodified lines
978978 * assigned to it. We force a larger allocation to ensure that
979979 * nothing gets put too close to it.
980980 */
981−static void __devinit quirk_dunord ( struct pci_dev * dev )
981+static void quirk_dunord(struct pci_dev *dev)
982982 {
983983 struct resource *r = &dev->resource [1];
984984 r->start = 0;
@@ -992,7 +992,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_DUNORD, PCI_DEVICE_ID_DUNORD_I3000, quirk · 7 unmodified lines
992992 * in the ProgIf. Unfortunately, the ProgIf value is wrong - 0x80
993993 * instead of 0x01.
994994 */
995−static void __devinit quirk_transparent_bridge(struct pci_dev *dev)
995+static void quirk_transparent_bridge(struct pci_dev *dev)
996996 {
997997 dev->transparent = 1;
998998 }
@@ -1066,7 +1066,7 @@ DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_HUDSON2_SATA · 67 unmodified lines
10661066 /*
10671067 * Serverworks CSB5 IDE does not fully support native mode
10681068 */
1069−static void __devinit quirk_svwks_csb5ide(struct pci_dev *pdev)
1069+static void quirk_svwks_csb5ide(struct pci_dev *pdev)
10701070 {
10711071 u8 prog;
10721072 pci_read_config_byte(pdev, PCI_CLASS_PROG, &prog);
@@ -1082,7 +1082,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB · 9 unmodified lines
10821082 /*
10831083 * Intel 82801CAM ICH3-M datasheet says IDE modes must be the same
10841084 */
1085−static void __devinit quirk_ide_samemode(struct pci_dev *pdev)
1085+static void quirk_ide_samemode(struct pci_dev *pdev)
10861086 {
10871087 u8 prog;
10881088
@@ -1101,7 +1101,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801CA_10, qui · 12 unmodified lines
11011101 * Some ATA devices break if put into D3
11021102 */
11031103
1104−static void __devinit quirk_no_ata_d3(struct pci_dev *pdev)
1104+static void quirk_no_ata_d3(struct pci_dev *pdev)
11051105 {
11061106 pdev->dev_flags |= PCI_DEV_FLAGS_NO_D3;
11071107 }
@@ -1121,7 +1121,7 @@ DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_VENDOR_ID_VIA, PCI_ANY_ID, · 13 unmodified lines
11211121 /* This was originally an Alpha specific thing, but it really fits here.
11221122 * The i82375 PCI/EISA bridge appears as non-classified. Fix that.
11231123 */
1124−static void __devinit quirk_eisa_bridge(struct pci_dev *dev)
1124+static void quirk_eisa_bridge(struct pci_dev *dev)
11251125 {
11261126 dev->class = PCI_CLASS_BRIDGE_EISA << 8;
11271127 }
@@ -1155,7 +1155,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82375, quirk_e · 27 unmodified lines
11551155 */
11561156 static int asus_hides_smbus;
11571157
1158−static void __devinit asus_hides_smbus_hostbridge(struct pci_dev *dev)
1158+static void asus_hides_smbus_hostbridge(struct pci_dev *dev)
11591159 {
11601160 if (unlikely(dev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK)) {
11611161 if (dev->device == PCI_DEVICE_ID_INTEL_82845_HB)
@@ -1538,7 +1538,7 @@ DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_JMB3 · 376 unmodified lines
15381538 #endif
15391539
15401540 #ifdef CONFIG_X86_IO_APIC
1541−static void __devinit quirk_alder_ioapic(struct pci_dev *pdev)
1541+static void quirk_alder_ioapic(struct pci_dev *pdev)
15421542 {
15431543 int i;
15441544
@@ -1561,7 +1561,7 @@ static void __devinit quirk_alder_ioapic(struct pci_dev *pdev) · 16 unmodified lines
15611561 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_EESSC, quirk_alder_ioapic);
15621562 #endif
15631563
1564−static void __devinit quirk_pcie_mch(struct pci_dev *pdev)
1564+static void quirk_pcie_mch(struct pci_dev *pdev)
15651565 {
15661566 pci_msi_off(pdev);
15671567 pdev->no_msi = 1;
@@ -1575,7 +1575,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_E7525_MCH, quir · 7 unmodified lines
15751575 * It's possible for the MSI to get corrupted if shpc and acpi
15761576 * are used together on certain PXH-based systems.
15771577 */
1578−static void __devinit quirk_pcie_pxh(struct pci_dev *dev)
1578+static void quirk_pcie_pxh(struct pci_dev *dev)
15791579 {
15801580 pci_msi_off(dev);
15811581 dev->no_msi = 1;
@@ -1777,7 +1777,7 @@ DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8111_SMBUS, qui · 195 unmodified lines
17771777 * but the PIO transfers won't work if BAR0 falls at the odd 8 bytes.
17781778 * Re-allocate the region if needed...
17791779 */
1780−static void __devinit quirk_tc86c001_ide(struct pci_dev *dev)
1780+static void quirk_tc86c001_ide(struct pci_dev *dev)
17811781 {
17821782 struct resource *r = &dev->resource[0];
17831783
@@ -1790,7 +1790,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_TOSHIBA_2, · 6 unmodified lines
17901790 PCI_DEVICE_ID_TOSHIBA_TC86C001_IDE,
17911791 quirk_tc86c001_ide);
17921792
1793−static void __devinit quirk_netmos(struct pci_dev *dev)
1793+static void quirk_netmos(struct pci_dev *dev)
17941794 {
17951795 unsigned int num_parallel = (dev->subsystem_device & 0xf0) >> 4;
17961796 unsigned int num_serial = dev->subsystem_device & 0xf;
@@ -1828,7 +1828,7 @@ static void __devinit quirk_netmos(struct pci_dev *dev) · 31 unmodified lines
18281828 DECLARE_PCI_FIXUP_CLASS_HEADER(PCI_VENDOR_ID_NETMOS, PCI_ANY_ID,
18291829 PCI_CLASS_COMMUNICATION_SERIAL, 8, quirk_netmos);
18301830
1831−static void __devinit quirk_e100_interrupt(struct pci_dev *dev)
1831+static void quirk_e100_interrupt(struct pci_dev *dev)
18321832 {
18331833 u16 command, pmcsr;
18341834 u8 __iomem *csr;
@@ -1901,7 +1901,7 @@ DECLARE_PCI_FIXUP_CLASS_FINAL(PCI_VENDOR_ID_INTEL, PCI_ANY_ID, · 66 unmodified lines
19011901 * The 82575 and 82598 may experience data corruption issues when transitioning
19021902 * out of L0S. To prevent this we need to disable L0S on the pci-e link
19031903 */
1904−static void __devinit quirk_disable_aspm_l0s(struct pci_dev *dev)
1904+static void quirk_disable_aspm_l0s(struct pci_dev *dev)
19051905 {
19061906 dev_info(&dev->dev, "Disabling L0s\n");
19071907 pci_disable_link_state(dev, PCIE_LINK_STATE_L0S);
@@ -1921,7 +1921,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x10f1, quirk_disable_aspm_l0s); · 13 unmodified lines
19211921 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x10f4, quirk_disable_aspm_l0s);
19221922 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x1508, quirk_disable_aspm_l0s);
19231923
1924−static void __devinit fixup_rev1_53c810(struct pci_dev* dev)
1924+static void fixup_rev1_53c810(struct pci_dev *dev)
19251925 {
19261926 /* rev 1 ncr53c810 chips don't set the class at all which means
19271927 * they don't get their resources remapped. Fix that here.
@@ -1935,7 +1935,7 @@ static void __devinit fixup_rev1_53c810(struct pci_dev* dev) · 7 unmodified lines
19351935 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_NCR, PCI_DEVICE_ID_NCR_53C810, fixup_rev1_53c810);
19361936
19371937 /* Enable 1k I/O space granularity on the Intel P64H2 */
1938−static void __devinit quirk_p64h2_1k_io(struct pci_dev *dev)
1938+static void quirk_p64h2_1k_io(struct pci_dev *dev)
19391939 {
19401940 u16 en1k;
19411941
@@ -1968,7 +1968,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_CK804_PCIE, · 26 unmodified lines
19681968 DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_CK804_PCIE,
19691969 quirk_nvidia_ck804_pcie_aer_ext_cap);
19701970
1971−static void __devinit quirk_via_cx700_pci_parking_caching(struct pci_dev *dev)
1971+static void quirk_via_cx700_pci_parking_caching(struct pci_dev *dev)
19721972 {
19731973 /*
19741974 * Disable PCI Bus Parking and PCI Master read caching on CX700
@@ -2031,7 +2031,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, 0x324e, quirk_via_cx700_pci_parking_c · 56 unmodified lines
20312031 * We believe that it is legal to read beyond the end tag and
20322032 * therefore the solution is to limit the read/write length.
20332033 */
2034−static void __devinit quirk_brcm_570x_limit_vpd(struct pci_dev *dev)
2034+static void quirk_brcm_570x_limit_vpd(struct pci_dev *dev)
20352035 {
20362036 /*
20372037 * Only disable the VPD capability for 5706, 5706S, 5708,
@@ -2091,7 +2091,7 @@ DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_BROADCOM, · 53 unmodified lines
20912091 * the DRBs - this is where we expose device 6.
20922092 * http://www.x86-secret.com/articles/tweak/pat/patsecrets-2.htm
20932093 */
2094−static void __devinit quirk_unhide_mch_dev6(struct pci_dev *dev)
2094+static void quirk_unhide_mch_dev6(struct pci_dev *dev)
20952095 {
20962096 u8 reg;
20972097
@@ -2115,7 +2115,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82875_HB, · 17 unmodified lines
21152115 * supports link speed auto negotiation, but falsely sets
21162116 * the link speed to 5GT/s.
21172117 */
2118−static void __devinit quirk_tile_plx_gen1(struct pci_dev *dev)
2118+static void quirk_tile_plx_gen1(struct pci_dev *dev)
21192119 {
21202120 if (tile_plx_gen1) {
21212121 pci_write_config_dword(dev, 0x98, 0x1);
@@ -2132,7 +2132,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_PLX, 0x8624, quirk_tile_plx_gen1); · 10 unmodified lines
21322132 * aware of it. Instead of setting the flag on all busses in the
21332133 * machine, simply disable MSI globally.
21342134 */
2135−static void __devinit quirk_disable_all_msi(struct pci_dev *dev)
2135+static void quirk_disable_all_msi(struct pci_dev *dev)
21362136 {
21372137 pci_no_msi();
21382138 dev_warn(&dev->dev, "MSI quirk detected; MSI disabled\n");
@@ -2146,7 +2146,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VT3364, quirk_disab · 7 unmodified lines
21462146 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8380_0, quirk_disable_all_msi);
21472147
21482148 /* Disable MSI on chipsets that are known to not support it */
2149−static void __devinit quirk_disable_msi(struct pci_dev *dev)
2149+static void quirk_disable_msi(struct pci_dev *dev)
21502150 {
21512151 if (dev->subordinate) {
21522152 dev_warn(&dev->dev, "MSI quirk detected; "
@@ -2164,7 +2164,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x5a3f, quirk_disable_msi); · 11 unmodified lines
21642164 * we use the possible vendor/device IDs of the host bridge for the
21652165 * declared quirk, and search for the APC bridge by slot number.
21662166 */
2167−static void __devinit quirk_amd_780_apc_msi(struct pci_dev *host_bridge)
2167+static void quirk_amd_780_apc_msi(struct pci_dev *host_bridge)
21682168 {
21692169 struct pci_dev *apc_bridge;
21702170
@@ -2272,7 +2272,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8132_BRIDGE, · 101 unmodified lines
22722272 * for the MCP55 NIC. It is not yet determined whether the msi problem
22732273 * also affects other devices. As for now, turn off msi for this device.
22742274 */
2275−static void __devinit nvenet_msi_disable(struct pci_dev *dev)
2275+static void nvenet_msi_disable(struct pci_dev *dev)
22762276 {
22772277 const char *board_name = dmi_get_system_info(DMI_BOARD_NAME);
22782278
@@ -2298,7 +2298,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_NVIDIA, · 19 unmodified lines
22982298 * we have it set correctly.
22992299 * Note this is an undocumented register.
23002300 */
2301−static void __devinit nvbridge_check_legacy_irq_routing(struct pci_dev *dev)
2301+static void nvbridge_check_legacy_irq_routing(struct pci_dev *dev)
23022302 {
23032303 u32 cfg;
23042304
@@ -2534,11 +2534,11 @@ DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID, nv_msi_ht_cap_q · 229 unmodified lines
25342534 DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AL, PCI_ANY_ID, nv_msi_ht_cap_quirk_all);
25352535 DECLARE_PCI_FIXUP_RESUME_EARLY(PCI_VENDOR_ID_AL, PCI_ANY_ID, nv_msi_ht_cap_quirk_all);
25362536
2537−static void __devinit quirk_msi_intx_disable_bug(struct pci_dev *dev)
2537+static void quirk_msi_intx_disable_bug(struct pci_dev *dev)
25382538 {
25392539 dev->dev_flags |= PCI_DEV_FLAGS_MSI_INTX_DISABLE_BUG;
25402540 }
2541−static void __devinit quirk_msi_intx_disable_ati_bug(struct pci_dev *dev)
2541+static void quirk_msi_intx_disable_ati_bug(struct pci_dev *dev)
25422542 {
25432543 struct pci_dev *p;
25442544
@@ -2612,7 +2612,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATTANSIC, 0x1083, · 67 unmodified lines
26122612 * kernel fails to allocate resources when hotplug device is
26132613 * inserted and PCI bus is rescanned.
26142614 */
2615−static void __devinit quirk_hotplug_bridge(struct pci_dev *dev)
2615+static void quirk_hotplug_bridge(struct pci_dev *dev)
26162616 {
26172617 dev->is_hotplug_bridge = 1;
26182618 }
@@ -2752,7 +2752,7 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x342e, vtd_mask_spec_errors); · 133 unmodified lines
27522752 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x3c28, vtd_mask_spec_errors);
27532753 #endif
27542754
2755−static void __devinit fixup_ti816x_class(struct pci_dev* dev)
2755+static void fixup_ti816x_class(struct pci_dev *dev)
27562756 {
27572757 /* TI 816x devices do not have class code set when in PCIe boot mode */
27582758 dev_info(&dev->dev, "Setting PCI class for 816x PCIe device\n");
@@ -2764,7 +2764,7 @@ DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_VENDOR_ID_TI, 0xb800, · 5 unmodified lines
27642764 /* Some PCIe devices do not work reliably with the claimed maximum
27652765 * payload size supported.
27662766 */
2767−static void __devinit fixup_mpss_256(struct pci_dev *dev)
2767+static void fixup_mpss_256(struct pci_dev *dev)
27682768 {
27692769 dev->pcie_mpss = 1; /* 256 bytes */
27702770 }
@@ -2782,7 +2782,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SOLARFLARE, · 11 unmodified lines
27822782 * coalescing must be disabled. Unfortunately, it cannot be re-enabled because
27832783 * it is possible to hotplug a device with MPS of 256B.
27842784 */
2785−static void __devinit quirk_intel_mc_errata(struct pci_dev *dev)
2785+static void quirk_intel_mc_errata(struct pci_dev *dev)
27862786 {
27872787 int err;
27882788 u16 rcc;
@@ -2888,7 +2888,7 @@ static void fixup_debug_report(struct pci_dev *dev, ktime_t calltime, · 99 unmodified lines
28882888 * This resolves crashes often seen on monitor unplug.
28892889 */
28902890 #define I915_DEIER_REG 0x4400c
2891−static void __devinit disable_igfx_irq(struct pci_dev *dev)
2891+static void disable_igfx_irq(struct pci_dev *dev)
28922892 {
28932893 void __iomem *regs = pci_iomap(dev, 0, 0);
28942894 if (regs == NULL) {
@@ -2914,7 +2914,7 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_INTEL, 0x010a, disable_igfx_irq); · 19 unmodified lines
29142914 * PCI_COMMAND_INTX_DISABLE works though they actually do not properly
29152915 * support this feature.
29162916 */
2917−static void __devinit quirk_broken_intx_masking(struct pci_dev *dev)
2917+static void quirk_broken_intx_masking(struct pci_dev *dev)
29182918 {
29192919 dev->broken_intx_masking = 1;
29202920 }
drivers/pci/xen-pcifront.c+5−5
@@ -412,7 +412,7 @@ static int pcifront_claim_resource(struct pci_dev *dev, void *data) · 411 unmodified lines
412412 return 0;
413413 }
414414
415−static int __devinit pcifront_scan_bus(struct pcifront_device *pdev,
415+static int pcifront_scan_bus(struct pcifront_device *pdev,
416416 unsigned int domain, unsigned int bus,
417417 struct pci_bus *b)
418418 {
@@ -441,7 +441,7 @@ static int __devinit pcifront_scan_bus(struct pcifront_device *pdev, · 22 unmodified lines
441441 return 0;
442442 }
443443
444−static int __devinit pcifront_scan_root(struct pcifront_device *pdev,
444+static int pcifront_scan_root(struct pcifront_device *pdev,
445445 unsigned int domain, unsigned int bus)
446446 {
447447 struct pci_bus *b;
@@ -503,7 +503,7 @@ err_out: · 55 unmodified lines
503503 return err;
504504 }
505505
506−static int __devinit pcifront_rescan_root(struct pcifront_device *pdev,
506+static int pcifront_rescan_root(struct pcifront_device *pdev,
507507 unsigned int domain, unsigned int bus)
508508 {
509509 int err;
@@ -834,7 +834,7 @@ out: · 324 unmodified lines
834834 return err;
835835 }
836836
837−static int __devinit pcifront_try_connect(struct pcifront_device *pdev)
837+static int pcifront_try_connect(struct pcifront_device *pdev)
838838 {
839839 int err = -EFAULT;
840840 int i, num_roots, len;
@@ -924,7 +924,7 @@ out: · 83 unmodified lines
924924 return err;
925925 }
926926
927−static int __devinit pcifront_attach_devices(struct pcifront_device *pdev)
927+static int pcifront_attach_devices(struct pcifront_device *pdev)
928928 {
929929 int err = -EFAULT;
930930 int i, num_roots, len;
drivers/pcmcia/bcm63xx_pcmcia.c+6−6
@@ -323,7 +323,7 @@ static struct pccard_operations bcm63xx_pcmcia_operations = { · 322 unmodified lines
323323 /*
324324 * register pcmcia socket to core
325325 */
326−static int __devinit bcm63xx_drv_pcmcia_probe(struct platform_device *pdev)
326+static int bcm63xx_drv_pcmcia_probe(struct platform_device *pdev)
327327 {
328328 struct bcm63xx_pcmcia_socket *skt;
329329 struct pcmcia_socket *sock;
@@ -436,7 +436,7 @@ err: · 106 unmodified lines
436436 return ret;
437437 }
438438
439−static int __devexit bcm63xx_drv_pcmcia_remove(struct platform_device *pdev)
439+static int bcm63xx_drv_pcmcia_remove(struct platform_device *pdev)
440440 {
441441 struct bcm63xx_pcmcia_socket *skt;
442442 struct resource *res;
@@ -453,7 +453,7 @@ static int __devexit bcm63xx_drv_pcmcia_remove(struct platform_device *pdev) · 10 unmodified lines
453453
454454 struct platform_driver bcm63xx_pcmcia_driver = {
455455 .probe = bcm63xx_drv_pcmcia_probe,
456− .remove = __devexit_p(bcm63xx_drv_pcmcia_remove),
456+ .remove = bcm63xx_drv_pcmcia_remove,
457457 .driver = {
458458 .name = "bcm63xx_pcmcia",
459459 .owner = THIS_MODULE,
@@ -461,7 +461,7 @@ struct platform_driver bcm63xx_pcmcia_driver = { · 1 unmodified line
461461 };
462462
463463 #ifdef CONFIG_CARDBUS
464−static int __devinit bcm63xx_cb_probe(struct pci_dev *dev,
464+static int bcm63xx_cb_probe(struct pci_dev *dev,
465465 const struct pci_device_id *id)
466466 {
467467 /* keep pci device */
@@ -469,7 +469,7 @@ static int __devinit bcm63xx_cb_probe(struct pci_dev *dev, · 1 unmodified line
469469 return platform_driver_register(&bcm63xx_pcmcia_driver);
470470 }
471471
472−static void __devexit bcm63xx_cb_exit(struct pci_dev *dev)
472+static void bcm63xx_cb_exit(struct pci_dev *dev)
473473 {
474474 platform_driver_unregister(&bcm63xx_pcmcia_driver);
475475 bcm63xx_cb_dev = NULL;
@@ -503,7 +503,7 @@ static struct pci_driver bcm63xx_cardbus_driver = { · 27 unmodified lines
503503 .name = "bcm63xx_cardbus",
504504 .id_table = bcm63xx_cb_table,
505505 .probe = bcm63xx_cb_probe,
506− .remove = __devexit_p(bcm63xx_cb_exit),
506+ .remove = bcm63xx_cb_exit,
507507 };
508508 #endif
509509
drivers/pcmcia/bfin_cf_pcmcia.c+3−3
@@ -195,7 +195,7 @@ static struct pccard_operations bfin_cf_ops = { · 194 unmodified lines
195195
196196 /*--------------------------------------------------------------------------*/
197197
198−static int __devinit bfin_cf_probe(struct platform_device *pdev)
198+static int bfin_cf_probe(struct platform_device *pdev)
199199 {
200200 struct bfin_cf_socket *cf;
201201 struct resource *io_mem, *attr_mem;
@@ -286,7 +286,7 @@ fail0: · 84 unmodified lines
286286 return status;
287287 }
288288
289−static int __devexit bfin_cf_remove(struct platform_device *pdev)
289+static int bfin_cf_remove(struct platform_device *pdev)
290290 {
291291 struct bfin_cf_socket *cf = platform_get_drvdata(pdev);
292292
@@ -307,7 +307,7 @@ static struct platform_driver bfin_cf_driver = { · 14 unmodified lines
307307 .owner = THIS_MODULE,
308308 },
309309 .probe = bfin_cf_probe,
310− .remove = __devexit_p(bfin_cf_remove),
310+ .remove = bfin_cf_remove,
311311 };
312312
313313 module_platform_driver(bfin_cf_driver);
drivers/pcmcia/db1xxx_ss.c+3−3
@@ -409,7 +409,7 @@ static struct pccard_operations db1x_pcmcia_operations = { · 408 unmodified lines
409409 .set_mem_map = au1x00_pcmcia_set_mem_map,
410410 };
411411
412−static int __devinit db1x_pcmcia_socket_probe(struct platform_device *pdev)
412+static int db1x_pcmcia_socket_probe(struct platform_device *pdev)
413413 {
414414 struct db1x_pcmcia_sock *sock;
415415 struct resource *r;
@@ -559,7 +559,7 @@ out0: · 143 unmodified lines
559559 return ret;
560560 }
561561
562−static int __devexit db1x_pcmcia_socket_remove(struct platform_device *pdev)
562+static int db1x_pcmcia_socket_remove(struct platform_device *pdev)
563563 {
564564 struct db1x_pcmcia_sock *sock = platform_get_drvdata(pdev);
565565
@@ -577,7 +577,7 @@ static struct platform_driver db1x_pcmcia_socket_driver = { · 11 unmodified lines
577577 .owner = THIS_MODULE,
578578 },
579579 .probe = db1x_pcmcia_socket_probe,
580− .remove = __devexit_p(db1x_pcmcia_socket_remove),
580+ .remove = db1x_pcmcia_socket_remove,
581581 };
582582
583583 module_platform_driver(db1x_pcmcia_socket_driver);
drivers/pcmcia/ds.c+1−12
@@ -920,8 +920,6 @@ static int pcmcia_bus_match(struct device *dev, struct device_driver *drv) · 919 unmodified lines
920920 return 0;
921921 }
922922
923−#ifdef CONFIG_HOTPLUG
924−
925923 static int pcmcia_bus_uevent(struct device *dev, struct kobj_uevent_env *env)
926924 {
927925 struct pcmcia_device *p_dev;
@@ -962,15 +960,6 @@ static int pcmcia_bus_uevent(struct device *dev, struct kobj_uevent_env *env) · 34 unmodified lines
962960 return 0;
963961 }
964962
965−#else
966−
967−static int pcmcia_bus_uevent(struct device *dev, struct kobj_uevent_env *env)
968−{
969− return -ENODEV;
970−}
971−
972−#endif
973−
974963 /************************ runtime PM support ***************************/
975964
976965 static int pcmcia_dev_suspend(struct device *dev, pm_message_t state);
@@ -1329,7 +1318,7 @@ static struct pcmcia_callback pcmcia_bus_callback = { · 352 unmodified lines
13291318 .resume = pcmcia_bus_resume,
13301319 };
13311320
1332−static int __devinit pcmcia_bus_add_socket(struct device *dev,
1321+static int pcmcia_bus_add_socket(struct device *dev,
13331322 struct class_interface *class_intf)
13341323 {
13351324 struct pcmcia_socket *socket = dev_get_drvdata(dev);
drivers/pcmcia/electra_cf.c+2−2
@@ -181,7 +181,7 @@ static struct pccard_operations electra_cf_ops = { · 180 unmodified lines
181181 .set_mem_map = electra_cf_set_mem_map,
182182 };
183183
184−static int __devinit electra_cf_probe(struct platform_device *ofdev)
184+static int electra_cf_probe(struct platform_device *ofdev)
185185 {
186186 struct device *device = &ofdev->dev;
187187 struct device_node *np = ofdev->dev.of_node;
@@ -324,7 +324,7 @@ fail1: · 136 unmodified lines
324324
325325 }
326326
327−static int __devexit electra_cf_remove(struct platform_device *ofdev)
327+static int electra_cf_remove(struct platform_device *ofdev)
328328 {
329329 struct device *device = &ofdev->dev;
330330 struct electra_cf_socket *cf;
drivers/pcmcia/i82092.c+3−3
@@ -35,7 +35,7 @@ static struct pci_driver i82092aa_pci_driver = { · 34 unmodified lines
3535 .name = "i82092aa",
3636 .id_table = i82092aa_pci_ids,
3737 .probe = i82092aa_pci_probe,
38− .remove = __devexit_p(i82092aa_pci_remove),
38+ .remove = i82092aa_pci_remove,
3939 };
4040
4141
@@ -67,7 +67,7 @@ static struct socket_info sockets[MAX_SOCKETS]; · 25 unmodified lines
6767 static int socket_count; /* shortcut */
6868
6969
70−static int __devinit i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
70+static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
7171 {
7272 unsigned char configbyte;
7373 int i, ret;
@@ -162,7 +162,7 @@ err_out_disable: · 88 unmodified lines
162162 return ret;
163163 }
164164
165−static void __devexit i82092aa_pci_remove(struct pci_dev *dev)
165+static void i82092aa_pci_remove(struct pci_dev *dev)
166166 {
167167 struct pcmcia_socket *socket = pci_get_drvdata(dev);
168168
drivers/pcmcia/pd6729.c+4−4
@@ -589,7 +589,7 @@ static int pd6729_check_irq(int irq) · 588 unmodified lines
589589 return 0;
590590 }
591591
592−static u_int __devinit pd6729_isa_scan(void)
592+static u_int pd6729_isa_scan(void)
593593 {
594594 u_int mask0, mask = 0;
595595 int i;
@@ -620,7 +620,7 @@ static u_int __devinit pd6729_isa_scan(void) · 24 unmodified lines
620620 return mask;
621621 }
622622
623−static int __devinit pd6729_pci_probe(struct pci_dev *dev,
623+static int pd6729_pci_probe(struct pci_dev *dev,
624624 const struct pci_device_id *id)
625625 {
626626 int i, j, ret;
@@ -739,7 +739,7 @@ err_out_free_mem: · 112 unmodified lines
739739 return ret;
740740 }
741741
742−static void __devexit pd6729_pci_remove(struct pci_dev *dev)
742+static void pd6729_pci_remove(struct pci_dev *dev)
743743 {
744744 int i;
745745 struct pd6729_socket *socket = pci_get_drvdata(dev);
@@ -772,7 +772,7 @@ static struct pci_driver pd6729_pci_driver = { · 26 unmodified lines
772772 .name = "pd6729",
773773 .id_table = pd6729_pci_ids,
774774 .probe = pd6729_pci_probe,
775− .remove = __devexit_p(pd6729_pci_remove),
775+ .remove = pd6729_pci_remove,
776776 };
777777
778778 static int pd6729_module_init(void)
drivers/pcmcia/pxa2xx_sharpsl.c+1−1
@@ -208,7 +208,7 @@ static struct pcmcia_low_level sharpsl_pcmcia_ops = { · 207 unmodified lines
208208 #ifdef CONFIG_SA1100_COLLIE
209209 #include "sa11xx_base.h"
210210
211−int __devinit pcmcia_collie_init(struct device *dev)
211+int pcmcia_collie_init(struct device *dev)
212212 {
213213 int ret = -ENODEV;
214214
drivers/pcmcia/rsrc_nonstatic.c+3−3
@@ -1199,7 +1199,7 @@ static const struct attribute_group rsrc_attributes = { · 1198 unmodified lines
11991199 .attrs = pccard_rsrc_attributes,
12001200 };
12011201
1202−static int __devinit pccard_sysfs_add_rsrc(struct device *dev,
1202+static int pccard_sysfs_add_rsrc(struct device *dev,
12031203 struct class_interface *class_intf)
12041204 {
12051205 struct pcmcia_socket *s = dev_get_drvdata(dev);
@@ -1209,7 +1209,7 @@ static int __devinit pccard_sysfs_add_rsrc(struct device *dev, · 3 unmodified lines
12091209 return sysfs_create_group(&dev->kobj, &rsrc_attributes);
12101210 }
12111211
1212−static void __devexit pccard_sysfs_remove_rsrc(struct device *dev,
1212+static void pccard_sysfs_remove_rsrc(struct device *dev,
12131213 struct class_interface *class_intf)
12141214 {
12151215 struct pcmcia_socket *s = dev_get_drvdata(dev);
@@ -1222,7 +1222,7 @@ static void __devexit pccard_sysfs_remove_rsrc(struct device *dev, · 6 unmodified lines
12221222 static struct class_interface pccard_rsrc_interface __refdata = {
12231223 .class = &pcmcia_socket_class,
12241224 .add_dev = &pccard_sysfs_add_rsrc,
1225− .remove_dev = __devexit_p(&pccard_sysfs_remove_rsrc),
1225+ .remove_dev = &pccard_sysfs_remove_rsrc,
12261226 };
12271227
12281228 static int __init nonstatic_sysfs_init(void)
drivers/pcmcia/sa1100_assabet.c+1−1
@@ -95,7 +95,7 @@ static struct pcmcia_low_level assabet_pcmcia_ops = { · 94 unmodified lines
9595 .socket_suspend = assabet_pcmcia_socket_suspend,
9696 };
9797
98−int __devinit pcmcia_assabet_init(struct device *dev)
98+int pcmcia_assabet_init(struct device *dev)
9999 {
100100 int ret = -ENODEV;
101101
drivers/pcmcia/sa1100_cerf.c+1−1
@@ -81,7 +81,7 @@ static struct pcmcia_low_level cerf_pcmcia_ops = { · 80 unmodified lines
8181 .configure_socket = cerf_pcmcia_configure_socket,
8282 };
8383
84−int __devinit pcmcia_cerf_init(struct device *dev)
84+int pcmcia_cerf_init(struct device *dev)
8585 {
8686 int ret = -ENODEV;
8787
drivers/pcmcia/sa1100_generic.c+2−2
@@ -43,7 +43,7 @@ · 42 unmodified lines
4343
4444 int __init pcmcia_collie_init(struct device *dev);
4545
46−static int (*sa11x0_pcmcia_hw_init[])(struct device *dev) __devinitdata = {
46+static int (*sa11x0_pcmcia_hw_init[])(struct device *dev) = {
4747 #ifdef CONFIG_SA1100_ASSABET
4848 pcmcia_assabet_init,
4949 #endif
@@ -67,7 +67,7 @@ static int (*sa11x0_pcmcia_hw_init[])(struct device *dev) __devinitdata = { · 17 unmodified lines
6767 #endif
6868 };
6969
70−static int __devinit sa11x0_drv_pcmcia_probe(struct platform_device *dev)
70+static int sa11x0_drv_pcmcia_probe(struct platform_device *dev)
7171 {
7272 int i, ret = -ENODEV;
7373
drivers/pcmcia/sa1100_h3600.c+1−1
@@ -153,7 +153,7 @@ struct pcmcia_low_level h3600_pcmcia_ops = { · 152 unmodified lines
153153 .socket_suspend = h3600_pcmcia_socket_suspend,
154154 };
155155
156−int __devinit pcmcia_h3600_init(struct device *dev)
156+int pcmcia_h3600_init(struct device *dev)
157157 {
158158 int ret = -ENODEV;
159159
drivers/pcmcia/sa1100_shannon.c+1−1
@@ -92,7 +92,7 @@ static struct pcmcia_low_level shannon_pcmcia_ops = { · 91 unmodified lines
9292 .configure_socket = shannon_pcmcia_configure_socket,
9393 };
9494
95−int __devinit pcmcia_shannon_init(struct device *dev)
95+int pcmcia_shannon_init(struct device *dev)
9696 {
9797 int ret = -ENODEV;
9898
drivers/pcmcia/sa1100_simpad.c+1−1
@@ -109,7 +109,7 @@ static struct pcmcia_low_level simpad_pcmcia_ops = { · 108 unmodified lines
109109 .socket_suspend = simpad_pcmcia_socket_suspend,
110110 };
111111
112−int __devinit pcmcia_simpad_init(struct device *dev)
112+int pcmcia_simpad_init(struct device *dev)
113113 {
114114 int ret = -ENODEV;
115115
drivers/pcmcia/sa1111_generic.c+2−2
@@ -211,7 +211,7 @@ static int pcmcia_probe(struct sa1111_dev *dev) · 210 unmodified lines
211211 return 0;
212212 }
213213
214−static int __devexit pcmcia_remove(struct sa1111_dev *dev)
214+static int pcmcia_remove(struct sa1111_dev *dev)
215215 {
216216 struct sa1111_pcmcia_socket *next, *s = dev_get_drvdata(&dev->dev);
217217
@@ -234,7 +234,7 @@ static struct sa1111_driver pcmcia_driver = { · 16 unmodified lines
234234 },
235235 .devid = SA1111_DEVID_PCMCIA,
236236 .probe = pcmcia_probe,
237− .remove = __devexit_p(pcmcia_remove),
237+ .remove = pcmcia_remove,
238238 };
239239
240240 static int __init sa1111_drv_pcmcia_init(void)
drivers/pcmcia/sa1111_jornada720.c+1−1
@@ -91,7 +91,7 @@ static struct pcmcia_low_level jornada720_pcmcia_ops = { · 90 unmodified lines
9191 .nr = 2,
9292 };
9393
94−int __devinit pcmcia_jornada720_init(struct device *dev)
94+int pcmcia_jornada720_init(struct device *dev)
9595 {
9696 int ret = -ENODEV;
9797
drivers/pcmcia/vrc4171_card.c+4−4
@@ -564,7 +564,7 @@ static inline void reserve_using_irq(int slot) · 563 unmodified lines
564564 vrc4171_irq_mask &= ~(1 << irq);
565565 }
566566
567−static int __devinit vrc4171_add_sockets(void)
567+static int vrc4171_add_sockets(void)
568568 {
569569 vrc4171_socket_t *socket;
570570 int slot, retval;
@@ -631,7 +631,7 @@ static void vrc4171_remove_sockets(void) · 60 unmodified lines
631631 }
632632 }
633633
634−static int __devinit vrc4171_card_setup(char *options)
634+static int vrc4171_card_setup(char *options)
635635 {
636636 if (options == NULL || *options == '\0')
637637 return 1;
@@ -712,7 +712,7 @@ static struct platform_driver vrc4171_card_driver = { · 74 unmodified lines
712712 },
713713 };
714714
715−static int __devinit vrc4171_card_init(void)
715+static int vrc4171_card_init(void)
716716 {
717717 int retval;
718718
@@ -746,7 +746,7 @@ static int __devinit vrc4171_card_init(void) · 27 unmodified lines
746746 return 0;
747747 }
748748
749−static void __devexit vrc4171_card_exit(void)
749+static void vrc4171_card_exit(void)
750750 {
751751 free_irq(vrc4171_irq, vrc4171_sockets);
752752 vrc4171_remove_sockets();
drivers/pcmcia/vrc4173_cardu.c+4−4
@@ -456,7 +456,7 @@ static void cardu_interrupt(int irq, void *dev_id) · 455 unmodified lines
456456 }
457457 }
458458
459−static int __devinit vrc4173_cardu_probe(struct pci_dev *dev,
459+static int vrc4173_cardu_probe(struct pci_dev *dev,
460460 const struct pci_device_id *ent)
461461 {
462462 vrc4173_socket_t *socket;
@@ -533,7 +533,7 @@ disable: · 70 unmodified lines
533533 return ret;
534534 }
535535
536−static int __devinit vrc4173_cardu_setup(char *options)
536+static int vrc4173_cardu_setup(char *options)
537537 {
538538 if (options == NULL || *options == '\0')
539539 return 1;
@@ -574,14 +574,14 @@ static struct pci_driver vrc4173_cardu_driver = { · 34 unmodified lines
574574 .id_table = vrc4173_cardu_id_table,
575575 };
576576
577−static int __devinit vrc4173_cardu_init(void)
577+static int vrc4173_cardu_init(void)
578578 {
579579 vrc4173_cardu_slots = 0;
580580
581581 return pci_register_driver(&vrc4173_cardu_driver);
582582 }
583583
584−static void __devexit vrc4173_cardu_exit(void)
584+static void vrc4173_cardu_exit(void)
585585 {
586586 pci_unregister_driver(&vrc4173_cardu_driver);
587587 }
drivers/pcmcia/xxs1500_ss.c+3−3
@@ -204,7 +204,7 @@ static struct pccard_operations xxs1500_pcmcia_operations = { · 203 unmodified lines
204204 .set_mem_map = au1x00_pcmcia_set_mem_map,
205205 };
206206
207−static int __devinit xxs1500_pcmcia_probe(struct platform_device *pdev)
207+static int xxs1500_pcmcia_probe(struct platform_device *pdev)
208208 {
209209 struct xxs1500_pcmcia_sock *sock;
210210 struct resource *r;
@@ -299,7 +299,7 @@ out0: · 88 unmodified lines
299299 return ret;
300300 }
301301
302−static int __devexit xxs1500_pcmcia_remove(struct platform_device *pdev)
302+static int xxs1500_pcmcia_remove(struct platform_device *pdev)
303303 {
304304 struct xxs1500_pcmcia_sock *sock = platform_get_drvdata(pdev);
305305
@@ -317,7 +317,7 @@ static struct platform_driver xxs1500_pcmcia_socket_driver = { · 11 unmodified lines
317317 .owner = THIS_MODULE,
318318 },
319319 .probe = xxs1500_pcmcia_probe,
320− .remove = __devexit_p(xxs1500_pcmcia_remove),
320+ .remove = xxs1500_pcmcia_remove,
321321 };
322322
323323 module_platform_driver(xxs1500_pcmcia_socket_driver);
drivers/pcmcia/yenta_socket.c+3−3
@@ -783,7 +783,7 @@ static void yenta_free_resources(struct yenta_socket *socket) · 782 unmodified lines
783783 /*
784784 * Close it down - release our resources and go home..
785785 */
786−static void __devexit yenta_close(struct pci_dev *dev)
786+static void yenta_close(struct pci_dev *dev)
787787 {
788788 struct yenta_socket *sock = pci_get_drvdata(dev);
789789
@@ -1142,7 +1142,7 @@ static void yenta_fixup_parent_bridge(struct pci_bus *cardbus_bridge) · 352 unmodified lines
11421142 * interrupt, and that we can map the cardbus area. Fill in the
11431143 * socket information structure..
11441144 */
1145−static int __devinit yenta_probe(struct pci_dev *dev, const struct pci_device_id *id)
1145+static int yenta_probe(struct pci_dev *dev, const struct pci_device_id *id)
11461146 {
11471147 struct yenta_socket *socket;
11481148 int ret;
@@ -1435,7 +1435,7 @@ static struct pci_driver yenta_cardbus_driver = { · 286 unmodified lines
14351435 .name = "yenta_cardbus",
14361436 .id_table = yenta_table,
14371437 .probe = yenta_probe,
1438− .remove = __devexit_p(yenta_close),
1438+ .remove = yenta_close,
14391439 .driver.pm = YENTA_PM_OPS,
14401440 };
14411441
drivers/pinctrl/pinctrl-bcm2835.c+4−4
@@ -372,7 +372,7 @@ static int bcm2835_gpio_to_irq(struct gpio_chip *chip, unsigned offset) · 371 unmodified lines
372372 return irq_linear_revmap(pc->irq_domain, offset);
373373 }
374374
375−static struct gpio_chip bcm2835_gpio_chip __devinitconst = {
375+static struct gpio_chip bcm2835_gpio_chip = {
376376 .label = MODULE_NAME,
377377 .owner = THIS_MODULE,
378378 .request = bcm2835_gpio_request,
@@ -931,7 +931,7 @@ static struct pinctrl_desc bcm2835_pinctrl_desc = { · 552 unmodified lines
931931 .owner = THIS_MODULE,
932932 };
933933
934−static struct pinctrl_gpio_range bcm2835_pinctrl_gpio_range __devinitconst = {
934+static struct pinctrl_gpio_range bcm2835_pinctrl_gpio_range = {
935935 .name = MODULE_NAME,
936936 .npins = BCM2835_NUM_GPIOS,
937937 };
@@ -1042,7 +1042,7 @@ static int __devinit bcm2835_pinctrl_probe(struct platform_device *pdev) · 104 unmodified lines
10421042 return 0;
10431043 }
10441044
1045−static int __devexit bcm2835_pinctrl_remove(struct platform_device *pdev)
1045+static int bcm2835_pinctrl_remove(struct platform_device *pdev)
10461046 {
10471047 struct bcm2835_pinctrl *pc = platform_get_drvdata(pdev);
10481048
@@ -1052,7 +1052,7 @@ static int __devexit bcm2835_pinctrl_remove(struct platform_device *pdev) · 3 unmodified lines
10521052 return 0;
10531053 }
10541054
1055−static struct of_device_id bcm2835_pinctrl_match[] __devinitconst = {
1055+static struct of_device_id bcm2835_pinctrl_match[] = {
10561056 { .compatible = "brcm,bcm2835-gpio" },
10571057 {}
10581058 };
drivers/pinctrl/pinctrl-imx.c+1−1
@@ -611,7 +611,7 @@ int __devinit imx_pinctrl_probe(struct platform_device *pdev, · 610 unmodified lines
611611 return 0;
612612 }
613613
614−int __devexit imx_pinctrl_remove(struct platform_device *pdev)
614+int imx_pinctrl_remove(struct platform_device *pdev)
615615 {
616616 struct imx_pinctrl *ipctl = platform_get_drvdata(pdev);
617617
drivers/pinctrl/pinctrl-imx23.c+2−2
@@ -272,7 +272,7 @@ static int __devinit imx23_pinctrl_probe(struct platform_device *pdev) · 271 unmodified lines
272272 return mxs_pinctrl_probe(pdev, &imx23_pinctrl_data);
273273 }
274274
275−static struct of_device_id imx23_pinctrl_of_match[] __devinitdata = {
275+static struct of_device_id imx23_pinctrl_of_match[] = {
276276 { .compatible = "fsl,imx23-pinctrl", },
277277 { /* sentinel */ }
278278 };
@@ -285,7 +285,7 @@ static struct platform_driver imx23_pinctrl_driver = { · 6 unmodified lines
285285 .of_match_table = imx23_pinctrl_of_match,
286286 },
287287 .probe = imx23_pinctrl_probe,
288− .remove = __devexit_p(mxs_pinctrl_remove),
288+ .remove = mxs_pinctrl_remove,
289289 };
290290
291291 static int __init imx23_pinctrl_init(void)
drivers/pinctrl/pinctrl-imx28.c+2−2
@@ -388,7 +388,7 @@ static int __devinit imx28_pinctrl_probe(struct platform_device *pdev) · 387 unmodified lines
388388 return mxs_pinctrl_probe(pdev, &imx28_pinctrl_data);
389389 }
390390
391−static struct of_device_id imx28_pinctrl_of_match[] __devinitdata = {
391+static struct of_device_id imx28_pinctrl_of_match[] = {
392392 { .compatible = "fsl,imx28-pinctrl", },
393393 { /* sentinel */ }
394394 };
@@ -401,7 +401,7 @@ static struct platform_driver imx28_pinctrl_driver = { · 6 unmodified lines
401401 .of_match_table = imx28_pinctrl_of_match,
402402 },
403403 .probe = imx28_pinctrl_probe,
404− .remove = __devexit_p(mxs_pinctrl_remove),
404+ .remove = mxs_pinctrl_remove,
405405 };
406406
407407 static int __init imx28_pinctrl_init(void)
drivers/pinctrl/pinctrl-imx35.c+2−2
@@ -1559,7 +1559,7 @@ static struct imx_pinctrl_soc_info imx35_pinctrl_info = { · 1558 unmodified lines
15591559 .npin_regs = ARRAY_SIZE(imx35_pin_regs),
15601560 };
15611561
1562−static struct of_device_id imx35_pinctrl_of_match[] __devinitdata = {
1562+static struct of_device_id imx35_pinctrl_of_match[] = {
15631563 { .compatible = "fsl,imx35-iomuxc", },
15641564 { /* sentinel */ }
15651565 };
@@ -1576,7 +1576,7 @@ static struct platform_driver imx35_pinctrl_driver = { · 10 unmodified lines
15761576 .of_match_table = of_match_ptr(imx35_pinctrl_of_match),
15771577 },
15781578 .probe = imx35_pinctrl_probe,
1579− .remove = __devexit_p(imx_pinctrl_remove),
1579+ .remove = imx_pinctrl_remove,
15801580 };
15811581
15821582 static int __init imx35_pinctrl_init(void)
drivers/pinctrl/pinctrl-imx51.c+2−2
@@ -1286,7 +1286,7 @@ static struct imx_pinctrl_soc_info imx51_pinctrl_info = { · 1285 unmodified lines
12861286 .npin_regs = ARRAY_SIZE(imx51_pin_regs),
12871287 };
12881288
1289−static struct of_device_id imx51_pinctrl_of_match[] __devinitdata = {
1289+static struct of_device_id imx51_pinctrl_of_match[] = {
12901290 { .compatible = "fsl,imx51-iomuxc", },
12911291 { /* sentinel */ }
12921292 };
@@ -1303,7 +1303,7 @@ static struct platform_driver imx51_pinctrl_driver = { · 10 unmodified lines
13031303 .of_match_table = of_match_ptr(imx51_pinctrl_of_match),
13041304 },
13051305 .probe = imx51_pinctrl_probe,
1306− .remove = __devexit_p(imx_pinctrl_remove),
1306+ .remove = imx_pinctrl_remove,
13071307 };
13081308
13091309 static int __init imx51_pinctrl_init(void)
drivers/pinctrl/pinctrl-imx53.c+2−2
@@ -1613,7 +1613,7 @@ static struct imx_pinctrl_soc_info imx53_pinctrl_info = { · 1612 unmodified lines
16131613 .npin_regs = ARRAY_SIZE(imx53_pin_regs),
16141614 };
16151615
1616−static struct of_device_id imx53_pinctrl_of_match[] __devinitdata = {
1616+static struct of_device_id imx53_pinctrl_of_match[] = {
16171617 { .compatible = "fsl,imx53-iomuxc", },
16181618 { /* sentinel */ }
16191619 };
@@ -1630,7 +1630,7 @@ static struct platform_driver imx53_pinctrl_driver = { · 10 unmodified lines
16301630 .of_match_table = of_match_ptr(imx53_pinctrl_of_match),
16311631 },
16321632 .probe = imx53_pinctrl_probe,
1633− .remove = __devexit_p(imx_pinctrl_remove),
1633+ .remove = imx_pinctrl_remove,
16341634 };
16351635
16361636 static int __init imx53_pinctrl_init(void)
drivers/pinctrl/pinctrl-imx6q.c+2−2
@@ -2297,7 +2297,7 @@ static struct imx_pinctrl_soc_info imx6q_pinctrl_info = { · 2296 unmodified lines
22972297 .npin_regs = ARRAY_SIZE(imx6q_pin_regs),
22982298 };
22992299
2300−static struct of_device_id imx6q_pinctrl_of_match[] __devinitdata = {
2300+static struct of_device_id imx6q_pinctrl_of_match[] = {
23012301 { .compatible = "fsl,imx6q-iomuxc", },
23022302 { /* sentinel */ }
23032303 };
@@ -2314,7 +2314,7 @@ static struct platform_driver imx6q_pinctrl_driver = { · 10 unmodified lines
23142314 .of_match_table = of_match_ptr(imx6q_pinctrl_of_match),
23152315 },
23162316 .probe = imx6q_pinctrl_probe,
2317− .remove = __devexit_p(imx_pinctrl_remove),
2317+ .remove = imx_pinctrl_remove,
23182318 };
23192319
23202320 static int __init imx6q_pinctrl_init(void)
drivers/pinctrl/pinctrl-mmp2.c+2−2
@@ -691,7 +691,7 @@ static int __devinit mmp2_pinmux_probe(struct platform_device *pdev) · 690 unmodified lines
691691 return pxa3xx_pinctrl_register(pdev, &mmp2_info);
692692 }
693693
694−static int __devexit mmp2_pinmux_remove(struct platform_device *pdev)
694+static int mmp2_pinmux_remove(struct platform_device *pdev)
695695 {
696696 return pxa3xx_pinctrl_unregister(pdev);
697697 }
@@ -702,7 +702,7 @@ static struct platform_driver mmp2_pinmux_driver = { · 4 unmodified lines
702702 .owner = THIS_MODULE,
703703 },
704704 .probe = mmp2_pinmux_probe,
705− .remove = __devexit_p(mmp2_pinmux_remove),
705+ .remove = mmp2_pinmux_remove,
706706 };
707707
708708 static int __init mmp2_pinmux_init(void)
drivers/pinctrl/pinctrl-mxs.c+1−1
@@ -522,7 +522,7 @@ err: · 521 unmodified lines
522522 }
523523 EXPORT_SYMBOL_GPL(mxs_pinctrl_probe);
524524
525−int __devexit mxs_pinctrl_remove(struct platform_device *pdev)
525+int mxs_pinctrl_remove(struct platform_device *pdev)
526526 {
527527 struct mxs_pinctrl_data *d = platform_get_drvdata(pdev);
528528
drivers/pinctrl/pinctrl-pxa168.c+2−2
@@ -620,7 +620,7 @@ static int __devinit pxa168_pinmux_probe(struct platform_device *pdev) · 619 unmodified lines
620620 return pxa3xx_pinctrl_register(pdev, &pxa168_info);
621621 }
622622
623−static int __devexit pxa168_pinmux_remove(struct platform_device *pdev)
623+static int pxa168_pinmux_remove(struct platform_device *pdev)
624624 {
625625 return pxa3xx_pinctrl_unregister(pdev);
626626 }
@@ -631,7 +631,7 @@ static struct platform_driver pxa168_pinmux_driver = { · 4 unmodified lines
631631 .owner = THIS_MODULE,
632632 },
633633 .probe = pxa168_pinmux_probe,
634− .remove = __devexit_p(pxa168_pinmux_remove),
634+ .remove = pxa168_pinmux_remove,
635635 };
636636
637637 static int __init pxa168_pinmux_init(void)
drivers/pinctrl/pinctrl-pxa910.c+2−2
@@ -976,7 +976,7 @@ static int __devinit pxa910_pinmux_probe(struct platform_device *pdev) · 975 unmodified lines
976976 return pxa3xx_pinctrl_register(pdev, &pxa910_info);
977977 }
978978
979−static int __devexit pxa910_pinmux_remove(struct platform_device *pdev)
979+static int pxa910_pinmux_remove(struct platform_device *pdev)
980980 {
981981 return pxa3xx_pinctrl_unregister(pdev);
982982 }
@@ -987,7 +987,7 @@ static struct platform_driver pxa910_pinmux_driver = { · 4 unmodified lines
987987 .owner = THIS_MODULE,
988988 },
989989 .probe = pxa910_pinmux_probe,
990− .remove = __devexit_p(pxa910_pinmux_remove),
990+ .remove = pxa910_pinmux_remove,
991991 };
992992
993993 static int __init pxa910_pinmux_init(void)
drivers/pinctrl/pinctrl-single.c+3−3
@@ -1062,7 +1062,7 @@ free: · 1061 unmodified lines
10621062 return ret;
10631063 }
10641064
1065−static int __devexit pcs_remove(struct platform_device *pdev)
1065+static int pcs_remove(struct platform_device *pdev)
10661066 {
10671067 struct pcs_device *pcs = platform_get_drvdata(pdev);
10681068
@@ -1074,7 +1074,7 @@ static int __devexit pcs_remove(struct platform_device *pdev) · 5 unmodified lines
10741074 return 0;
10751075 }
10761076
1077−static struct of_device_id pcs_of_match[] __devinitdata = {
1077+static struct of_device_id pcs_of_match[] = {
10781078 { .compatible = DRIVER_NAME, },
10791079 { },
10801080 };
@@ -1082,7 +1082,7 @@ MODULE_DEVICE_TABLE(of, pcs_of_match); · 1 unmodified line
10821082
10831083 static struct platform_driver pcs_driver = {
10841084 .probe = pcs_probe,
1085− .remove = __devexit_p(pcs_remove),
1085+ .remove = pcs_remove,
10861086 .driver = {
10871087 .owner = THIS_MODULE,
10881088 .name = DRIVER_NAME,
drivers/pinctrl/pinctrl-sirf.c+1−1
@@ -1305,7 +1305,7 @@ out_no_gpio_remap: · 1304 unmodified lines
13051305 return ret;
13061306 }
13071307
1308−static const struct of_device_id pinmux_ids[] __devinitconst = {
1308+static const struct of_device_id pinmux_ids[] = {
13091309 { .compatible = "sirf,prima2-pinctrl" },
13101310 { .compatible = "sirf,marco-pinctrl" },
13111311 {}
drivers/pinctrl/pinctrl-tegra.c+1−1
@@ -760,7 +760,7 @@ int __devinit tegra_pinctrl_probe(struct platform_device *pdev, · 759 unmodified lines
760760 }
761761 EXPORT_SYMBOL_GPL(tegra_pinctrl_probe);
762762
763−int __devexit tegra_pinctrl_remove(struct platform_device *pdev)
763+int tegra_pinctrl_remove(struct platform_device *pdev)
764764 {
765765 struct tegra_pmx *pmx = platform_get_drvdata(pdev);
766766
drivers/pinctrl/pinctrl-tegra20.c+2−2
@@ -2861,7 +2861,7 @@ static int __devinit tegra20_pinctrl_probe(struct platform_device *pdev) · 2860 unmodified lines
28612861 return tegra_pinctrl_probe(pdev, &tegra20_pinctrl);
28622862 }
28632863
2864−static struct of_device_id tegra20_pinctrl_of_match[] __devinitdata = {
2864+static struct of_device_id tegra20_pinctrl_of_match[] = {
28652865 { .compatible = "nvidia,tegra20-pinmux", },
28662866 { },
28672867 };
@@ -2873,7 +2873,7 @@ static struct platform_driver tegra20_pinctrl_driver = { · 5 unmodified lines
28732873 .of_match_table = tegra20_pinctrl_of_match,
28742874 },
28752875 .probe = tegra20_pinctrl_probe,
2876− .remove = __devexit_p(tegra_pinctrl_remove),
2876+ .remove = tegra_pinctrl_remove,
28772877 };
28782878
28792879 static int __init tegra20_pinctrl_init(void)
drivers/pinctrl/pinctrl-tegra30.c+2−2
@@ -3727,7 +3727,7 @@ static int __devinit tegra30_pinctrl_probe(struct platform_device *pdev) · 3726 unmodified lines
37273727 return tegra_pinctrl_probe(pdev, &tegra30_pinctrl);
37283728 }
37293729
3730−static struct of_device_id tegra30_pinctrl_of_match[] __devinitdata = {
3730+static struct of_device_id tegra30_pinctrl_of_match[] = {
37313731 { .compatible = "nvidia,tegra30-pinmux", },
37323732 { },
37333733 };
@@ -3739,7 +3739,7 @@ static struct platform_driver tegra30_pinctrl_driver = { · 5 unmodified lines
37393739 .of_match_table = tegra30_pinctrl_of_match,
37403740 },
37413741 .probe = tegra30_pinctrl_probe,
3742− .remove = __devexit_p(tegra_pinctrl_remove),
3742+ .remove = tegra_pinctrl_remove,
37433743 };
37443744
37453745 static int __init tegra30_pinctrl_init(void)
drivers/pinctrl/pinctrl-u300.c+2−2
@@ -1095,7 +1095,7 @@ static int __devinit u300_pmx_probe(struct platform_device *pdev) · 1094 unmodified lines
10951095 return 0;
10961096 }
10971097
1098−static int __devexit u300_pmx_remove(struct platform_device *pdev)
1098+static int u300_pmx_remove(struct platform_device *pdev)
10991099 {
11001100 struct u300_pmx *upmx = platform_get_drvdata(pdev);
11011101
@@ -1111,7 +1111,7 @@ static struct platform_driver u300_pmx_driver = { · 9 unmodified lines
11111111 .owner = THIS_MODULE,
11121112 },
11131113 .probe = u300_pmx_probe,
1114− .remove = __devexit_p(u300_pmx_remove),
1114+ .remove = u300_pmx_remove,
11151115 };
11161116
11171117 static int __init u300_pmx_init(void)
drivers/pinctrl/spear/pinctrl-spear.c+1−1
@@ -417,7 +417,7 @@ int __devinit spear_pinctrl_probe(struct platform_device *pdev, · 416 unmodified lines
417417 return 0;
418418 }
419419
420−int __devexit spear_pinctrl_remove(struct platform_device *pdev)
420+int spear_pinctrl_remove(struct platform_device *pdev)
421421 {
422422 struct spear_pmx *pmx = platform_get_drvdata(pdev);
423423
drivers/pinctrl/spear/pinctrl-spear.h+1−1
@@ -198,7 +198,7 @@ pmx_init_gpio_pingroup_addr(struct spear_gpio_pingroup *gpio_pingroup, · 197 unmodified lines
198198 unsigned count, u16 reg);
199199 int __devinit spear_pinctrl_probe(struct platform_device *pdev,
200200 struct spear_pinctrl_machdata *machdata);
201−int __devexit spear_pinctrl_remove(struct platform_device *pdev);
201+int spear_pinctrl_remove(struct platform_device *pdev);
202202
203203 #define SPEAR_PIN_0_TO_101 \
204204 PINCTRL_PIN(0, "PLGPIO0"), \
drivers/pinctrl/spear/pinctrl-spear1310.c+3−3
@@ -2692,7 +2692,7 @@ static struct spear_pinctrl_machdata spear1310_machdata = { · 2691 unmodified lines
26922692 .modes_supported = false,
26932693 };
26942694
2695−static struct of_device_id spear1310_pinctrl_of_match[] __devinitdata = {
2695+static struct of_device_id spear1310_pinctrl_of_match[] = {
26962696 {
26972697 .compatible = "st,spear1310-pinmux",
26982698 },
@@ -2704,7 +2704,7 @@ static int __devinit spear1310_pinctrl_probe(struct platform_device *pdev) · 5 unmodified lines
27042704 return spear_pinctrl_probe(pdev, &spear1310_machdata);
27052705 }
27062706
2707−static int __devexit spear1310_pinctrl_remove(struct platform_device *pdev)
2707+static int spear1310_pinctrl_remove(struct platform_device *pdev)
27082708 {
27092709 return spear_pinctrl_remove(pdev);
27102710 }
@@ -2716,7 +2716,7 @@ static struct platform_driver spear1310_pinctrl_driver = { · 5 unmodified lines
27162716 .of_match_table = spear1310_pinctrl_of_match,
27172717 },
27182718 .probe = spear1310_pinctrl_probe,
2719− .remove = __devexit_p(spear1310_pinctrl_remove),
2719+ .remove = spear1310_pinctrl_remove,
27202720 };
27212721
27222722 static int __init spear1310_pinctrl_init(void)
drivers/pinctrl/spear/pinctrl-spear1340.c+3−3
@@ -2008,7 +2008,7 @@ static struct spear_pinctrl_machdata spear1340_machdata = { · 2007 unmodified lines
20082008 .modes_supported = false,
20092009 };
20102010
2011−static struct of_device_id spear1340_pinctrl_of_match[] __devinitdata = {
2011+static struct of_device_id spear1340_pinctrl_of_match[] = {
20122012 {
20132013 .compatible = "st,spear1340-pinmux",
20142014 },
@@ -2020,7 +2020,7 @@ static int __devinit spear1340_pinctrl_probe(struct platform_device *pdev) · 5 unmodified lines
20202020 return spear_pinctrl_probe(pdev, &spear1340_machdata);
20212021 }
20222022
2023−static int __devexit spear1340_pinctrl_remove(struct platform_device *pdev)
2023+static int spear1340_pinctrl_remove(struct platform_device *pdev)
20242024 {
20252025 return spear_pinctrl_remove(pdev);
20262026 }
@@ -2032,7 +2032,7 @@ static struct platform_driver spear1340_pinctrl_driver = { · 5 unmodified lines
20322032 .of_match_table = spear1340_pinctrl_of_match,
20332033 },
20342034 .probe = spear1340_pinctrl_probe,
2035− .remove = __devexit_p(spear1340_pinctrl_remove),
2035+ .remove = spear1340_pinctrl_remove,
20362036 };
20372037
20382038 static int __init spear1340_pinctrl_init(void)
drivers/pinctrl/spear/pinctrl-spear300.c+3−3
@@ -646,7 +646,7 @@ static struct spear_function *spear300_functions[] = { · 645 unmodified lines
646646 &gpio1_function,
647647 };
648648
649−static struct of_device_id spear300_pinctrl_of_match[] __devinitdata = {
649+static struct of_device_id spear300_pinctrl_of_match[] = {
650650 {
651651 .compatible = "st,spear300-pinmux",
652652 },
@@ -677,7 +677,7 @@ static int __devinit spear300_pinctrl_probe(struct platform_device *pdev) · 24 unmodified lines
677677 return 0;
678678 }
679679
680−static int __devexit spear300_pinctrl_remove(struct platform_device *pdev)
680+static int spear300_pinctrl_remove(struct platform_device *pdev)
681681 {
682682 return spear_pinctrl_remove(pdev);
683683 }
@@ -689,7 +689,7 @@ static struct platform_driver spear300_pinctrl_driver = { · 5 unmodified lines
689689 .of_match_table = spear300_pinctrl_of_match,
690690 },
691691 .probe = spear300_pinctrl_probe,
692− .remove = __devexit_p(spear300_pinctrl_remove),
692+ .remove = spear300_pinctrl_remove,
693693 };
694694
695695 static int __init spear300_pinctrl_init(void)
drivers/pinctrl/spear/pinctrl-spear310.c+3−3
@@ -371,7 +371,7 @@ static struct spear_function *spear310_functions[] = { · 370 unmodified lines
371371 &tdm_function,
372372 };
373373
374−static struct of_device_id spear310_pinctrl_of_match[] __devinitdata = {
374+static struct of_device_id spear310_pinctrl_of_match[] = {
375375 {
376376 .compatible = "st,spear310-pinmux",
377377 },
@@ -400,7 +400,7 @@ static int __devinit spear310_pinctrl_probe(struct platform_device *pdev) · 22 unmodified lines
400400 return 0;
401401 }
402402
403−static int __devexit spear310_pinctrl_remove(struct platform_device *pdev)
403+static int spear310_pinctrl_remove(struct platform_device *pdev)
404404 {
405405 return spear_pinctrl_remove(pdev);
406406 }
@@ -412,7 +412,7 @@ static struct platform_driver spear310_pinctrl_driver = { · 5 unmodified lines
412412 .of_match_table = spear310_pinctrl_of_match,
413413 },
414414 .probe = spear310_pinctrl_probe,
415− .remove = __devexit_p(spear310_pinctrl_remove),
415+ .remove = spear310_pinctrl_remove,
416416 };
417417
418418 static int __init spear310_pinctrl_init(void)
drivers/pinctrl/spear/pinctrl-spear320.c+3−3
@@ -3410,7 +3410,7 @@ static struct spear_function *spear320_functions[] = { · 3409 unmodified lines
34103410 &i2c2_function,
34113411 };
34123412
3413−static struct of_device_id spear320_pinctrl_of_match[] __devinitdata = {
3413+static struct of_device_id spear320_pinctrl_of_match[] = {
34143414 {
34153415 .compatible = "st,spear320-pinmux",
34163416 },
@@ -3441,7 +3441,7 @@ static int __devinit spear320_pinctrl_probe(struct platform_device *pdev) · 24 unmodified lines
34413441 return 0;
34423442 }
34433443
3444−static int __devexit spear320_pinctrl_remove(struct platform_device *pdev)
3444+static int spear320_pinctrl_remove(struct platform_device *pdev)
34453445 {
34463446 return spear_pinctrl_remove(pdev);
34473447 }
@@ -3453,7 +3453,7 @@ static struct platform_driver spear320_pinctrl_driver = { · 5 unmodified lines
34533453 .of_match_table = spear320_pinctrl_of_match,
34543454 },
34553455 .probe = spear320_pinctrl_probe,
3456− .remove = __devexit_p(spear320_pinctrl_remove),
3456+ .remove = spear320_pinctrl_remove,
34573457 };
34583458
34593459 static int __init spear320_pinctrl_init(void)
drivers/pnp/pnpbios/core.c+7−13
@@ -91,8 +91,6 @@ struct pnp_dev_node_info node_info; · 90 unmodified lines
9191 *
9292 */
9393
94−#ifdef CONFIG_HOTPLUG
95−
9694 static struct completion unload_sem;
9795
9896 /*
@@ -199,8 +197,6 @@ static int pnp_dock_thread(void *unused) · 100 unmodified lines
199197 complete_and_exit(&unload_sem, 0);
200198 }
201199
202−#endif /* CONFIG_HOTPLUG */
203−
204200 static int pnpbios_get_resources(struct pnp_dev *dev)
205201 {
206202 u8 nodenum = dev->number;
@@ -573,21 +569,19 @@ fs_initcall(pnpbios_init); · 366 unmodified lines
573569
574570 static int __init pnpbios_thread_init(void)
575571 {
572+ struct task_struct *task;
576573 #if defined(CONFIG_PPC)
577574 if (check_legacy_ioport(PNPBIOS_BASE))
578575 return 0;
579576 #endif
580577 if (pnpbios_disabled)
581578 return 0;
582−#ifdef CONFIG_HOTPLUG
583− {
584− struct task_struct *task;
585− init_completion(&unload_sem);
586− task = kthread_run(pnp_dock_thread, NULL, "kpnpbiosd");
587− if (IS_ERR(task))
588− return PTR_ERR(task);
589− }
590−#endif
579+
580+ init_completion(&unload_sem);
581+ task = kthread_run(pnp_dock_thread, NULL, "kpnpbiosd");
582+ if (IS_ERR(task))
583+ return PTR_ERR(task);
584+
591585 return 0;
592586 }
593587
drivers/power/88pm860x_battery.c+3−3
@@ -901,7 +901,7 @@ static enum power_supply_property pm860x_batt_props[] = { · 900 unmodified lines
901901 POWER_SUPPLY_PROP_TEMP,
902902 };
903903
904−static __devinit int pm860x_battery_probe(struct platform_device *pdev)
904+static int pm860x_battery_probe(struct platform_device *pdev)
905905 {
906906 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
907907 struct pm860x_battery_info *info;
@@ -989,7 +989,7 @@ out: · 81 unmodified lines
989989 return ret;
990990 }
991991
992−static int __devexit pm860x_battery_remove(struct platform_device *pdev)
992+static int pm860x_battery_remove(struct platform_device *pdev)
993993 {
994994 struct pm860x_battery_info *info = platform_get_drvdata(pdev);
995995
@@ -1033,7 +1033,7 @@ static struct platform_driver pm860x_battery_driver = { · 37 unmodified lines
10331033 .pm = &pm860x_battery_pm_ops,
10341034 },
10351035 .probe = pm860x_battery_probe,
1036− .remove = __devexit_p(pm860x_battery_remove),
1036+ .remove = pm860x_battery_remove,
10371037 };
10381038 module_platform_driver(pm860x_battery_driver);
10391039
drivers/power/88pm860x_charger.c+3−3
@@ -645,7 +645,7 @@ static struct pm860x_irq_desc { · 644 unmodified lines
645645 { "vchg", pm860x_vchg_handler },
646646 };
647647
648−static __devinit int pm860x_charger_probe(struct platform_device *pdev)
648+static int pm860x_charger_probe(struct platform_device *pdev)
649649 {
650650 struct pm860x_chip *chip = dev_get_drvdata(pdev->dev.parent);
651651 struct pm860x_charger_info *info;
@@ -718,7 +718,7 @@ out: · 66 unmodified lines
718718 return ret;
719719 }
720720
721−static int __devexit pm860x_charger_remove(struct platform_device *pdev)
721+static int pm860x_charger_remove(struct platform_device *pdev)
722722 {
723723 struct pm860x_charger_info *info = platform_get_drvdata(pdev);
724724 int i;
@@ -738,7 +738,7 @@ static struct platform_driver pm860x_charger_driver = { · 13 unmodified lines
738738 .owner = THIS_MODULE,
739739 },
740740 .probe = pm860x_charger_probe,
741− .remove = __devexit_p(pm860x_charger_remove),
741+ .remove = pm860x_charger_remove,
742742 };
743743 module_platform_driver(pm860x_charger_driver);
744744
drivers/power/ab8500_btemp.c+3−3
@@ -938,7 +938,7 @@ static int ab8500_btemp_suspend(struct platform_device *pdev, · 937 unmodified lines
938938 #define ab8500_btemp_resume NULL
939939 #endif
940940
941−static int __devexit ab8500_btemp_remove(struct platform_device *pdev)
941+static int ab8500_btemp_remove(struct platform_device *pdev)
942942 {
943943 struct ab8500_btemp *di = platform_get_drvdata(pdev);
944944 int i, irq;
@@ -960,7 +960,7 @@ static int __devexit ab8500_btemp_remove(struct platform_device *pdev) · 15 unmodified lines
960960 return 0;
961961 }
962962
963−static int __devinit ab8500_btemp_probe(struct platform_device *pdev)
963+static int ab8500_btemp_probe(struct platform_device *pdev)
964964 {
965965 int irq, i, ret = 0;
966966 u8 val;
@@ -1101,7 +1101,7 @@ free_device_info: · 134 unmodified lines
11011101
11021102 static struct platform_driver ab8500_btemp_driver = {
11031103 .probe = ab8500_btemp_probe,
1104− .remove = __devexit_p(ab8500_btemp_remove),
1104+ .remove = ab8500_btemp_remove,
11051105 .suspend = ab8500_btemp_suspend,
11061106 .resume = ab8500_btemp_resume,
11071107 .driver = {
drivers/power/ab8500_charger.c+3−3
@@ -2490,7 +2490,7 @@ static int ab8500_charger_suspend(struct platform_device *pdev, · 2489 unmodified lines
24902490 #define ab8500_charger_resume NULL
24912491 #endif
24922492
2493−static int __devexit ab8500_charger_remove(struct platform_device *pdev)
2493+static int ab8500_charger_remove(struct platform_device *pdev)
24942494 {
24952495 struct ab8500_charger *di = platform_get_drvdata(pdev);
24962496 int i, irq, ret;
@@ -2531,7 +2531,7 @@ static int __devexit ab8500_charger_remove(struct platform_device *pdev) · 34 unmodified lines
25312531 return 0;
25322532 }
25332533
2534−static int __devinit ab8500_charger_probe(struct platform_device *pdev)
2534+static int ab8500_charger_probe(struct platform_device *pdev)
25352535 {
25362536 int irq, i, charger_status, ret = 0;
25372537 struct abx500_bm_plat_data *plat_data = pdev->dev.platform_data;
@@ -2765,7 +2765,7 @@ free_device_info: · 227 unmodified lines
27652765
27662766 static struct platform_driver ab8500_charger_driver = {
27672767 .probe = ab8500_charger_probe,
2768− .remove = __devexit_p(ab8500_charger_remove),
2768+ .remove = ab8500_charger_remove,
27692769 .suspend = ab8500_charger_suspend,
27702770 .resume = ab8500_charger_resume,
27712771 .driver = {
drivers/power/ab8500_fg.c+3−3
@@ -2411,7 +2411,7 @@ static int ab8500_fg_suspend(struct platform_device *pdev, · 2410 unmodified lines
24112411 #define ab8500_fg_resume NULL
24122412 #endif
24132413
2414−static int __devexit ab8500_fg_remove(struct platform_device *pdev)
2414+static int ab8500_fg_remove(struct platform_device *pdev)
24152415 {
24162416 int ret = 0;
24172417 struct ab8500_fg *di = platform_get_drvdata(pdev);
@@ -2442,7 +2442,7 @@ static struct ab8500_fg_interrupts ab8500_fg_irq[] = { · 24 unmodified lines
24422442 {"CCEOC", ab8500_fg_cc_data_end_handler},
24432443 };
24442444
2445−static int __devinit ab8500_fg_probe(struct platform_device *pdev)
2445+static int ab8500_fg_probe(struct platform_device *pdev)
24462446 {
24472447 int i, irq;
24482448 int ret = 0;
@@ -2614,7 +2614,7 @@ free_device_info: · 165 unmodified lines
26142614
26152615 static struct platform_driver ab8500_fg_driver = {
26162616 .probe = ab8500_fg_probe,
2617− .remove = __devexit_p(ab8500_fg_remove),
2617+ .remove = ab8500_fg_remove,
26182618 .suspend = ab8500_fg_suspend,
26192619 .resume = ab8500_fg_resume,
26202620 .driver = {
drivers/power/abx500_chargalg.c+3−3
@@ -1782,7 +1782,7 @@ static int abx500_chargalg_suspend(struct platform_device *pdev, · 1781 unmodified lines
17821782 #define abx500_chargalg_resume NULL
17831783 #endif
17841784
1785−static int __devexit abx500_chargalg_remove(struct platform_device *pdev)
1785+static int abx500_chargalg_remove(struct platform_device *pdev)
17861786 {
17871787 struct abx500_chargalg *di = platform_get_drvdata(pdev);
17881788
@@ -1800,7 +1800,7 @@ static int __devexit abx500_chargalg_remove(struct platform_device *pdev) · 11 unmodified lines
18001800 return 0;
18011801 }
18021802
1803−static int __devinit abx500_chargalg_probe(struct platform_device *pdev)
1803+static int abx500_chargalg_probe(struct platform_device *pdev)
18041804 {
18051805 struct abx500_bm_plat_data *plat_data;
18061806 int ret = 0;
@@ -1893,7 +1893,7 @@ free_device_info: · 86 unmodified lines
18931893
18941894 static struct platform_driver abx500_chargalg_driver = {
18951895 .probe = abx500_chargalg_probe,
1896− .remove = __devexit_p(abx500_chargalg_remove),
1896+ .remove = abx500_chargalg_remove,
18971897 .suspend = abx500_chargalg_suspend,
18981898 .resume = abx500_chargalg_resume,
18991899 .driver = {
drivers/power/avs/smartreflex.c+4−4
@@ -1026,7 +1026,7 @@ err_free_devinfo: · 1025 unmodified lines
10261026 return ret;
10271027 }
10281028
1029−static int __devexit omap_sr_remove(struct platform_device *pdev)
1029+static int omap_sr_remove(struct platform_device *pdev)
10301030 {
10311031 struct omap_sr_data *pdata = pdev->dev.platform_data;
10321032 struct omap_sr *sr_info;
@@ -1059,7 +1059,7 @@ static int __devexit omap_sr_remove(struct platform_device *pdev) · 26 unmodified lines
10591059 return 0;
10601060 }
10611061
1062−static void __devexit omap_sr_shutdown(struct platform_device *pdev)
1062+static void omap_sr_shutdown(struct platform_device *pdev)
10631063 {
10641064 struct omap_sr_data *pdata = pdev->dev.platform_data;
10651065 struct omap_sr *sr_info;
@@ -1083,8 +1083,8 @@ static void __devexit omap_sr_shutdown(struct platform_device *pdev) · 17 unmodified lines
10831083 }
10841084
10851085 static struct platform_driver smartreflex_driver = {
1086− .remove = __devexit_p(omap_sr_remove),
1087− .shutdown = __devexit_p(omap_sr_shutdown),
1086+ .remove = omap_sr_remove,
1087+ .shutdown = omap_sr_shutdown,
10881088 .driver = {
10891089 .name = "smartreflex",
10901090 },
drivers/power/bq27x00_battery.c+3−3
@@ -926,7 +926,7 @@ static int bq27000_read_platform(struct bq27x00_device_info *di, u8 reg, · 925 unmodified lines
926926 return pdata->read(dev, reg);
927927 }
928928
929−static int __devinit bq27000_battery_probe(struct platform_device *pdev)
929+static int bq27000_battery_probe(struct platform_device *pdev)
930930 {
931931 struct bq27x00_device_info *di;
932932 struct bq27000_platform_data *pdata = pdev->dev.platform_data;
@@ -969,7 +969,7 @@ err_free: · 36 unmodified lines
969969 return ret;
970970 }
971971
972−static int __devexit bq27000_battery_remove(struct platform_device *pdev)
972+static int bq27000_battery_remove(struct platform_device *pdev)
973973 {
974974 struct bq27x00_device_info *di = platform_get_drvdata(pdev);
975975
@@ -983,7 +983,7 @@ static int __devexit bq27000_battery_remove(struct platform_device *pdev) · 7 unmodified lines
983983
984984 static struct platform_driver bq27000_battery_driver = {
985985 .probe = bq27000_battery_probe,
986− .remove = __devexit_p(bq27000_battery_remove),
986+ .remove = bq27000_battery_remove,
987987 .driver = {
988988 .name = "bq27000-battery",
989989 .owner = THIS_MODULE,
drivers/power/charger-manager.c+2−2
@@ -1655,7 +1655,7 @@ err_alloc: · 1654 unmodified lines
16551655 return ret;
16561656 }
16571657
1658−static int __devexit charger_manager_remove(struct platform_device *pdev)
1658+static int charger_manager_remove(struct platform_device *pdev)
16591659 {
16601660 struct charger_manager *cm = platform_get_drvdata(pdev);
16611661 struct charger_desc *desc = cm->desc;
@@ -1812,7 +1812,7 @@ static struct platform_driver charger_manager_driver = { · 150 unmodified lines
18121812 .pm = &charger_manager_pm,
18131813 },
18141814 .probe = charger_manager_probe,
1815− .remove = __devexit_p(charger_manager_remove),
1815+ .remove = charger_manager_remove,
18161816 .id_table = charger_manager_id,
18171817 };
18181818
drivers/power/collie_battery.c+3−3
@@ -305,7 +305,7 @@ static int collie_bat_resume(struct ucb1x00_dev *dev) · 304 unmodified lines
305305 #define collie_bat_resume NULL
306306 #endif
307307
308−static int __devinit collie_bat_probe(struct ucb1x00_dev *dev)
308+static int collie_bat_probe(struct ucb1x00_dev *dev)
309309 {
310310 int ret;
311311
@@ -349,7 +349,7 @@ err_psy_reg_main: · 37 unmodified lines
349349 return ret;
350350 }
351351
352−static void __devexit collie_bat_remove(struct ucb1x00_dev *dev)
352+static void collie_bat_remove(struct ucb1x00_dev *dev)
353353 {
354354 free_irq(gpio_to_irq(COLLIE_GPIO_CO), &collie_bat_main);
355355
@@ -367,7 +367,7 @@ static void __devexit collie_bat_remove(struct ucb1x00_dev *dev) · 11 unmodified lines
367367
368368 static struct ucb1x00_driver collie_bat_driver = {
369369 .add = collie_bat_probe,
370− .remove = __devexit_p(collie_bat_remove),
370+ .remove = collie_bat_remove,
371371 .suspend = collie_bat_suspend,
372372 .resume = collie_bat_resume,
373373 };
drivers/power/da9052-battery.c+3−3
@@ -576,7 +576,7 @@ static const char *const da9052_bat_irqs[] = { · 575 unmodified lines
576576 "CHG END",
577577 };
578578
579−static s32 __devinit da9052_bat_probe(struct platform_device *pdev)
579+static s32 da9052_bat_probe(struct platform_device *pdev)
580580 {
581581 struct da9052_pdata *pdata;
582582 struct da9052_battery *bat;
@@ -630,7 +630,7 @@ err: · 47 unmodified lines
630630 kfree(bat);
631631 return ret;
632632 }
633−static int __devexit da9052_bat_remove(struct platform_device *pdev)
633+static int da9052_bat_remove(struct platform_device *pdev)
634634 {
635635 int i;
636636 int irq;
@@ -648,7 +648,7 @@ static int __devexit da9052_bat_remove(struct platform_device *pdev) · 11 unmodified lines
648648
649649 static struct platform_driver da9052_bat_driver = {
650650 .probe = da9052_bat_probe,
651− .remove = __devexit_p(da9052_bat_remove),
651+ .remove = da9052_bat_remove,
652652 .driver = {
653653 .name = "da9052-bat",
654654 .owner = THIS_MODULE,
drivers/power/ds2780_battery.c+3−3
@@ -755,7 +755,7 @@ static const struct attribute_group ds2780_attr_group = { · 754 unmodified lines
755755 .attrs = ds2780_attributes,
756756 };
757757
758−static int __devinit ds2780_battery_probe(struct platform_device *pdev)
758+static int ds2780_battery_probe(struct platform_device *pdev)
759759 {
760760 int ret = 0;
761761 struct ds2780_device_info *dev_info;
@@ -819,7 +819,7 @@ fail: · 57 unmodified lines
819819 return ret;
820820 }
821821
822−static int __devexit ds2780_battery_remove(struct platform_device *pdev)
822+static int ds2780_battery_remove(struct platform_device *pdev)
823823 {
824824 struct ds2780_device_info *dev_info = platform_get_drvdata(pdev);
825825
@@ -837,7 +837,7 @@ static struct platform_driver ds2780_battery_driver = { · 11 unmodified lines
837837 .name = "ds2780-battery",
838838 },
839839 .probe = ds2780_battery_probe,
840− .remove = __devexit_p(ds2780_battery_remove),
840+ .remove = ds2780_battery_remove,
841841 };
842842
843843 module_platform_driver(ds2780_battery_driver);
drivers/power/ds2781_battery.c+3−3
@@ -750,7 +750,7 @@ static const struct attribute_group ds2781_attr_group = { · 749 unmodified lines
750750 .attrs = ds2781_attributes,
751751 };
752752
753−static int __devinit ds2781_battery_probe(struct platform_device *pdev)
753+static int ds2781_battery_probe(struct platform_device *pdev)
754754 {
755755 int ret = 0;
756756 struct ds2781_device_info *dev_info;
@@ -810,7 +810,7 @@ fail: · 53 unmodified lines
810810 return ret;
811811 }
812812
813−static int __devexit ds2781_battery_remove(struct platform_device *pdev)
813+static int ds2781_battery_remove(struct platform_device *pdev)
814814 {
815815 struct ds2781_device_info *dev_info = platform_get_drvdata(pdev);
816816
@@ -827,7 +827,7 @@ static struct platform_driver ds2781_battery_driver = { · 10 unmodified lines
827827 .name = "ds2781-battery",
828828 },
829829 .probe = ds2781_battery_probe,
830− .remove = __devexit_p(ds2781_battery_remove),
830+ .remove = ds2781_battery_remove,
831831 };
832832 module_platform_driver(ds2781_battery_driver);
833833
drivers/power/generic-adc-battery.c+3−3
@@ -236,7 +236,7 @@ static irqreturn_t gab_charged(int irq, void *dev_id) · 235 unmodified lines
236236 return IRQ_HANDLED;
237237 }
238238
239−static int __devinit gab_probe(struct platform_device *pdev)
239+static int gab_probe(struct platform_device *pdev)
240240 {
241241 struct gab *adc_bat;
242242 struct power_supply *psy;
@@ -351,7 +351,7 @@ first_mem_fail: · 108 unmodified lines
351351 return ret;
352352 }
353353
354−static int __devexit gab_remove(struct platform_device *pdev)
354+static int gab_remove(struct platform_device *pdev)
355355 {
356356 int chan;
357357 struct gab *adc_bat = platform_get_drvdata(pdev);
@@ -413,7 +413,7 @@ static struct platform_driver gab_driver = { · 55 unmodified lines
413413 .pm = GAB_PM_OPS
414414 },
415415 .probe = gab_probe,
416− .remove = __devexit_p(gab_remove),
416+ .remove = gab_remove,
417417 };
418418 module_platform_driver(gab_driver);
419419
drivers/power/gpio-charger.c+3−3
@@ -68,7 +68,7 @@ static enum power_supply_property gpio_charger_properties[] = { · 67 unmodified lines
6868 POWER_SUPPLY_PROP_ONLINE,
6969 };
7070
71−static int __devinit gpio_charger_probe(struct platform_device *pdev)
71+static int gpio_charger_probe(struct platform_device *pdev)
7272 {
7373 const struct gpio_charger_platform_data *pdata = pdev->dev.platform_data;
7474 struct gpio_charger *gpio_charger;
@@ -144,7 +144,7 @@ err_free: · 69 unmodified lines
144144 return ret;
145145 }
146146
147−static int __devexit gpio_charger_remove(struct platform_device *pdev)
147+static int gpio_charger_remove(struct platform_device *pdev)
148148 {
149149 struct gpio_charger *gpio_charger = platform_get_drvdata(pdev);
150150
@@ -177,7 +177,7 @@ static SIMPLE_DEV_PM_OPS(gpio_charger_pm_ops, NULL, gpio_charger_resume); · 26 unmodified lines
177177
178178 static struct platform_driver gpio_charger_driver = {
179179 .probe = gpio_charger_probe,
180− .remove = __devexit_p(gpio_charger_remove),
180+ .remove = gpio_charger_remove,
181181 .driver = {
182182 .name = "gpio-charger",
183183 .owner = THIS_MODULE,
drivers/power/intel_mid_battery.c+4−4
@@ -649,7 +649,7 @@ static void pmic_battery_handle_intrpt(struct work_struct *work) · 648 unmodified lines
649649 * PMIC battery initializes its internal data structue and other
650650 * infrastructure components for it to work as expected.
651651 */
652−static __devinit int probe(int irq, struct device *dev)
652+static int probe(int irq, struct device *dev)
653653 {
654654 int retval = 0;
655655 struct pmic_power_module_info *pbi;
@@ -739,7 +739,7 @@ wqueue_failed: · 83 unmodified lines
739739 return retval;
740740 }
741741
742−static int __devinit platform_pmic_battery_probe(struct platform_device *pdev)
742+static int platform_pmic_battery_probe(struct platform_device *pdev)
743743 {
744744 return probe(pdev->id, &pdev->dev);
745745 }
@@ -754,7 +754,7 @@ static int __devinit platform_pmic_battery_probe(struct platform_device *pdev) · 8 unmodified lines
754754 * pmic_battery_probe.
755755 */
756756
757−static int __devexit platform_pmic_battery_remove(struct platform_device *pdev)
757+static int platform_pmic_battery_remove(struct platform_device *pdev)
758758 {
759759 struct pmic_power_module_info *pbi = dev_get_drvdata(&pdev->dev);
760760
@@ -776,7 +776,7 @@ static struct platform_driver platform_pmic_battery_driver = { · 15 unmodified lines
776776 .owner = THIS_MODULE,
777777 },
778778 .probe = platform_pmic_battery_probe,
779− .remove = __devexit_p(platform_pmic_battery_remove),
779+ .remove = platform_pmic_battery_remove,
780780 };
781781
782782 module_platform_driver(platform_pmic_battery_driver);
drivers/power/isp1704_charger.c+3−3
@@ -406,7 +406,7 @@ static inline int isp1704_test_ulpi(struct isp1704_charger *isp) · 405 unmodified lines
406406 return -ENODEV;
407407 }
408408
409−static int __devinit isp1704_charger_probe(struct platform_device *pdev)
409+static int isp1704_charger_probe(struct platform_device *pdev)
410410 {
411411 struct isp1704_charger *isp;
412412 int ret = -ENODEV;
@@ -484,7 +484,7 @@ fail0: · 71 unmodified lines
484484 return ret;
485485 }
486486
487−static int __devexit isp1704_charger_remove(struct platform_device *pdev)
487+static int isp1704_charger_remove(struct platform_device *pdev)
488488 {
489489 struct isp1704_charger *isp = platform_get_drvdata(pdev);
490490
@@ -502,7 +502,7 @@ static struct platform_driver isp1704_charger_driver = { · 11 unmodified lines
502502 .name = "isp1704_charger",
503503 },
504504 .probe = isp1704_charger_probe,
505− .remove = __devexit_p(isp1704_charger_remove),
505+ .remove = isp1704_charger_remove,
506506 };
507507
508508 module_platform_driver(isp1704_charger_driver);
drivers/power/jz4740-battery.c+3−3
@@ -238,7 +238,7 @@ static void jz_battery_work(struct work_struct *work) · 237 unmodified lines
238238 schedule_delayed_work(&jz_battery->work, interval);
239239 }
240240
241−static int __devinit jz_battery_probe(struct platform_device *pdev)
241+static int jz_battery_probe(struct platform_device *pdev)
242242 {
243243 int ret = 0;
244244 struct jz_battery_platform_data *pdata = pdev->dev.parent->platform_data;
@@ -376,7 +376,7 @@ err_free: · 131 unmodified lines
376376 return ret;
377377 }
378378
379−static int __devexit jz_battery_remove(struct platform_device *pdev)
379+static int jz_battery_remove(struct platform_device *pdev)
380380 {
381381 struct jz_battery *jz_battery = platform_get_drvdata(pdev);
382382
@@ -431,7 +431,7 @@ static const struct dev_pm_ops jz_battery_pm_ops = { · 48 unmodified lines
431431
432432 static struct platform_driver jz_battery_driver = {
433433 .probe = jz_battery_probe,
434− .remove = __devexit_p(jz_battery_remove),
434+ .remove = jz_battery_remove,
435435 .driver = {
436436 .name = "jz4740-battery",
437437 .owner = THIS_MODULE,
drivers/power/lp8727_charger.c+2−2
@@ -522,7 +522,7 @@ static int lp8727_probe(struct i2c_client *cl, const struct i2c_device_id *id) · 521 unmodified lines
522522 return 0;
523523 }
524524
525−static int __devexit lp8727_remove(struct i2c_client *cl)
525+static int lp8727_remove(struct i2c_client *cl)
526526 {
527527 struct lp8727_chg *pchg = i2c_get_clientdata(cl);
528528
@@ -542,7 +542,7 @@ static struct i2c_driver lp8727_driver = { · 13 unmodified lines
542542 .name = "lp8727",
543543 },
544544 .probe = lp8727_probe,
545− .remove = __devexit_p(lp8727_remove),
545+ .remove = lp8727_remove,
546546 .id_table = lp8727_ids,
547547 };
548548 module_i2c_driver(lp8727_driver);
drivers/power/lp8788-charger.c+3−3
@@ -729,7 +729,7 @@ static const struct attribute_group lp8788_attr_group = { · 728 unmodified lines
729729 .attrs = lp8788_charger_attr,
730730 };
731731
732−static __devinit int lp8788_charger_probe(struct platform_device *pdev)
732+static int lp8788_charger_probe(struct platform_device *pdev)
733733 {
734734 struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent);
735735 struct lp8788_charger *pchg;
@@ -766,7 +766,7 @@ static __devinit int lp8788_charger_probe(struct platform_device *pdev) · 30 unmodified lines
766766 return 0;
767767 }
768768
769−static int __devexit lp8788_charger_remove(struct platform_device *pdev)
769+static int lp8788_charger_remove(struct platform_device *pdev)
770770 {
771771 struct lp8788_charger *pchg = platform_get_drvdata(pdev);
772772
@@ -781,7 +781,7 @@ static int __devexit lp8788_charger_remove(struct platform_device *pdev) · 8 unmodified lines
781781
782782 static struct platform_driver lp8788_charger_driver = {
783783 .probe = lp8788_charger_probe,
784− .remove = __devexit_p(lp8788_charger_remove),
784+ .remove = lp8788_charger_remove,
785785 .driver = {
786786 .name = LP8788_DEV_CHARGER,
787787 .owner = THIS_MODULE,
drivers/power/max17040_battery.c+3−3
@@ -197,7 +197,7 @@ static enum power_supply_property max17040_battery_props[] = { · 196 unmodified lines
197197 POWER_SUPPLY_PROP_CAPACITY,
198198 };
199199
200−static int __devinit max17040_probe(struct i2c_client *client,
200+static int max17040_probe(struct i2c_client *client,
201201 const struct i2c_device_id *id)
202202 {
203203 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
@@ -238,7 +238,7 @@ static int __devinit max17040_probe(struct i2c_client *client, · 34 unmodified lines
238238 return 0;
239239 }
240240
241−static int __devexit max17040_remove(struct i2c_client *client)
241+static int max17040_remove(struct i2c_client *client)
242242 {
243243 struct max17040_chip *chip = i2c_get_clientdata(client);
244244
@@ -285,7 +285,7 @@ static struct i2c_driver max17040_i2c_driver = { · 40 unmodified lines
285285 .name = "max17040",
286286 },
287287 .probe = max17040_probe,
288− .remove = __devexit_p(max17040_remove),
288+ .remove = max17040_remove,
289289 .suspend = max17040_suspend,
290290 .resume = max17040_resume,
291291 .id_table = max17040_id,
drivers/power/max17042_battery.c+3−3
@@ -681,7 +681,7 @@ max17042_get_pdata(struct device *dev) · 680 unmodified lines
681681 }
682682 #endif
683683
684−static int __devinit max17042_probe(struct i2c_client *client,
684+static int max17042_probe(struct i2c_client *client,
685685 const struct i2c_device_id *id)
686686 {
687687 struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent);
@@ -775,7 +775,7 @@ static int __devinit max17042_probe(struct i2c_client *client, · 87 unmodified lines
775775 return 0;
776776 }
777777
778−static int __devexit max17042_remove(struct i2c_client *client)
778+static int max17042_remove(struct i2c_client *client)
779779 {
780780 struct max17042_chip *chip = i2c_get_clientdata(client);
781781
@@ -851,7 +851,7 @@ static struct i2c_driver max17042_i2c_driver = { · 69 unmodified lines
851851 .pm = MAX17042_PM_OPS,
852852 },
853853 .probe = max17042_probe,
854− .remove = __devexit_p(max17042_remove),
854+ .remove = max17042_remove,
855855 .id_table = max17042_id,
856856 };
857857 module_i2c_driver(max17042_i2c_driver);
drivers/power/max8903_charger.c+3−3
@@ -179,7 +179,7 @@ static irqreturn_t max8903_fault(int irq, void *_data) · 178 unmodified lines
179179 return IRQ_HANDLED;
180180 }
181181
182−static __devinit int max8903_probe(struct platform_device *pdev)
182+static int max8903_probe(struct platform_device *pdev)
183183 {
184184 struct max8903_data *data;
185185 struct device *dev = &pdev->dev;
@@ -345,7 +345,7 @@ err: · 159 unmodified lines
345345 return ret;
346346 }
347347
348−static __devexit int max8903_remove(struct platform_device *pdev)
348+static int max8903_remove(struct platform_device *pdev)
349349 {
350350 struct max8903_data *data = platform_get_drvdata(pdev);
351351
@@ -367,7 +367,7 @@ static __devexit int max8903_remove(struct platform_device *pdev) · 15 unmodified lines
367367
368368 static struct platform_driver max8903_driver = {
369369 .probe = max8903_probe,
370− .remove = __devexit_p(max8903_remove),
370+ .remove = max8903_remove,
371371 .driver = {
372372 .name = "max8903-charger",
373373 .owner = THIS_MODULE,
drivers/power/max8925_power.c+5−5
@@ -356,7 +356,7 @@ do { \ · 355 unmodified lines
356356 _irq, ret); \
357357 } while (0)
358358
359−static __devinit int max8925_init_charger(struct max8925_chip *chip,
359+static int max8925_init_charger(struct max8925_chip *chip,
360360 struct max8925_power_info *info)
361361 {
362362 int ret;
@@ -414,7 +414,7 @@ static __devinit int max8925_init_charger(struct max8925_chip *chip, · 51 unmodified lines
414414 return 0;
415415 }
416416
417−static __devexit int max8925_deinit_charger(struct max8925_power_info *info)
417+static int max8925_deinit_charger(struct max8925_power_info *info)
418418 {
419419 struct max8925_chip *chip = info->chip;
420420 int irq;
@@ -426,7 +426,7 @@ static __devexit int max8925_deinit_charger(struct max8925_power_info *info) · 5 unmodified lines
426426 return 0;
427427 }
428428
429−static __devinit int max8925_power_probe(struct platform_device *pdev)
429+static int max8925_power_probe(struct platform_device *pdev)
430430 {
431431 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent);
432432 struct max8925_power_pdata *pdata = NULL;
@@ -501,7 +501,7 @@ out: · 68 unmodified lines
501501 return ret;
502502 }
503503
504−static __devexit int max8925_power_remove(struct platform_device *pdev)
504+static int max8925_power_remove(struct platform_device *pdev)
505505 {
506506 struct max8925_power_info *info = platform_get_drvdata(pdev);
507507
@@ -517,7 +517,7 @@ static __devexit int max8925_power_remove(struct platform_device *pdev) · 9 unmodified lines
517517
518518 static struct platform_driver max8925_power_driver = {
519519 .probe = max8925_power_probe,
520− .remove = __devexit_p(max8925_power_remove),
520+ .remove = max8925_power_remove,
521521 .driver = {
522522 .name = "max8925-power",
523523 },
drivers/power/max8997_charger.c+3−3
@@ -86,7 +86,7 @@ static int max8997_battery_get_property(struct power_supply *psy, · 85 unmodified lines
8686 return 0;
8787 }
8888
89−static __devinit int max8997_battery_probe(struct platform_device *pdev)
89+static int max8997_battery_probe(struct platform_device *pdev)
9090 {
9191 int ret = 0;
9292 struct charger_data *charger;
@@ -167,7 +167,7 @@ err: · 74 unmodified lines
167167 return ret;
168168 }
169169
170−static int __devexit max8997_battery_remove(struct platform_device *pdev)
170+static int max8997_battery_remove(struct platform_device *pdev)
171171 {
172172 struct charger_data *charger = platform_get_drvdata(pdev);
173173
@@ -187,7 +187,7 @@ static struct platform_driver max8997_battery_driver = { · 13 unmodified lines
187187 .owner = THIS_MODULE,
188188 },
189189 .probe = max8997_battery_probe,
190− .remove = __devexit_p(max8997_battery_remove),
190+ .remove = max8997_battery_remove,
191191 .id_table = max8997_battery_id,
192192 };
193193
drivers/power/max8998_charger.c+3−3
@@ -75,7 +75,7 @@ static int max8998_battery_get_property(struct power_supply *psy, · 74 unmodified lines
7575 return 0;
7676 }
7777
78−static __devinit int max8998_battery_probe(struct platform_device *pdev)
78+static int max8998_battery_probe(struct platform_device *pdev)
7979 {
8080 struct max8998_dev *iodev = dev_get_drvdata(pdev->dev.parent);
8181 struct max8998_platform_data *pdata = dev_get_platdata(iodev->dev);
@@ -178,7 +178,7 @@ err: · 96 unmodified lines
178178 return ret;
179179 }
180180
181−static int __devexit max8998_battery_remove(struct platform_device *pdev)
181+static int max8998_battery_remove(struct platform_device *pdev)
182182 {
183183 struct max8998_battery_data *max8998 = platform_get_drvdata(pdev);
184184
@@ -199,7 +199,7 @@ static struct platform_driver max8998_battery_driver = { · 14 unmodified lines
199199 .owner = THIS_MODULE,
200200 },
201201 .probe = max8998_battery_probe,
202− .remove = __devexit_p(max8998_battery_remove),
202+ .remove = max8998_battery_remove,
203203 .id_table = max8998_battery_id,
204204 };
205205
drivers/power/olpc_battery.c+3−3
@@ -598,7 +598,7 @@ static int olpc_battery_suspend(struct platform_device *pdev, · 597 unmodified lines
598598 return 0;
599599 }
600600
601−static int __devinit olpc_battery_probe(struct platform_device *pdev)
601+static int olpc_battery_probe(struct platform_device *pdev)
602602 {
603603 int ret;
604604 uint8_t status;
@@ -659,7 +659,7 @@ battery_failed: · 54 unmodified lines
659659 return ret;
660660 }
661661
662−static int __devexit olpc_battery_remove(struct platform_device *pdev)
662+static int olpc_battery_remove(struct platform_device *pdev)
663663 {
664664 device_remove_file(olpc_bat.dev, &olpc_bat_error);
665665 device_remove_bin_file(olpc_bat.dev, &olpc_bat_eeprom);
@@ -681,7 +681,7 @@ static struct platform_driver olpc_battery_driver = { · 15 unmodified lines
681681 .of_match_table = olpc_battery_ids,
682682 },
683683 .probe = olpc_battery_probe,
684− .remove = __devexit_p(olpc_battery_remove),
684+ .remove = olpc_battery_remove,
685685 .suspend = olpc_battery_suspend,
686686 };
687687
drivers/power/pcf50633-charger.c+3−3
@@ -366,7 +366,7 @@ static const u8 mbc_irq_handlers[] = { · 365 unmodified lines
366366 PCF50633_IRQ_LOWBAT,
367367 };
368368
369−static int __devinit pcf50633_mbc_probe(struct platform_device *pdev)
369+static int pcf50633_mbc_probe(struct platform_device *pdev)
370370 {
371371 struct pcf50633_mbc *mbc;
372372 int ret;
@@ -447,7 +447,7 @@ static int __devinit pcf50633_mbc_probe(struct platform_device *pdev) · 74 unmodified lines
447447 return 0;
448448 }
449449
450−static int __devexit pcf50633_mbc_remove(struct platform_device *pdev)
450+static int pcf50633_mbc_remove(struct platform_device *pdev)
451451 {
452452 struct pcf50633_mbc *mbc = platform_get_drvdata(pdev);
453453 int i;
@@ -471,7 +471,7 @@ static struct platform_driver pcf50633_mbc_driver = { · 17 unmodified lines
471471 .name = "pcf50633-mbc",
472472 },
473473 .probe = pcf50633_mbc_probe,
474− .remove = __devexit_p(pcf50633_mbc_remove),
474+ .remove = pcf50633_mbc_remove,
475475 };
476476
477477 module_platform_driver(pcf50633_mbc_driver);
drivers/power/s3c_adc_battery.c+1−1
@@ -286,7 +286,7 @@ static irqreturn_t s3c_adc_bat_charged(int irq, void *dev_id) · 285 unmodified lines
286286 return IRQ_HANDLED;
287287 }
288288
289−static int __devinit s3c_adc_bat_probe(struct platform_device *pdev)
289+static int s3c_adc_bat_probe(struct platform_device *pdev)
290290 {
291291 struct s3c_adc_client *client;
292292 struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data;
drivers/power/sbs-battery.c+3−3
@@ -675,7 +675,7 @@ static struct sbs_platform_data *sbs_of_populate_pdata( · 674 unmodified lines
675675 }
676676 #endif
677677
678−static int __devinit sbs_probe(struct i2c_client *client,
678+static int sbs_probe(struct i2c_client *client,
679679 const struct i2c_device_id *id)
680680 {
681681 struct sbs_info *chip;
@@ -800,7 +800,7 @@ exit_free_name: · 118 unmodified lines
800800 return rc;
801801 }
802802
803−static int __devexit sbs_remove(struct i2c_client *client)
803+static int sbs_remove(struct i2c_client *client)
804804 {
805805 struct sbs_info *chip = i2c_get_clientdata(client);
806806
@@ -853,7 +853,7 @@ MODULE_DEVICE_TABLE(i2c, sbs_id); · 46 unmodified lines
853853
854854 static struct i2c_driver sbs_battery_driver = {
855855 .probe = sbs_probe,
856− .remove = __devexit_p(sbs_remove),
856+ .remove = sbs_remove,
857857 .suspend = sbs_suspend,
858858 .resume = sbs_resume,
859859 .id_table = sbs_id,
drivers/power/smb347-charger.c+1−1
@@ -1313,7 +1313,7 @@ static struct i2c_driver smb347_driver = { · 1312 unmodified lines
13131313 .name = "smb347",
13141314 },
13151315 .probe = smb347_probe,
1316− .remove = __devexit_p(smb347_remove),
1316+ .remove = smb347_remove,
13171317 .id_table = smb347_id,
13181318 };
13191319
drivers/power/tosa_battery.c+3−3
@@ -342,7 +342,7 @@ static int tosa_bat_resume(struct platform_device *dev) · 341 unmodified lines
342342 #define tosa_bat_resume NULL
343343 #endif
344344
345−static int __devinit tosa_bat_probe(struct platform_device *dev)
345+static int tosa_bat_probe(struct platform_device *dev)
346346 {
347347 int ret;
348348
@@ -409,7 +409,7 @@ err_psy_reg_main: · 60 unmodified lines
409409 return ret;
410410 }
411411
412−static int __devexit tosa_bat_remove(struct platform_device *dev)
412+static int tosa_bat_remove(struct platform_device *dev)
413413 {
414414 free_irq(gpio_to_irq(TOSA_GPIO_JACKET_DETECT), &tosa_bat_jacket);
415415 free_irq(gpio_to_irq(TOSA_GPIO_BAT1_CRG), &tosa_bat_jacket);
@@ -433,7 +433,7 @@ static struct platform_driver tosa_bat_driver = { · 17 unmodified lines
433433 .driver.name = "wm97xx-battery",
434434 .driver.owner = THIS_MODULE,
435435 .probe = tosa_bat_probe,
436− .remove = __devexit_p(tosa_bat_remove),
436+ .remove = tosa_bat_remove,
437437 .suspend = tosa_bat_suspend,
438438 .resume = tosa_bat_resume,
439439 };
drivers/power/wm831x_backup.c+3−3
@@ -161,7 +161,7 @@ static enum power_supply_property wm831x_backup_props[] = { · 160 unmodified lines
161161 * Initialisation
162162 *********************************************************************/
163163
164−static __devinit int wm831x_backup_probe(struct platform_device *pdev)
164+static int wm831x_backup_probe(struct platform_device *pdev)
165165 {
166166 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
167167 struct wm831x_pdata *wm831x_pdata = wm831x->dev->platform_data;
@@ -207,7 +207,7 @@ err_kmalloc: · 39 unmodified lines
207207 return ret;
208208 }
209209
210−static __devexit int wm831x_backup_remove(struct platform_device *pdev)
210+static int wm831x_backup_remove(struct platform_device *pdev)
211211 {
212212 struct wm831x_backup *devdata = platform_get_drvdata(pdev);
213213
@@ -220,7 +220,7 @@ static __devexit int wm831x_backup_remove(struct platform_device *pdev) · 6 unmodified lines
220220
221221 static struct platform_driver wm831x_backup_driver = {
222222 .probe = wm831x_backup_probe,
223− .remove = __devexit_p(wm831x_backup_remove),
223+ .remove = wm831x_backup_remove,
224224 .driver = {
225225 .name = "wm831x-backup",
226226 },
drivers/power/wm831x_power.c+3−3
@@ -489,7 +489,7 @@ static irqreturn_t wm831x_pwr_src_irq(int irq, void *data) · 488 unmodified lines
489489 return IRQ_HANDLED;
490490 }
491491
492−static __devinit int wm831x_power_probe(struct platform_device *pdev)
492+static int wm831x_power_probe(struct platform_device *pdev)
493493 {
494494 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
495495 struct wm831x_pdata *wm831x_pdata = wm831x->dev->platform_data;
@@ -625,7 +625,7 @@ err_kmalloc: · 129 unmodified lines
625625 return ret;
626626 }
627627
628−static __devexit int wm831x_power_remove(struct platform_device *pdev)
628+static int wm831x_power_remove(struct platform_device *pdev)
629629 {
630630 struct wm831x_power *wm831x_power = platform_get_drvdata(pdev);
631631 struct wm831x *wm831x = wm831x_power->wm831x;
@@ -654,7 +654,7 @@ static __devexit int wm831x_power_remove(struct platform_device *pdev) · 22 unmodified lines
654654
655655 static struct platform_driver wm831x_power_driver = {
656656 .probe = wm831x_power_probe,
657− .remove = __devexit_p(wm831x_power_remove),
657+ .remove = wm831x_power_remove,
658658 .driver = {
659659 .name = "wm831x-power",
660660 },
drivers/power/wm8350_power.c+3−3
@@ -442,7 +442,7 @@ static void free_charger_irq(struct wm8350 *wm8350) · 441 unmodified lines
442442 wm8350_free_irq(wm8350, WM8350_IRQ_EXT_BAT_FB, wm8350);
443443 }
444444
445−static __devinit int wm8350_power_probe(struct platform_device *pdev)
445+static int wm8350_power_probe(struct platform_device *pdev)
446446 {
447447 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
448448 struct wm8350_power *power = &wm8350->power;
@@ -501,7 +501,7 @@ battery_failed: · 52 unmodified lines
501501 return ret;
502502 }
503503
504−static __devexit int wm8350_power_remove(struct platform_device *pdev)
504+static int wm8350_power_remove(struct platform_device *pdev)
505505 {
506506 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
507507 struct wm8350_power *power = &wm8350->power;
@@ -516,7 +516,7 @@ static __devexit int wm8350_power_remove(struct platform_device *pdev) · 8 unmodified lines
516516
517517 static struct platform_driver wm8350_power_driver = {
518518 .probe = wm8350_power_probe,
519− .remove = __devexit_p(wm8350_power_remove),
519+ .remove = wm8350_power_remove,
520520 .driver = {
521521 .name = "wm8350-power",
522522 },
drivers/power/wm97xx_battery.c+3−3
@@ -162,7 +162,7 @@ static const struct dev_pm_ops wm97xx_bat_pm_ops = { · 161 unmodified lines
162162 };
163163 #endif
164164
165−static int __devinit wm97xx_bat_probe(struct platform_device *dev)
165+static int wm97xx_bat_probe(struct platform_device *dev)
166166 {
167167 int ret = 0;
168168 int props = 1; /* POWER_SUPPLY_PROP_PRESENT */
@@ -263,7 +263,7 @@ err: · 94 unmodified lines
263263 return ret;
264264 }
265265
266−static int __devexit wm97xx_bat_remove(struct platform_device *dev)
266+static int wm97xx_bat_remove(struct platform_device *dev)
267267 {
268268 struct wm97xx_pdata *wmdata = dev->dev.platform_data;
269269 struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata;
@@ -287,7 +287,7 @@ static struct platform_driver wm97xx_bat_driver = { · 17 unmodified lines
287287 #endif
288288 },
289289 .probe = wm97xx_bat_probe,
290− .remove = __devexit_p(wm97xx_bat_remove),
290+ .remove = wm97xx_bat_remove,
291291 };
292292
293293 module_platform_driver(wm97xx_bat_driver);
drivers/power/z2_battery.c+3−3
@@ -180,7 +180,7 @@ static int z2_batt_ps_init(struct z2_charger *charger, int props) · 179 unmodified lines
180180 return 0;
181181 }
182182
183−static int __devinit z2_batt_probe(struct i2c_client *client,
183+static int z2_batt_probe(struct i2c_client *client,
184184 const struct i2c_device_id *id)
185185 {
186186 int ret = 0;
@@ -251,7 +251,7 @@ err: · 64 unmodified lines
251251 return ret;
252252 }
253253
254−static int __devexit z2_batt_remove(struct i2c_client *client)
254+static int z2_batt_remove(struct i2c_client *client)
255255 {
256256 struct z2_charger *charger = i2c_get_clientdata(client);
257257 struct z2_battery_info *info = charger->info;
@@ -313,7 +313,7 @@ static struct i2c_driver z2_batt_driver = { · 55 unmodified lines
313313 .pm = Z2_BATTERY_PM_OPS
314314 },
315315 .probe = z2_batt_probe,
316− .remove = __devexit_p(z2_batt_remove),
316+ .remove = z2_batt_remove,
317317 .id_table = z2_batt_id,
318318 };
319319 module_i2c_driver(z2_batt_driver);
drivers/ptp/ptp_pch.c+2−2
@@ -557,7 +557,7 @@ static s32 pch_resume(struct pci_dev *pdev) · 556 unmodified lines
557557 #define pch_resume NULL
558558 #endif
559559
560−static void __devexit pch_remove(struct pci_dev *pdev)
560+static void pch_remove(struct pci_dev *pdev)
561561 {
562562 struct pch_dev *chip = pci_get_drvdata(pdev);
563563
@@ -581,7 +581,7 @@ static void __devexit pch_remove(struct pci_dev *pdev) · 17 unmodified lines
581581 dev_info(&pdev->dev, "complete\n");
582582 }
583583
584−static s32 __devinit
584+static s32
585585 pch_probe(struct pci_dev *pdev, const struct pci_device_id *id)
586586 {
587587 s32 ret;
drivers/pwm/pwm-ab8500.c+3−3
@@ -90,7 +90,7 @@ static const struct pwm_ops ab8500_pwm_ops = { · 89 unmodified lines
9090 .disable = ab8500_pwm_disable,
9191 };
9292
93−static int __devinit ab8500_pwm_probe(struct platform_device *pdev)
93+static int ab8500_pwm_probe(struct platform_device *pdev)
9494 {
9595 struct ab8500_pwm_chip *ab8500;
9696 int err;
@@ -122,7 +122,7 @@ static int __devinit ab8500_pwm_probe(struct platform_device *pdev) · 25 unmodified lines
122122 return 0;
123123 }
124124
125−static int __devexit ab8500_pwm_remove(struct platform_device *pdev)
125+static int ab8500_pwm_remove(struct platform_device *pdev)
126126 {
127127 struct ab8500_pwm_chip *ab8500 = platform_get_drvdata(pdev);
128128 int err;
@@ -143,7 +143,7 @@ static struct platform_driver ab8500_pwm_driver = { · 14 unmodified lines
143143 .owner = THIS_MODULE,
144144 },
145145 .probe = ab8500_pwm_probe,
146− .remove = __devexit_p(ab8500_pwm_remove),
146+ .remove = ab8500_pwm_remove,
147147 };
148148 module_platform_driver(ab8500_pwm_driver);
149149
drivers/pwm/pwm-bfin.c+2−2
@@ -139,7 +139,7 @@ static int bfin_pwm_probe(struct platform_device *pdev) · 138 unmodified lines
139139 return 0;
140140 }
141141
142−static int __devexit bfin_pwm_remove(struct platform_device *pdev)
142+static int bfin_pwm_remove(struct platform_device *pdev)
143143 {
144144 struct bfin_pwm_chip *pwm = platform_get_drvdata(pdev);
145145
@@ -151,7 +151,7 @@ static struct platform_driver bfin_pwm_driver = { · 5 unmodified lines
151151 .name = "bfin-pwm",
152152 },
153153 .probe = bfin_pwm_probe,
154− .remove = __devexit_p(bfin_pwm_remove),
154+ .remove = bfin_pwm_remove,
155155 };
156156
157157 module_platform_driver(bfin_pwm_driver);
drivers/pwm/pwm-imx.c+3−3
@@ -231,7 +231,7 @@ static const struct of_device_id imx_pwm_dt_ids[] = { · 230 unmodified lines
231231 };
232232 MODULE_DEVICE_TABLE(of, imx_pwm_dt_ids);
233233
234−static int __devinit imx_pwm_probe(struct platform_device *pdev)
234+static int imx_pwm_probe(struct platform_device *pdev)
235235 {
236236 const struct of_device_id *of_id =
237237 of_match_device(imx_pwm_dt_ids, &pdev->dev);
@@ -290,7 +290,7 @@ static int __devinit imx_pwm_probe(struct platform_device *pdev) · 52 unmodified lines
290290 return 0;
291291 }
292292
293−static int __devexit imx_pwm_remove(struct platform_device *pdev)
293+static int imx_pwm_remove(struct platform_device *pdev)
294294 {
295295 struct imx_chip *imx;
296296
@@ -307,7 +307,7 @@ static struct platform_driver imx_pwm_driver = { · 10 unmodified lines
307307 .of_match_table = of_match_ptr(imx_pwm_dt_ids),
308308 },
309309 .probe = imx_pwm_probe,
310− .remove = __devexit_p(imx_pwm_remove),
310+ .remove = imx_pwm_remove,
311311 };
312312
313313 module_platform_driver(imx_pwm_driver);
drivers/pwm/pwm-jz4740.c+3−3
@@ -162,7 +162,7 @@ static const struct pwm_ops jz4740_pwm_ops = { · 161 unmodified lines
162162 .owner = THIS_MODULE,
163163 };
164164
165−static int __devinit jz4740_pwm_probe(struct platform_device *pdev)
165+static int jz4740_pwm_probe(struct platform_device *pdev)
166166 {
167167 struct jz4740_pwm_chip *jz4740;
168168 int ret;
@@ -191,7 +191,7 @@ static int __devinit jz4740_pwm_probe(struct platform_device *pdev) · 22 unmodified lines
191191 return 0;
192192 }
193193
194−static int __devexit jz4740_pwm_remove(struct platform_device *pdev)
194+static int jz4740_pwm_remove(struct platform_device *pdev)
195195 {
196196 struct jz4740_pwm_chip *jz4740 = platform_get_drvdata(pdev);
197197 int ret;
@@ -211,7 +211,7 @@ static struct platform_driver jz4740_pwm_driver = { · 13 unmodified lines
211211 .owner = THIS_MODULE,
212212 },
213213 .probe = jz4740_pwm_probe,
214− .remove = __devexit_p(jz4740_pwm_remove),
214+ .remove = jz4740_pwm_remove,
215215 };
216216 module_platform_driver(jz4740_pwm_driver);
217217
drivers/pwm/pwm-lpc32xx.c+2−2
@@ -118,7 +118,7 @@ static int lpc32xx_pwm_probe(struct platform_device *pdev) · 117 unmodified lines
118118 return 0;
119119 }
120120
121−static int __devexit lpc32xx_pwm_remove(struct platform_device *pdev)
121+static int lpc32xx_pwm_remove(struct platform_device *pdev)
122122 {
123123 struct lpc32xx_pwm_chip *lpc32xx = platform_get_drvdata(pdev);
124124
@@ -138,7 +138,7 @@ static struct platform_driver lpc32xx_pwm_driver = { · 13 unmodified lines
138138 .of_match_table = of_match_ptr(lpc32xx_pwm_dt_ids),
139139 },
140140 .probe = lpc32xx_pwm_probe,
141− .remove = __devexit_p(lpc32xx_pwm_remove),
141+ .remove = lpc32xx_pwm_remove,
142142 };
143143 module_platform_driver(lpc32xx_pwm_driver);
144144
drivers/pwm/pwm-mxs.c+2−2
@@ -174,7 +174,7 @@ static int mxs_pwm_probe(struct platform_device *pdev) · 173 unmodified lines
174174 return 0;
175175 }
176176
177−static int __devexit mxs_pwm_remove(struct platform_device *pdev)
177+static int mxs_pwm_remove(struct platform_device *pdev)
178178 {
179179 struct mxs_pwm_chip *mxs = platform_get_drvdata(pdev);
180180
@@ -193,7 +193,7 @@ static struct platform_driver mxs_pwm_driver = { · 12 unmodified lines
193193 .of_match_table = of_match_ptr(mxs_pwm_dt_ids),
194194 },
195195 .probe = mxs_pwm_probe,
196− .remove = __devexit_p(mxs_pwm_remove),
196+ .remove = mxs_pwm_remove,
197197 };
198198 module_platform_driver(mxs_pwm_driver);
199199
drivers/pwm/pwm-puv3.c+3−3
@@ -101,7 +101,7 @@ static const struct pwm_ops puv3_pwm_ops = { · 100 unmodified lines
101101 .owner = THIS_MODULE,
102102 };
103103
104−static int __devinit pwm_probe(struct platform_device *pdev)
104+static int pwm_probe(struct platform_device *pdev)
105105 {
106106 struct puv3_pwm_chip *puv3;
107107 struct resource *r;
@@ -142,7 +142,7 @@ static int __devinit pwm_probe(struct platform_device *pdev) · 34 unmodified lines
142142 return 0;
143143 }
144144
145−static int __devexit pwm_remove(struct platform_device *pdev)
145+static int pwm_remove(struct platform_device *pdev)
146146 {
147147 struct puv3_pwm_chip *puv3 = platform_get_drvdata(pdev);
148148
@@ -154,7 +154,7 @@ static struct platform_driver puv3_pwm_driver = { · 5 unmodified lines
154154 .name = "PKUnity-v3-PWM",
155155 },
156156 .probe = pwm_probe,
157− .remove = __devexit_p(pwm_remove),
157+ .remove = pwm_remove,
158158 };
159159 module_platform_driver(puv3_pwm_driver);
160160
drivers/pwm/pwm-pxa.c+3−3
@@ -135,7 +135,7 @@ static struct pwm_ops pxa_pwm_ops = { · 134 unmodified lines
135135 .owner = THIS_MODULE,
136136 };
137137
138−static int __devinit pwm_probe(struct platform_device *pdev)
138+static int pwm_probe(struct platform_device *pdev)
139139 {
140140 const struct platform_device_id *id = platform_get_device_id(pdev);
141141 struct pxa_pwm_chip *pwm;
@@ -179,7 +179,7 @@ static int __devinit pwm_probe(struct platform_device *pdev) · 37 unmodified lines
179179 return 0;
180180 }
181181
182−static int __devexit pwm_remove(struct platform_device *pdev)
182+static int pwm_remove(struct platform_device *pdev)
183183 {
184184 struct pxa_pwm_chip *chip;
185185
@@ -196,7 +196,7 @@ static struct platform_driver pwm_driver = { · 10 unmodified lines
196196 .owner = THIS_MODULE,
197197 },
198198 .probe = pwm_probe,
199− .remove = __devexit_p(pwm_remove),
199+ .remove = pwm_remove,
200200 .id_table = pwm_id_table,
201201 };
202202
drivers/pwm/pwm-samsung.c+2−2
@@ -273,7 +273,7 @@ static int s3c_pwm_probe(struct platform_device *pdev) · 272 unmodified lines
273273 return ret;
274274 }
275275
276−static int __devexit s3c_pwm_remove(struct platform_device *pdev)
276+static int s3c_pwm_remove(struct platform_device *pdev)
277277 {
278278 struct s3c_chip *s3c = platform_get_drvdata(pdev);
279279 int err;
@@ -327,7 +327,7 @@ static struct platform_driver s3c_pwm_driver = { · 47 unmodified lines
327327 .owner = THIS_MODULE,
328328 },
329329 .probe = s3c_pwm_probe,
330− .remove = __devexit_p(s3c_pwm_remove),
330+ .remove = s3c_pwm_remove,
331331 .suspend = s3c_pwm_suspend,
332332 .resume = s3c_pwm_resume,
333333 };
drivers/pwm/pwm-tegra.c+2−2
@@ -210,7 +210,7 @@ static int tegra_pwm_probe(struct platform_device *pdev) · 209 unmodified lines
210210 return 0;
211211 }
212212
213−static int __devexit tegra_pwm_remove(struct platform_device *pdev)
213+static int tegra_pwm_remove(struct platform_device *pdev)
214214 {
215215 struct tegra_pwm_chip *pc = platform_get_drvdata(pdev);
216216 int i;
@@ -249,7 +249,7 @@ static struct platform_driver tegra_pwm_driver = { · 32 unmodified lines
249249 .of_match_table = of_match_ptr(tegra_pwm_of_match),
250250 },
251251 .probe = tegra_pwm_probe,
252− .remove = __devexit_p(tegra_pwm_remove),
252+ .remove = tegra_pwm_remove,
253253 };
254254
255255 module_platform_driver(tegra_pwm_driver);
drivers/pwm/pwm-tiecap.c+3−3
@@ -184,7 +184,7 @@ static const struct pwm_ops ecap_pwm_ops = { · 183 unmodified lines
184184 .owner = THIS_MODULE,
185185 };
186186
187−static int __devinit ecap_pwm_probe(struct platform_device *pdev)
187+static int ecap_pwm_probe(struct platform_device *pdev)
188188 {
189189 int ret;
190190 struct resource *r;
@@ -235,7 +235,7 @@ static int __devinit ecap_pwm_probe(struct platform_device *pdev) · 44 unmodified lines
235235 return 0;
236236 }
237237
238−static int __devexit ecap_pwm_remove(struct platform_device *pdev)
238+static int ecap_pwm_remove(struct platform_device *pdev)
239239 {
240240 struct ecap_pwm_chip *pc = platform_get_drvdata(pdev);
241241
@@ -249,7 +249,7 @@ static struct platform_driver ecap_pwm_driver = { · 7 unmodified lines
249249 .name = "ecap",
250250 },
251251 .probe = ecap_pwm_probe,
252− .remove = __devexit_p(ecap_pwm_remove),
252+ .remove = ecap_pwm_remove,
253253 };
254254
255255 module_platform_driver(ecap_pwm_driver);
drivers/pwm/pwm-tiehrpwm.c+3−3
@@ -392,7 +392,7 @@ static const struct pwm_ops ehrpwm_pwm_ops = { · 391 unmodified lines
392392 .owner = THIS_MODULE,
393393 };
394394
395−static int __devinit ehrpwm_pwm_probe(struct platform_device *pdev)
395+static int ehrpwm_pwm_probe(struct platform_device *pdev)
396396 {
397397 int ret;
398398 struct resource *r;
@@ -443,7 +443,7 @@ static int __devinit ehrpwm_pwm_probe(struct platform_device *pdev) · 44 unmodified lines
443443 return 0;
444444 }
445445
446−static int __devexit ehrpwm_pwm_remove(struct platform_device *pdev)
446+static int ehrpwm_pwm_remove(struct platform_device *pdev)
447447 {
448448 struct ehrpwm_pwm_chip *pc = platform_get_drvdata(pdev);
449449
@@ -457,7 +457,7 @@ static struct platform_driver ehrpwm_pwm_driver = { · 7 unmodified lines
457457 .name = "ehrpwm",
458458 },
459459 .probe = ehrpwm_pwm_probe,
460− .remove = __devexit_p(ehrpwm_pwm_remove),
460+ .remove = ehrpwm_pwm_remove,
461461 };
462462
463463 module_platform_driver(ehrpwm_pwm_driver);
drivers/pwm/pwm-twl6030.c+1−1
@@ -176,7 +176,7 @@ static struct platform_driver twl6030_pwm_driver = { · 175 unmodified lines
176176 .name = "twl6030-pwm",
177177 },
178178 .probe = twl6030_pwm_probe,
179− .remove = __devexit_p(twl6030_pwm_remove),
179+ .remove = twl6030_pwm_remove,
180180 };
181181 module_platform_driver(twl6030_pwm_driver);
182182
drivers/rapidio/devices/tsi721.c+2−2
@@ -2202,7 +2202,7 @@ static void tsi721_disable_ints(struct tsi721_device *priv) · 2201 unmodified lines
22022202 *
22032203 * Configures Tsi721 as RapidIO master port.
22042204 */
2205−static int __devinit tsi721_setup_mport(struct tsi721_device *priv)
2205+static int tsi721_setup_mport(struct tsi721_device *priv)
22062206 {
22072207 struct pci_dev *pdev = priv->pdev;
22082208 int err = 0;
@@ -2302,7 +2302,7 @@ err_exit: · 93 unmodified lines
23022302 return err;
23032303 }
23042304
2305−static int __devinit tsi721_probe(struct pci_dev *pdev,
2305+static int tsi721_probe(struct pci_dev *pdev,
23062306 const struct pci_device_id *id)
23072307 {
23082308 struct tsi721_device *priv;
drivers/rapidio/devices/tsi721.h+1−1
@@ -846,7 +846,7 @@ struct tsi721_device { · 845 unmodified lines
846846
847847 #ifdef CONFIG_RAPIDIO_DMA_ENGINE
848848 extern void tsi721_bdma_handler(struct tsi721_bdma_chan *bdma_chan);
849−extern int __devinit tsi721_register_dma(struct tsi721_device *priv);
849+extern int tsi721_register_dma(struct tsi721_device *priv);
850850 #endif
851851
852852 #endif
drivers/rapidio/devices/tsi721_dma.c+1−1
@@ -765,7 +765,7 @@ static int tsi721_device_control(struct dma_chan *dchan, enum dma_ctrl_cmd cmd, · 764 unmodified lines
765765 return 0;
766766 }
767767
768−int __devinit tsi721_register_dma(struct tsi721_device *priv)
768+int tsi721_register_dma(struct tsi721_device *priv)
769769 {
770770 int i;
771771 int nr_channels = TSI721_DMA_MAXCH;
drivers/rapidio/rio-scan.c+7−7
@@ -371,7 +371,7 @@ static void rio_switch_init(struct rio_dev *rdev, int do_enum) · 370 unmodified lines
371371 * device to the RIO device list. Creates the generic sysfs nodes
372372 * for an RIO device.
373373 */
374−static int __devinit rio_add_device(struct rio_dev *rdev)
374+static int rio_add_device(struct rio_dev *rdev)
375375 {
376376 int err;
377377
@@ -463,7 +463,7 @@ inline int rio_enable_rx_tx_port(struct rio_mport *port, · 85 unmodified lines
463463 * to a RIO device on success or NULL on failure.
464464 *
465465 */
466−static struct rio_dev __devinit *rio_setup_device(struct rio_net *net,
466+static struct rio_dev *rio_setup_device(struct rio_net *net,
467467 struct rio_mport *port, u16 destid,
468468 u8 hopcount, int do_enum)
469469 {
@@ -837,7 +837,7 @@ static u16 rio_get_host_deviceid_lock(struct rio_mport *port, u8 hopcount) · 367 unmodified lines
837837 * Recursively enumerates a RIO network. Transactions are sent via the
838838 * master port passed in @port.
839839 */
840−static int __devinit rio_enum_peer(struct rio_net *net, struct rio_mport *port,
840+static int rio_enum_peer(struct rio_net *net, struct rio_mport *port,
841841 u8 hopcount, struct rio_dev *prev, int prev_port)
842842 {
843843 struct rio_dev *rdev;
@@ -1044,7 +1044,7 @@ static int rio_enum_complete(struct rio_mport *port) · 200 unmodified lines
10441044 * Recursively discovers a RIO network. Transactions are sent via the
10451045 * master port passed in @port.
10461046 */
1047−static int __devinit
1047+static int
10481048 rio_disc_peer(struct rio_net *net, struct rio_mport *port, u16 destid,
10491049 u8 hopcount, struct rio_dev *prev, int prev_port)
10501050 {
@@ -1151,7 +1151,7 @@ static int rio_mport_is_active(struct rio_mport *port) · 100 unmodified lines
11511151 * network list of associated master ports. Returns a
11521152 * RIO network pointer on success or %NULL on failure.
11531153 */
1154−static struct rio_net __devinit *rio_alloc_net(struct rio_mport *port,
1154+static struct rio_net *rio_alloc_net(struct rio_mport *port,
11551155 int do_enum, u16 start)
11561156 {
11571157 struct rio_net *net;
@@ -1266,7 +1266,7 @@ static void rio_pw_enable(struct rio_mport *port, int enable) · 108 unmodified lines
12661266 * link, then start recursive peer enumeration. Returns %0 if
12671267 * enumeration succeeds or %-EBUSY if enumeration fails.
12681268 */
1269−int __devinit rio_enum_mport(struct rio_mport *mport)
1269+int rio_enum_mport(struct rio_mport *mport)
12701270 {
12711271 struct rio_net *net = NULL;
12721272 int rc = 0;
@@ -1369,7 +1369,7 @@ static void rio_build_route_tables(struct rio_net *net) · 96 unmodified lines
13691369 * peer discovery. Returns %0 if discovery succeeds or %-EBUSY
13701370 * on failure.
13711371 */
1372−int __devinit rio_disc_mport(struct rio_mport *mport)
1372+int rio_disc_mport(struct rio_mport *mport)
13731373 {
13741374 struct rio_net *net = NULL;
13751375 unsigned long to_end;
drivers/rapidio/rio.c+3−3
@@ -1250,7 +1250,7 @@ static void rio_fixup_device(struct rio_dev *dev) · 1249 unmodified lines
12501250 {
12511251 }
12521252
1253−static int __devinit rio_init(void)
1253+static int rio_init(void)
12541254 {
12551255 struct rio_dev *dev = NULL;
12561256
@@ -1267,7 +1267,7 @@ struct rio_disc_work { · 10 unmodified lines
12671267 struct rio_mport *mport;
12681268 };
12691269
1270−static void __devinit disc_work_handler(struct work_struct *_work)
1270+static void disc_work_handler(struct work_struct *_work)
12711271 {
12721272 struct rio_disc_work *work;
12731273
@@ -1277,7 +1277,7 @@ static void __devinit disc_work_handler(struct work_struct *_work) · 3 unmodified lines
12771277 rio_disc_mport(work->mport);
12781278 }
12791279
1280−int __devinit rio_init_mports(void)
1280+int rio_init_mports(void)
12811281 {
12821282 struct rio_mport *port;
12831283 struct rio_disc_work *work;
drivers/video/backlight/adp5520_bl.c+3−3
@@ -282,7 +282,7 @@ static const struct attribute_group adp5520_bl_attr_group = { · 281 unmodified lines
282282 .attrs = adp5520_bl_attributes,
283283 };
284284
285−static int __devinit adp5520_bl_probe(struct platform_device *pdev)
285+static int adp5520_bl_probe(struct platform_device *pdev)
286286 {
287287 struct backlight_properties props;
288288 struct backlight_device *bl;
@@ -333,7 +333,7 @@ static int __devinit adp5520_bl_probe(struct platform_device *pdev) · 44 unmodified lines
333333 return ret;
334334 }
335335
336−static int __devexit adp5520_bl_remove(struct platform_device *pdev)
336+static int adp5520_bl_remove(struct platform_device *pdev)
337337 {
338338 struct backlight_device *bl = platform_get_drvdata(pdev);
339339 struct adp5520_bl *data = bl_get_data(bl);
@@ -375,7 +375,7 @@ static struct platform_driver adp5520_bl_driver = { · 35 unmodified lines
375375 .owner = THIS_MODULE,
376376 },
377377 .probe = adp5520_bl_probe,
378− .remove = __devexit_p(adp5520_bl_remove),
378+ .remove = adp5520_bl_remove,
379379 .suspend = adp5520_bl_suspend,
380380 .resume = adp5520_bl_resume,
381381 };
drivers/video/backlight/adp8860_bl.c+7−7
@@ -213,7 +213,7 @@ static int adp8860_led_setup(struct adp8860_led *led) · 212 unmodified lines
213213 return ret;
214214 }
215215
216−static int __devinit adp8860_led_probe(struct i2c_client *client)
216+static int adp8860_led_probe(struct i2c_client *client)
217217 {
218218 struct adp8860_backlight_platform_data *pdata =
219219 client->dev.platform_data;
@@ -295,7 +295,7 @@ static int __devinit adp8860_led_probe(struct i2c_client *client) · 75 unmodified lines
295295 return ret;
296296 }
297297
298−static int __devexit adp8860_led_remove(struct i2c_client *client)
298+static int adp8860_led_remove(struct i2c_client *client)
299299 {
300300 struct adp8860_backlight_platform_data *pdata =
301301 client->dev.platform_data;
@@ -310,12 +310,12 @@ static int __devexit adp8860_led_remove(struct i2c_client *client) · 8 unmodified lines
310310 return 0;
311311 }
312312 #else
313−static int __devinit adp8860_led_probe(struct i2c_client *client)
313+static int adp8860_led_probe(struct i2c_client *client)
314314 {
315315 return 0;
316316 }
317317
318−static int __devexit adp8860_led_remove(struct i2c_client *client)
318+static int adp8860_led_remove(struct i2c_client *client)
319319 {
320320 return 0;
321321 }
@@ -650,7 +650,7 @@ static const struct attribute_group adp8860_bl_attr_group = { · 328 unmodified lines
650650 .attrs = adp8860_bl_attributes,
651651 };
652652
653−static int __devinit adp8860_probe(struct i2c_client *client,
653+static int adp8860_probe(struct i2c_client *client,
654654 const struct i2c_device_id *id)
655655 {
656656 struct backlight_device *bl;
@@ -755,7 +755,7 @@ out1: · 98 unmodified lines
755755 return ret;
756756 }
757757
758−static int __devexit adp8860_remove(struct i2c_client *client)
758+static int adp8860_remove(struct i2c_client *client)
759759 {
760760 struct adp8860_bl *data = i2c_get_clientdata(client);
761761
@@ -805,7 +805,7 @@ static struct i2c_driver adp8860_driver = { · 43 unmodified lines
805805 .name = KBUILD_MODNAME,
806806 },
807807 .probe = adp8860_probe,
808− .remove = __devexit_p(adp8860_remove),
808+ .remove = adp8860_remove,
809809 .suspend = adp8860_i2c_suspend,
810810 .resume = adp8860_i2c_resume,
811811 .id_table = adp8860_id,
drivers/video/backlight/adp8870_bl.c+7−7
@@ -235,7 +235,7 @@ static int adp8870_led_setup(struct adp8870_led *led) · 234 unmodified lines
235235 return ret;
236236 }
237237
238−static int __devinit adp8870_led_probe(struct i2c_client *client)
238+static int adp8870_led_probe(struct i2c_client *client)
239239 {
240240 struct adp8870_backlight_platform_data *pdata =
241241 client->dev.platform_data;
@@ -320,7 +320,7 @@ static int __devinit adp8870_led_probe(struct i2c_client *client) · 78 unmodified lines
320320 return ret;
321321 }
322322
323−static int __devexit adp8870_led_remove(struct i2c_client *client)
323+static int adp8870_led_remove(struct i2c_client *client)
324324 {
325325 struct adp8870_backlight_platform_data *pdata =
326326 client->dev.platform_data;
@@ -335,12 +335,12 @@ static int __devexit adp8870_led_remove(struct i2c_client *client) · 8 unmodified lines
335335 return 0;
336336 }
337337 #else
338−static int __devinit adp8870_led_probe(struct i2c_client *client)
338+static int adp8870_led_probe(struct i2c_client *client)
339339 {
340340 return 0;
341341 }
342342
343−static int __devexit adp8870_led_remove(struct i2c_client *client)
343+static int adp8870_led_remove(struct i2c_client *client)
344344 {
345345 return 0;
346346 }
@@ -839,7 +839,7 @@ static const struct attribute_group adp8870_bl_attr_group = { · 492 unmodified lines
839839 .attrs = adp8870_bl_attributes,
840840 };
841841
842−static int __devinit adp8870_probe(struct i2c_client *client,
842+static int adp8870_probe(struct i2c_client *client,
843843 const struct i2c_device_id *id)
844844 {
845845 struct backlight_properties props;
@@ -929,7 +929,7 @@ out1: · 83 unmodified lines
929929 return ret;
930930 }
931931
932−static int __devexit adp8870_remove(struct i2c_client *client)
932+static int adp8870_remove(struct i2c_client *client)
933933 {
934934 struct adp8870_bl *data = i2c_get_clientdata(client);
935935
@@ -977,7 +977,7 @@ static struct i2c_driver adp8870_driver = { · 41 unmodified lines
977977 .name = KBUILD_MODNAME,
978978 },
979979 .probe = adp8870_probe,
980− .remove = __devexit_p(adp8870_remove),
980+ .remove = adp8870_remove,
981981 .suspend = adp8870_i2c_suspend,
982982 .resume = adp8870_i2c_resume,
983983 .id_table = adp8870_id,
drivers/video/backlight/ams369fg06.c+3−3
@@ -474,7 +474,7 @@ static const struct backlight_ops ams369fg06_backlight_ops = { · 473 unmodified lines
474474 .update_status = ams369fg06_set_brightness,
475475 };
476476
477−static int __devinit ams369fg06_probe(struct spi_device *spi)
477+static int ams369fg06_probe(struct spi_device *spi)
478478 {
479479 int ret = 0;
480480 struct ams369fg06 *lcd = NULL;
@@ -548,7 +548,7 @@ out_lcd_unregister: · 67 unmodified lines
548548 return ret;
549549 }
550550
551−static int __devexit ams369fg06_remove(struct spi_device *spi)
551+static int ams369fg06_remove(struct spi_device *spi)
552552 {
553553 struct ams369fg06 *lcd = dev_get_drvdata(&spi->dev);
554554
@@ -617,7 +617,7 @@ static struct spi_driver ams369fg06_driver = { · 62 unmodified lines
617617 .owner = THIS_MODULE,
618618 },
619619 .probe = ams369fg06_probe,
620− .remove = __devexit_p(ams369fg06_remove),
620+ .remove = ams369fg06_remove,
621621 .shutdown = ams369fg06_shutdown,
622622 .suspend = ams369fg06_suspend,
623623 .resume = ams369fg06_resume,
drivers/video/backlight/apple_bl.c+2−2
@@ -137,7 +137,7 @@ static const struct hw_data nvidia_chipset_data = { · 136 unmodified lines
137137 .set_brightness = nvidia_chipset_set_brightness,
138138 };
139139
140−static int __devinit apple_bl_add(struct acpi_device *dev)
140+static int apple_bl_add(struct acpi_device *dev)
141141 {
142142 struct backlight_properties props;
143143 struct pci_dev *host;
@@ -196,7 +196,7 @@ static int __devinit apple_bl_add(struct acpi_device *dev) · 52 unmodified lines
196196 return 0;
197197 }
198198
199−static int __devexit apple_bl_remove(struct acpi_device *dev, int type)
199+static int apple_bl_remove(struct acpi_device *dev, int type)
200200 {
201201 backlight_device_unregister(apple_backlight_device);
202202
drivers/video/backlight/corgi_lcd.c+3−3
@@ -529,7 +529,7 @@ static int setup_gpio_backlight(struct corgi_lcd *lcd, · 528 unmodified lines
529529 return 0;
530530 }
531531
532−static int __devinit corgi_lcd_probe(struct spi_device *spi)
532+static int corgi_lcd_probe(struct spi_device *spi)
533533 {
534534 struct backlight_properties props;
535535 struct corgi_lcd_platform_data *pdata = spi->dev.platform_data;
@@ -590,7 +590,7 @@ err_unregister_lcd: · 54 unmodified lines
590590 return ret;
591591 }
592592
593−static int __devexit corgi_lcd_remove(struct spi_device *spi)
593+static int corgi_lcd_remove(struct spi_device *spi)
594594 {
595595 struct corgi_lcd *lcd = dev_get_drvdata(&spi->dev);
596596
@@ -611,7 +611,7 @@ static struct spi_driver corgi_lcd_driver = { · 14 unmodified lines
611611 .owner = THIS_MODULE,
612612 },
613613 .probe = corgi_lcd_probe,
614− .remove = __devexit_p(corgi_lcd_remove),
614+ .remove = corgi_lcd_remove,
615615 .suspend = corgi_lcd_suspend,
616616 .resume = corgi_lcd_resume,
617617 };
drivers/video/backlight/ep93xx_bl.c+1−1
@@ -141,7 +141,7 @@ static struct platform_driver ep93xxbl_driver = { · 140 unmodified lines
141141 .owner = THIS_MODULE,
142142 },
143143 .probe = ep93xxbl_probe,
144− .remove = __devexit_p(ep93xxbl_remove),
144+ .remove = ep93xxbl_remove,
145145 .suspend = ep93xxbl_suspend,
146146 .resume = ep93xxbl_resume,
147147 };
drivers/video/backlight/hp680_bl.c+1−1
@@ -103,7 +103,7 @@ static const struct backlight_ops hp680bl_ops = { · 102 unmodified lines
103103 .update_status = hp680bl_set_intensity,
104104 };
105105
106−static int __devinit hp680bl_probe(struct platform_device *pdev)
106+static int hp680bl_probe(struct platform_device *pdev)
107107 {
108108 struct backlight_properties props;
109109 struct backlight_device *bd;
drivers/video/backlight/ili9320.c+2−2
@@ -171,7 +171,7 @@ static struct lcd_ops ili9320_ops = { · 170 unmodified lines
171171 .set_power = ili9320_set_power,
172172 };
173173
174−static void __devinit ili9320_setup_spi(struct ili9320 *ili,
174+static void ili9320_setup_spi(struct ili9320 *ili,
175175 struct spi_device *dev)
176176 {
177177 struct ili9320_spi *spi = &ili->access.spi;
@@ -197,7 +197,7 @@ static void __devinit ili9320_setup_spi(struct ili9320 *ili, · 19 unmodified lines
197197 spi_message_add_tail(&spi->xfer[1], &spi->message);
198198 }
199199
200−int __devinit ili9320_probe_spi(struct spi_device *spi,
200+int ili9320_probe_spi(struct spi_device *spi,
201201 struct ili9320_client *client)
202202 {
203203 struct ili9320_platdata *cfg = spi->dev.platform_data;
drivers/video/backlight/l4f00242t03.c+3−3
@@ -150,7 +150,7 @@ static struct lcd_ops l4f_ops = { · 149 unmodified lines
150150 .get_power = l4f00242t03_lcd_power_get,
151151 };
152152
153−static int __devinit l4f00242t03_probe(struct spi_device *spi)
153+static int l4f00242t03_probe(struct spi_device *spi)
154154 {
155155 struct l4f00242t03_priv *priv;
156156 struct l4f00242t03_pdata *pdata = spi->dev.platform_data;
@@ -230,7 +230,7 @@ err1: · 73 unmodified lines
230230 return ret;
231231 }
232232
233−static int __devexit l4f00242t03_remove(struct spi_device *spi)
233+static int l4f00242t03_remove(struct spi_device *spi)
234234 {
235235 struct l4f00242t03_priv *priv = dev_get_drvdata(&spi->dev);
236236
@@ -260,7 +260,7 @@ static struct spi_driver l4f00242t03_driver = { · 23 unmodified lines
260260 .owner = THIS_MODULE,
261261 },
262262 .probe = l4f00242t03_probe,
263− .remove = __devexit_p(l4f00242t03_remove),
263+ .remove = l4f00242t03_remove,
264264 .shutdown = l4f00242t03_shutdown,
265265 };
266266
drivers/video/backlight/ld9040.c+2−2
@@ -788,7 +788,7 @@ out_free_regulator: · 787 unmodified lines
788788 return ret;
789789 }
790790
791−static int __devexit ld9040_remove(struct spi_device *spi)
791+static int ld9040_remove(struct spi_device *spi)
792792 {
793793 struct ld9040 *lcd = dev_get_drvdata(&spi->dev);
794794
@@ -847,7 +847,7 @@ static struct spi_driver ld9040_driver = { · 52 unmodified lines
847847 .owner = THIS_MODULE,
848848 },
849849 .probe = ld9040_probe,
850− .remove = __devexit_p(ld9040_remove),
850+ .remove = ld9040_remove,
851851 .shutdown = ld9040_shutdown,
852852 .suspend = ld9040_suspend,
853853 .resume = ld9040_resume,
drivers/video/backlight/lm3533_bl.c+4−4
@@ -257,7 +257,7 @@ static struct attribute_group lm3533_bl_attribute_group = { · 256 unmodified lines
257257 .attrs = lm3533_bl_attributes
258258 };
259259
260−static int __devinit lm3533_bl_setup(struct lm3533_bl *bl,
260+static int lm3533_bl_setup(struct lm3533_bl *bl,
261261 struct lm3533_bl_platform_data *pdata)
262262 {
263263 int ret;
@@ -269,7 +269,7 @@ static int __devinit lm3533_bl_setup(struct lm3533_bl *bl, · 5 unmodified lines
269269 return lm3533_ctrlbank_set_pwm(&bl->cb, pdata->pwm);
270270 }
271271
272−static int __devinit lm3533_bl_probe(struct platform_device *pdev)
272+static int lm3533_bl_probe(struct platform_device *pdev)
273273 {
274274 struct lm3533 *lm3533;
275275 struct lm3533_bl_platform_data *pdata;
@@ -351,7 +351,7 @@ err_unregister: · 75 unmodified lines
351351 return ret;
352352 }
353353
354−static int __devexit lm3533_bl_remove(struct platform_device *pdev)
354+static int lm3533_bl_remove(struct platform_device *pdev)
355355 {
356356 struct lm3533_bl *bl = platform_get_drvdata(pdev);
357357 struct backlight_device *bd = bl->bd;
@@ -406,7 +406,7 @@ static struct platform_driver lm3533_bl_driver = { · 48 unmodified lines
406406 .owner = THIS_MODULE,
407407 },
408408 .probe = lm3533_bl_probe,
409− .remove = __devexit_p(lm3533_bl_remove),
409+ .remove = lm3533_bl_remove,
410410 .shutdown = lm3533_bl_shutdown,
411411 .suspend = lm3533_bl_suspend,
412412 .resume = lm3533_bl_resume,
drivers/video/backlight/lm3630_bl.c+4−4
@@ -55,7 +55,7 @@ struct lm3630_chip_data { · 54 unmodified lines
5555 };
5656
5757 /* initialize chip */
58−static int __devinit lm3630_chip_init(struct lm3630_chip_data *pchip)
58+static int lm3630_chip_init(struct lm3630_chip_data *pchip)
5959 {
6060 int ret;
6161 unsigned int reg_val;
@@ -349,7 +349,7 @@ static const struct regmap_config lm3630_regmap = { · 287 unmodified lines
349349 .max_register = REG_MAX,
350350 };
351351
352−static int __devinit lm3630_probe(struct i2c_client *client,
352+static int lm3630_probe(struct i2c_client *client,
353353 const struct i2c_device_id *id)
354354 {
355355 struct lm3630_platform_data *pdata = client->dev.platform_data;
@@ -429,7 +429,7 @@ err_chip_init: · 73 unmodified lines
429429 return ret;
430430 }
431431
432−static int __devexit lm3630_remove(struct i2c_client *client)
432+static int lm3630_remove(struct i2c_client *client)
433433 {
434434 int ret;
435435 struct lm3630_chip_data *pchip = i2c_get_clientdata(client);
@@ -463,7 +463,7 @@ static struct i2c_driver lm3630_i2c_driver = { · 27 unmodified lines
463463 .name = LM3630_NAME,
464464 },
465465 .probe = lm3630_probe,
466− .remove = __devexit_p(lm3630_remove),
466+ .remove = lm3630_remove,
467467 .id_table = lm3630_id,
468468 };
469469
drivers/video/backlight/lm3639_bl.c+4−4
@@ -48,7 +48,7 @@ struct lm3639_chip_data { · 47 unmodified lines
4848 };
4949
5050 /* initialize chip */
51−static int __devinit lm3639_chip_init(struct lm3639_chip_data *pchip)
51+static int lm3639_chip_init(struct lm3639_chip_data *pchip)
5252 {
5353 int ret;
5454 unsigned int reg_val;
@@ -299,7 +299,7 @@ static const struct regmap_config lm3639_regmap = { · 244 unmodified lines
299299 .max_register = REG_MAX,
300300 };
301301
302−static int __devinit lm3639_probe(struct i2c_client *client,
302+static int lm3639_probe(struct i2c_client *client,
303303 const struct i2c_device_id *id)
304304 {
305305 int ret;
@@ -397,7 +397,7 @@ err_out: · 91 unmodified lines
397397 return ret;
398398 }
399399
400−static int __devexit lm3639_remove(struct i2c_client *client)
400+static int lm3639_remove(struct i2c_client *client)
401401 {
402402 struct lm3639_chip_data *pchip = i2c_get_clientdata(client);
403403
@@ -425,7 +425,7 @@ static struct i2c_driver lm3639_i2c_driver = { · 21 unmodified lines
425425 .name = LM3639_NAME,
426426 },
427427 .probe = lm3639_probe,
428− .remove = __devexit_p(lm3639_remove),
428+ .remove = lm3639_remove,
429429 .id_table = lm3639_id,
430430 };
431431
drivers/video/backlight/lms283gf05.c+3−3
@@ -150,7 +150,7 @@ static struct lcd_ops lms_ops = { · 149 unmodified lines
150150 .get_power = NULL,
151151 };
152152
153−static int __devinit lms283gf05_probe(struct spi_device *spi)
153+static int lms283gf05_probe(struct spi_device *spi)
154154 {
155155 struct lms283gf05_state *st;
156156 struct lms283gf05_pdata *pdata = spi->dev.platform_data;
@@ -193,7 +193,7 @@ static int __devinit lms283gf05_probe(struct spi_device *spi) · 36 unmodified lines
193193 return 0;
194194 }
195195
196−static int __devexit lms283gf05_remove(struct spi_device *spi)
196+static int lms283gf05_remove(struct spi_device *spi)
197197 {
198198 struct lms283gf05_state *st = dev_get_drvdata(&spi->dev);
199199
@@ -208,7 +208,7 @@ static struct spi_driver lms283gf05_driver = { · 8 unmodified lines
208208 .owner = THIS_MODULE,
209209 },
210210 .probe = lms283gf05_probe,
211− .remove = __devexit_p(lms283gf05_remove),
211+ .remove = lms283gf05_remove,
212212 };
213213
214214 module_spi_driver(lms283gf05_driver);
drivers/video/backlight/lp855x_bl.c+2−2
@@ -297,7 +297,7 @@ err_dev: · 296 unmodified lines
297297 return ret;
298298 }
299299
300−static int __devexit lp855x_remove(struct i2c_client *cl)
300+static int lp855x_remove(struct i2c_client *cl)
301301 {
302302 struct lp855x *lp = i2c_get_clientdata(cl);
303303
@@ -324,7 +324,7 @@ static struct i2c_driver lp855x_driver = { · 20 unmodified lines
324324 .name = "lp855x",
325325 },
326326 .probe = lp855x_probe,
327− .remove = __devexit_p(lp855x_remove),
327+ .remove = lp855x_remove,
328328 .id_table = lp855x_ids,
329329 };
330330
drivers/video/backlight/ltv350qv.c+3−3
@@ -226,7 +226,7 @@ static struct lcd_ops ltv_ops = { · 225 unmodified lines
226226 .set_power = ltv350qv_set_power,
227227 };
228228
229−static int __devinit ltv350qv_probe(struct spi_device *spi)
229+static int ltv350qv_probe(struct spi_device *spi)
230230 {
231231 struct ltv350qv *lcd;
232232 struct lcd_device *ld;
@@ -261,7 +261,7 @@ out_unregister: · 28 unmodified lines
261261 return ret;
262262 }
263263
264−static int __devexit ltv350qv_remove(struct spi_device *spi)
264+static int ltv350qv_remove(struct spi_device *spi)
265265 {
266266 struct ltv350qv *lcd = dev_get_drvdata(&spi->dev);
267267
@@ -305,7 +305,7 @@ static struct spi_driver ltv350qv_driver = { · 37 unmodified lines
305305 },
306306
307307 .probe = ltv350qv_probe,
308− .remove = __devexit_p(ltv350qv_remove),
308+ .remove = ltv350qv_remove,
309309 .shutdown = ltv350qv_shutdown,
310310 .suspend = ltv350qv_suspend,
311311 .resume = ltv350qv_resume,
drivers/video/backlight/max8925_bl.c+3−3
@@ -101,7 +101,7 @@ static const struct backlight_ops max8925_backlight_ops = { · 100 unmodified lines
101101 .get_brightness = max8925_backlight_get_brightness,
102102 };
103103
104−static int __devinit max8925_backlight_probe(struct platform_device *pdev)
104+static int max8925_backlight_probe(struct platform_device *pdev)
105105 {
106106 struct max8925_chip *chip = dev_get_drvdata(pdev->dev.parent);
107107 struct max8925_backlight_pdata *pdata = pdev->dev.platform_data;
@@ -171,7 +171,7 @@ out: · 63 unmodified lines
171171 return ret;
172172 }
173173
174−static int __devexit max8925_backlight_remove(struct platform_device *pdev)
174+static int max8925_backlight_remove(struct platform_device *pdev)
175175 {
176176 struct backlight_device *bl = platform_get_drvdata(pdev);
177177
@@ -185,7 +185,7 @@ static struct platform_driver max8925_backlight_driver = { · 7 unmodified lines
185185 .owner = THIS_MODULE,
186186 },
187187 .probe = max8925_backlight_probe,
188− .remove = __devexit_p(max8925_backlight_remove),
188+ .remove = max8925_backlight_remove,
189189 };
190190
191191 module_platform_driver(max8925_backlight_driver);
drivers/video/backlight/pcf50633-backlight.c+3−3
@@ -99,7 +99,7 @@ static const struct backlight_ops pcf50633_bl_ops = { · 98 unmodified lines
9999 .options = BL_CORE_SUSPENDRESUME,
100100 };
101101
102−static int __devinit pcf50633_bl_probe(struct platform_device *pdev)
102+static int pcf50633_bl_probe(struct platform_device *pdev)
103103 {
104104 struct pcf50633_bl *pcf_bl;
105105 struct device *parent = pdev->dev.parent;
@@ -145,7 +145,7 @@ static int __devinit pcf50633_bl_probe(struct platform_device *pdev) · 39 unmodified lines
145145 return 0;
146146 }
147147
148−static int __devexit pcf50633_bl_remove(struct platform_device *pdev)
148+static int pcf50633_bl_remove(struct platform_device *pdev)
149149 {
150150 struct pcf50633_bl *pcf_bl = platform_get_drvdata(pdev);
151151
@@ -158,7 +158,7 @@ static int __devexit pcf50633_bl_remove(struct platform_device *pdev) · 6 unmodified lines
158158
159159 static struct platform_driver pcf50633_bl_driver = {
160160 .probe = pcf50633_bl_probe,
161− .remove = __devexit_p(pcf50633_bl_remove),
161+ .remove = pcf50633_bl_remove,
162162 .driver = {
163163 .name = "pcf50633-backlight",
164164 },
drivers/video/backlight/platform_lcd.c+3−3
@@ -73,7 +73,7 @@ static struct lcd_ops platform_lcd_ops = { · 72 unmodified lines
7373 .check_fb = platform_lcd_match,
7474 };
7575
76−static int __devinit platform_lcd_probe(struct platform_device *pdev)
76+static int platform_lcd_probe(struct platform_device *pdev)
7777 {
7878 struct plat_lcd_data *pdata;
7979 struct platform_lcd *plcd;
@@ -112,7 +112,7 @@ static int __devinit platform_lcd_probe(struct platform_device *pdev) · 32 unmodified lines
112112 return err;
113113 }
114114
115−static int __devexit platform_lcd_remove(struct platform_device *pdev)
115+static int platform_lcd_remove(struct platform_device *pdev)
116116 {
117117 struct platform_lcd *plcd = platform_get_drvdata(pdev);
118118
@@ -164,7 +164,7 @@ static struct platform_driver platform_lcd_driver = { · 45 unmodified lines
164164 .of_match_table = of_match_ptr(platform_lcd_of_match),
165165 },
166166 .probe = platform_lcd_probe,
167− .remove = __devexit_p(platform_lcd_remove),
167+ .remove = platform_lcd_remove,
168168 };
169169
170170 module_platform_driver(platform_lcd_driver);
drivers/video/backlight/s6e63m0.c+3−3
@@ -733,7 +733,7 @@ static ssize_t s6e63m0_sysfs_show_gamma_table(struct device *dev, · 732 unmodified lines
733733 static DEVICE_ATTR(gamma_table, 0444,
734734 s6e63m0_sysfs_show_gamma_table, NULL);
735735
736−static int __devinit s6e63m0_probe(struct spi_device *spi)
736+static int s6e63m0_probe(struct spi_device *spi)
737737 {
738738 int ret = 0;
739739 struct s6e63m0 *lcd = NULL;
@@ -825,7 +825,7 @@ out_lcd_unregister: · 85 unmodified lines
825825 return ret;
826826 }
827827
828−static int __devexit s6e63m0_remove(struct spi_device *spi)
828+static int s6e63m0_remove(struct spi_device *spi)
829829 {
830830 struct s6e63m0 *lcd = dev_get_drvdata(&spi->dev);
831831
@@ -897,7 +897,7 @@ static struct spi_driver s6e63m0_driver = { · 65 unmodified lines
897897 .owner = THIS_MODULE,
898898 },
899899 .probe = s6e63m0_probe,
900− .remove = __devexit_p(s6e63m0_remove),
900+ .remove = s6e63m0_remove,
901901 .shutdown = s6e63m0_shutdown,
902902 .suspend = s6e63m0_suspend,
903903 .resume = s6e63m0_resume,
drivers/video/backlight/tdo24m.c+3−3
@@ -328,7 +328,7 @@ static struct lcd_ops tdo24m_ops = { · 327 unmodified lines
328328 .set_mode = tdo24m_set_mode,
329329 };
330330
331−static int __devinit tdo24m_probe(struct spi_device *spi)
331+static int tdo24m_probe(struct spi_device *spi)
332332 {
333333 struct tdo24m *lcd;
334334 struct spi_message *m;
@@ -401,7 +401,7 @@ out_unregister: · 66 unmodified lines
401401 return err;
402402 }
403403
404−static int __devexit tdo24m_remove(struct spi_device *spi)
404+static int tdo24m_remove(struct spi_device *spi)
405405 {
406406 struct tdo24m *lcd = dev_get_drvdata(&spi->dev);
407407
@@ -444,7 +444,7 @@ static struct spi_driver tdo24m_driver = { · 36 unmodified lines
444444 .owner = THIS_MODULE,
445445 },
446446 .probe = tdo24m_probe,
447− .remove = __devexit_p(tdo24m_remove),
447+ .remove = tdo24m_remove,
448448 .shutdown = tdo24m_shutdown,
449449 .suspend = tdo24m_suspend,
450450 .resume = tdo24m_resume,
drivers/video/backlight/tosa_bl.c+3−3
@@ -78,7 +78,7 @@ static const struct backlight_ops bl_ops = { · 77 unmodified lines
7878 .update_status = tosa_bl_update_status,
7979 };
8080
81−static int __devinit tosa_bl_probe(struct i2c_client *client,
81+static int tosa_bl_probe(struct i2c_client *client,
8282 const struct i2c_device_id *id)
8383 {
8484 struct backlight_properties props;
@@ -126,7 +126,7 @@ err_reg: · 41 unmodified lines
126126 return ret;
127127 }
128128
129−static int __devexit tosa_bl_remove(struct i2c_client *client)
129+static int tosa_bl_remove(struct i2c_client *client)
130130 {
131131 struct tosa_bl_data *data = i2c_get_clientdata(client);
132132
@@ -170,7 +170,7 @@ static struct i2c_driver tosa_bl_driver = { · 37 unmodified lines
170170 .owner = THIS_MODULE,
171171 },
172172 .probe = tosa_bl_probe,
173− .remove = __devexit_p(tosa_bl_remove),
173+ .remove = tosa_bl_remove,
174174 .suspend = tosa_bl_suspend,
175175 .resume = tosa_bl_resume,
176176 .id_table = tosa_bl_id,
drivers/video/backlight/tosa_lcd.c+3−3
@@ -169,7 +169,7 @@ static struct lcd_ops tosa_lcd_ops = { · 168 unmodified lines
169169 .set_mode = tosa_lcd_set_mode,
170170 };
171171
172−static int __devinit tosa_lcd_probe(struct spi_device *spi)
172+static int tosa_lcd_probe(struct spi_device *spi)
173173 {
174174 int ret;
175175 struct tosa_lcd_data *data;
@@ -226,7 +226,7 @@ err_gpio_tg: · 50 unmodified lines
226226 return ret;
227227 }
228228
229−static int __devexit tosa_lcd_remove(struct spi_device *spi)
229+static int tosa_lcd_remove(struct spi_device *spi)
230230 {
231231 struct tosa_lcd_data *data = dev_get_drvdata(&spi->dev);
232232
@@ -275,7 +275,7 @@ static struct spi_driver tosa_lcd_driver = { · 42 unmodified lines
275275 .owner = THIS_MODULE,
276276 },
277277 .probe = tosa_lcd_probe,
278− .remove = __devexit_p(tosa_lcd_remove),
278+ .remove = tosa_lcd_remove,
279279 .suspend = tosa_lcd_suspend,
280280 .resume = tosa_lcd_resume,
281281 };
drivers/video/backlight/vgg2432a4.c+3−3
@@ -227,7 +227,7 @@ static struct ili9320_client vgg2432a4_client = { · 226 unmodified lines
227227
228228 /* Device probe */
229229
230−static int __devinit vgg2432a4_probe(struct spi_device *spi)
230+static int vgg2432a4_probe(struct spi_device *spi)
231231 {
232232 int ret;
233233
@@ -240,7 +240,7 @@ static int __devinit vgg2432a4_probe(struct spi_device *spi) · 6 unmodified lines
240240 return 0;
241241 }
242242
243−static int __devexit vgg2432a4_remove(struct spi_device *spi)
243+static int vgg2432a4_remove(struct spi_device *spi)
244244 {
245245 return ili9320_remove(dev_get_drvdata(&spi->dev));
246246 }
@@ -256,7 +256,7 @@ static struct spi_driver vgg2432a4_driver = { · 9 unmodified lines
256256 .owner = THIS_MODULE,
257257 },
258258 .probe = vgg2432a4_probe,
259− .remove = __devexit_p(vgg2432a4_remove),
259+ .remove = vgg2432a4_remove,
260260 .shutdown = vgg2432a4_shutdown,
261261 .suspend = vgg2432a4_suspend,
262262 .resume = vgg2432a4_resume,
drivers/watchdog/acquirewdt.c+3−3
@@ -240,7 +240,7 @@ static struct miscdevice acq_miscdev = { · 239 unmodified lines
240240 * Init & exit routines
241241 */
242242
243−static int __devinit acq_probe(struct platform_device *dev)
243+static int acq_probe(struct platform_device *dev)
244244 {
245245 int ret;
246246
@@ -275,7 +275,7 @@ out: · 28 unmodified lines
275275 return ret;
276276 }
277277
278−static int __devexit acq_remove(struct platform_device *dev)
278+static int acq_remove(struct platform_device *dev)
279279 {
280280 misc_deregister(&acq_miscdev);
281281 release_region(wdt_start, 1);
@@ -293,7 +293,7 @@ static void acq_shutdown(struct platform_device *dev) · 11 unmodified lines
293293
294294 static struct platform_driver acquirewdt_driver = {
295295 .probe = acq_probe,
296− .remove = __devexit_p(acq_remove),
296+ .remove = acq_remove,
297297 .shutdown = acq_shutdown,
298298 .driver = {
299299 .owner = THIS_MODULE,
drivers/watchdog/advantechwdt.c+3−3
@@ -238,7 +238,7 @@ static struct miscdevice advwdt_miscdev = { · 237 unmodified lines
238238 * Init & exit routines
239239 */
240240
241−static int __devinit advwdt_probe(struct platform_device *dev)
241+static int advwdt_probe(struct platform_device *dev)
242242 {
243243 int ret;
244244
@@ -282,7 +282,7 @@ unreg_stop: · 37 unmodified lines
282282 goto out;
283283 }
284284
285−static int __devexit advwdt_remove(struct platform_device *dev)
285+static int advwdt_remove(struct platform_device *dev)
286286 {
287287 misc_deregister(&advwdt_miscdev);
288288 release_region(wdt_start, 1);
@@ -300,7 +300,7 @@ static void advwdt_shutdown(struct platform_device *dev) · 11 unmodified lines
300300
301301 static struct platform_driver advwdt_driver = {
302302 .probe = advwdt_probe,
303− .remove = __devexit_p(advwdt_remove),
303+ .remove = advwdt_remove,
304304 .shutdown = advwdt_shutdown,
305305 .driver = {
306306 .owner = THIS_MODULE,
drivers/watchdog/ar7_wdt.c+3−3
@@ -274,7 +274,7 @@ static struct miscdevice ar7_wdt_miscdev = { · 273 unmodified lines
274274 .fops = &ar7_wdt_fops,
275275 };
276276
277−static int __devinit ar7_wdt_probe(struct platform_device *pdev)
277+static int ar7_wdt_probe(struct platform_device *pdev)
278278 {
279279 int rc;
280280
@@ -314,7 +314,7 @@ out: · 33 unmodified lines
314314 return rc;
315315 }
316316
317−static int __devexit ar7_wdt_remove(struct platform_device *pdev)
317+static int ar7_wdt_remove(struct platform_device *pdev)
318318 {
319319 misc_deregister(&ar7_wdt_miscdev);
320320 clk_put(vbus_clk);
@@ -330,7 +330,7 @@ static void ar7_wdt_shutdown(struct platform_device *pdev) · 9 unmodified lines
330330
331331 static struct platform_driver ar7_wdt_driver = {
332332 .probe = ar7_wdt_probe,
333− .remove = __devexit_p(ar7_wdt_remove),
333+ .remove = ar7_wdt_remove,
334334 .shutdown = ar7_wdt_shutdown,
335335 .driver = {
336336 .owner = THIS_MODULE,
drivers/watchdog/at91rm9200_wdt.c+3−3
@@ -199,7 +199,7 @@ static struct miscdevice at91wdt_miscdev = { · 198 unmodified lines
199199 .fops = &at91wdt_fops,
200200 };
201201
202−static int __devinit at91wdt_probe(struct platform_device *pdev)
202+static int at91wdt_probe(struct platform_device *pdev)
203203 {
204204 int res;
205205
@@ -216,7 +216,7 @@ static int __devinit at91wdt_probe(struct platform_device *pdev) · 10 unmodified lines
216216 return 0;
217217 }
218218
219−static int __devexit at91wdt_remove(struct platform_device *pdev)
219+static int at91wdt_remove(struct platform_device *pdev)
220220 {
221221 int res;
222222
@@ -254,7 +254,7 @@ static int at91wdt_resume(struct platform_device *pdev) · 31 unmodified lines
254254
255255 static struct platform_driver at91wdt_driver = {
256256 .probe = at91wdt_probe,
257− .remove = __devexit_p(at91wdt_remove),
257+ .remove = at91wdt_remove,
258258 .shutdown = at91wdt_shutdown,
259259 .suspend = at91wdt_suspend,
260260 .resume = at91wdt_resume,
drivers/watchdog/ath79_wdt.c+3−3
@@ -224,7 +224,7 @@ static struct miscdevice ath79_wdt_miscdev = { · 223 unmodified lines
224224 .fops = &ath79_wdt_fops,
225225 };
226226
227−static int __devinit ath79_wdt_probe(struct platform_device *pdev)
227+static int ath79_wdt_probe(struct platform_device *pdev)
228228 {
229229 u32 ctrl;
230230 int err;
@@ -270,7 +270,7 @@ err_clk_put: · 39 unmodified lines
270270 return err;
271271 }
272272
273−static int __devexit ath79_wdt_remove(struct platform_device *pdev)
273+static int ath79_wdt_remove(struct platform_device *pdev)
274274 {
275275 misc_deregister(&ath79_wdt_miscdev);
276276 clk_disable(wdt_clk);
@@ -284,7 +284,7 @@ static void ath97_wdt_shutdown(struct platform_device *pdev) · 7 unmodified lines
284284 }
285285
286286 static struct platform_driver ath79_wdt_driver = {
287− .remove = __devexit_p(ath79_wdt_remove),
287+ .remove = ath79_wdt_remove,
288288 .shutdown = ath97_wdt_shutdown,
289289 .driver = {
290290 .name = DRIVER_NAME,
drivers/watchdog/bcm63xx_wdt.c+3−3
@@ -236,7 +236,7 @@ static struct miscdevice bcm63xx_wdt_miscdev = { · 235 unmodified lines
236236 };
237237
238238
239−static int __devinit bcm63xx_wdt_probe(struct platform_device *pdev)
239+static int bcm63xx_wdt_probe(struct platform_device *pdev)
240240 {
241241 int ret;
242242 struct resource *r;
@@ -286,7 +286,7 @@ unmap: · 43 unmodified lines
286286 return ret;
287287 }
288288
289−static int __devexit bcm63xx_wdt_remove(struct platform_device *pdev)
289+static int bcm63xx_wdt_remove(struct platform_device *pdev)
290290 {
291291 if (!nowayout)
292292 bcm63xx_wdt_pause();
@@ -304,7 +304,7 @@ static void bcm63xx_wdt_shutdown(struct platform_device *pdev) · 11 unmodified lines
304304
305305 static struct platform_driver bcm63xx_wdt_driver = {
306306 .probe = bcm63xx_wdt_probe,
307− .remove = __devexit_p(bcm63xx_wdt_remove),
307+ .remove = bcm63xx_wdt_remove,
308308 .shutdown = bcm63xx_wdt_shutdown,
309309 .driver = {
310310 .owner = THIS_MODULE,
drivers/watchdog/bfin_wdt.c+3−3
@@ -356,7 +356,7 @@ static const struct watchdog_info bfin_wdt_info = { · 355 unmodified lines
356356 * Registers the misc device. Actual device
357357 * initialization is handled by bfin_wdt_open().
358358 */
359−static int __devinit bfin_wdt_probe(struct platform_device *pdev)
359+static int bfin_wdt_probe(struct platform_device *pdev)
360360 {
361361 int ret;
362362
@@ -379,7 +379,7 @@ static int __devinit bfin_wdt_probe(struct platform_device *pdev) · 16 unmodified lines
379379 * Unregisters the misc device. Actual device
380380 * deinitialization is handled by bfin_wdt_close().
381381 */
382−static int __devexit bfin_wdt_remove(struct platform_device *pdev)
382+static int bfin_wdt_remove(struct platform_device *pdev)
383383 {
384384 misc_deregister(&bfin_wdt_miscdev);
385385 return 0;
@@ -401,7 +401,7 @@ static struct platform_device *bfin_wdt_device; · 15 unmodified lines
401401
402402 static struct platform_driver bfin_wdt_driver = {
403403 .probe = bfin_wdt_probe,
404− .remove = __devexit_p(bfin_wdt_remove),
404+ .remove = bfin_wdt_remove,
405405 .shutdown = bfin_wdt_shutdown,
406406 .suspend = bfin_wdt_suspend,
407407 .resume = bfin_wdt_resume,
drivers/watchdog/cpu5wdt.c+4−4
@@ -215,7 +215,7 @@ static struct miscdevice cpu5wdt_misc = { · 214 unmodified lines
215215
216216 /* init/exit function */
217217
218−static int __devinit cpu5wdt_init(void)
218+static int cpu5wdt_init(void)
219219 {
220220 unsigned int val;
221221 int err;
@@ -256,12 +256,12 @@ no_port: · 34 unmodified lines
256256 return err;
257257 }
258258
259−static int __devinit cpu5wdt_init_module(void)
259+static int cpu5wdt_init_module(void)
260260 {
261261 return cpu5wdt_init();
262262 }
263263
264−static void __devexit cpu5wdt_exit(void)
264+static void cpu5wdt_exit(void)
265265 {
266266 if (cpu5wdt_device.queue) {
267267 cpu5wdt_device.queue = 0;
@@ -274,7 +274,7 @@ static void __devexit cpu5wdt_exit(void) · 6 unmodified lines
274274
275275 }
276276
277−static void __devexit cpu5wdt_exit_module(void)
277+static void cpu5wdt_exit_module(void)
278278 {
279279 cpu5wdt_exit();
280280 }
drivers/watchdog/cpwd.c+3−3
@@ -528,7 +528,7 @@ static const struct file_operations cpwd_fops = { · 527 unmodified lines
528528 .llseek = no_llseek,
529529 };
530530
531−static int __devinit cpwd_probe(struct platform_device *op)
531+static int cpwd_probe(struct platform_device *op)
532532 {
533533 struct device_node *options;
534534 const char *str_prop;
@@ -640,7 +640,7 @@ out_free: · 105 unmodified lines
640640 goto out;
641641 }
642642
643−static int __devexit cpwd_remove(struct platform_device *op)
643+static int cpwd_remove(struct platform_device *op)
644644 {
645645 struct cpwd *p = dev_get_drvdata(&op->dev);
646646 int i;
@@ -684,7 +684,7 @@ static struct platform_driver cpwd_driver = { · 37 unmodified lines
684684 .of_match_table = cpwd_match,
685685 },
686686 .probe = cpwd_probe,
687− .remove = __devexit_p(cpwd_remove),
687+ .remove = cpwd_remove,
688688 };
689689
690690 module_platform_driver(cpwd_driver);
drivers/watchdog/da9052_wdt.c+3−3
@@ -179,7 +179,7 @@ static const struct watchdog_ops da9052_wdt_ops = { · 178 unmodified lines
179179 };
180180
181181
182−static int __devinit da9052_wdt_probe(struct platform_device *pdev)
182+static int da9052_wdt_probe(struct platform_device *pdev)
183183 {
184184 struct da9052 *da9052 = dev_get_drvdata(pdev->dev.parent);
185185 struct da9052_wdt_data *driver_data;
@@ -224,7 +224,7 @@ err: · 38 unmodified lines
224224 return ret;
225225 }
226226
227−static int __devexit da9052_wdt_remove(struct platform_device *pdev)
227+static int da9052_wdt_remove(struct platform_device *pdev)
228228 {
229229 struct da9052_wdt_data *driver_data = dev_get_drvdata(&pdev->dev);
230230
@@ -236,7 +236,7 @@ static int __devexit da9052_wdt_remove(struct platform_device *pdev) · 5 unmodified lines
236236
237237 static struct platform_driver da9052_wdt_driver = {
238238 .probe = da9052_wdt_probe,
239− .remove = __devexit_p(da9052_wdt_remove),
239+ .remove = da9052_wdt_remove,
240240 .driver = {
241241 .name = "da9052-watchdog",
242242 },
drivers/watchdog/davinci_wdt.c+3−3
@@ -199,7 +199,7 @@ static struct miscdevice davinci_wdt_miscdev = { · 198 unmodified lines
199199 .fops = &davinci_wdt_fops,
200200 };
201201
202−static int __devinit davinci_wdt_probe(struct platform_device *pdev)
202+static int davinci_wdt_probe(struct platform_device *pdev)
203203 {
204204 int ret = 0, size;
205205 struct device *dev = &pdev->dev;
@@ -248,7 +248,7 @@ static int __devinit davinci_wdt_probe(struct platform_device *pdev) · 42 unmodified lines
248248 return ret;
249249 }
250250
251−static int __devexit davinci_wdt_remove(struct platform_device *pdev)
251+static int davinci_wdt_remove(struct platform_device *pdev)
252252 {
253253 misc_deregister(&davinci_wdt_miscdev);
254254 if (wdt_mem) {
@@ -268,7 +268,7 @@ static struct platform_driver platform_wdt_driver = { · 13 unmodified lines
268268 .owner = THIS_MODULE,
269269 },
270270 .probe = davinci_wdt_probe,
271− .remove = __devexit_p(davinci_wdt_remove),
271+ .remove = davinci_wdt_remove,
272272 };
273273
274274 module_platform_driver(platform_wdt_driver);
drivers/watchdog/dw_wdt.c+3−3
@@ -293,7 +293,7 @@ static struct miscdevice dw_wdt_miscdev = { · 292 unmodified lines
293293 .minor = WATCHDOG_MINOR,
294294 };
295295
296−static int __devinit dw_wdt_drv_probe(struct platform_device *pdev)
296+static int dw_wdt_drv_probe(struct platform_device *pdev)
297297 {
298298 int ret;
299299 struct resource *mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
@@ -333,7 +333,7 @@ out_put_clk: · 33 unmodified lines
333333 return ret;
334334 }
335335
336−static int __devexit dw_wdt_drv_remove(struct platform_device *pdev)
336+static int dw_wdt_drv_remove(struct platform_device *pdev)
337337 {
338338 misc_deregister(&dw_wdt_miscdev);
339339
@@ -345,7 +345,7 @@ static int __devexit dw_wdt_drv_remove(struct platform_device *pdev) · 5 unmodified lines
345345
346346 static struct platform_driver dw_wdt_driver = {
347347 .probe = dw_wdt_drv_probe,
348− .remove = __devexit_p(dw_wdt_drv_remove),
348+ .remove = dw_wdt_drv_remove,
349349 .driver = {
350350 .name = "dw_wdt",
351351 .owner = THIS_MODULE,
drivers/watchdog/ep93xx_wdt.c+3−3
@@ -112,7 +112,7 @@ static struct watchdog_device ep93xx_wdt_wdd = { · 111 unmodified lines
112112 .ops = &ep93xx_wdt_ops,
113113 };
114114
115−static int __devinit ep93xx_wdt_probe(struct platform_device *pdev)
115+static int ep93xx_wdt_probe(struct platform_device *pdev)
116116 {
117117 struct resource *res;
118118 unsigned long val;
@@ -156,7 +156,7 @@ static int __devinit ep93xx_wdt_probe(struct platform_device *pdev) · 37 unmodified lines
156156 return 0;
157157 }
158158
159−static int __devexit ep93xx_wdt_remove(struct platform_device *pdev)
159+static int ep93xx_wdt_remove(struct platform_device *pdev)
160160 {
161161 watchdog_unregister_device(&ep93xx_wdt_wdd);
162162 return 0;
@@ -168,7 +168,7 @@ static struct platform_driver ep93xx_wdt_driver = { · 5 unmodified lines
168168 .name = "ep93xx-wdt",
169169 },
170170 .probe = ep93xx_wdt_probe,
171− .remove = __devexit_p(ep93xx_wdt_remove),
171+ .remove = ep93xx_wdt_remove,
172172 };
173173
174174 module_platform_driver(ep93xx_wdt_driver);
drivers/watchdog/gef_wdt.c+2−2
@@ -262,7 +262,7 @@ static struct miscdevice gef_wdt_miscdev = { · 261 unmodified lines
262262 };
263263
264264
265−static int __devinit gef_wdt_probe(struct platform_device *dev)
265+static int gef_wdt_probe(struct platform_device *dev)
266266 {
267267 int timeout = 10;
268268 u32 freq;
@@ -285,7 +285,7 @@ static int __devinit gef_wdt_probe(struct platform_device *dev) · 16 unmodified lines
285285 return misc_register(&gef_wdt_miscdev);
286286 }
287287
288−static int __devexit gef_wdt_remove(struct platform_device *dev)
288+static int gef_wdt_remove(struct platform_device *dev)
289289 {
290290 misc_deregister(&gef_wdt_miscdev);
291291
drivers/watchdog/geodewdt.c+3−3
@@ -215,7 +215,7 @@ static struct miscdevice geodewdt_miscdev = { · 214 unmodified lines
215215 .fops = &geodewdt_fops,
216216 };
217217
218−static int __devinit geodewdt_probe(struct platform_device *dev)
218+static int geodewdt_probe(struct platform_device *dev)
219219 {
220220 int ret;
221221
@@ -243,7 +243,7 @@ static int __devinit geodewdt_probe(struct platform_device *dev) · 21 unmodified lines
243243 return ret;
244244 }
245245
246−static int __devexit geodewdt_remove(struct platform_device *dev)
246+static int geodewdt_remove(struct platform_device *dev)
247247 {
248248 misc_deregister(&geodewdt_miscdev);
249249 return 0;
@@ -256,7 +256,7 @@ static void geodewdt_shutdown(struct platform_device *dev) · 6 unmodified lines
256256
257257 static struct platform_driver geodewdt_driver = {
258258 .probe = geodewdt_probe,
259− .remove = __devexit_p(geodewdt_remove),
259+ .remove = geodewdt_remove,
260260 .shutdown = geodewdt_shutdown,
261261 .driver = {
262262 .owner = THIS_MODULE,
drivers/watchdog/hpwdt.c+15−15
@@ -212,7 +212,7 @@ asm(".text \n\t" · 211 unmodified lines
212212 * 0 : SUCCESS
213213 * <0 : FAILURE
214214 */
215−static int __devinit cru_detect(unsigned long map_entry,
215+static int cru_detect(unsigned long map_entry,
216216 unsigned long map_offset)
217217 {
218218 void *bios32_map;
@@ -268,7 +268,7 @@ static int __devinit cru_detect(unsigned long map_entry, · 49 unmodified lines
268268 /*
269269 * bios_checksum
270270 */
271−static int __devinit bios_checksum(const char __iomem *ptr, int len)
271+static int bios_checksum(const char __iomem *ptr, int len)
272272 {
273273 char sum = 0;
274274 int i;
@@ -293,7 +293,7 @@ static int __devinit bios_checksum(const char __iomem *ptr, int len) · 18 unmodified lines
293293 * 0 : SUCCESS
294294 * <0 : FAILURE
295295 */
296−static int __devinit bios32_present(const char __iomem *p)
296+static int bios32_present(const char __iomem *p)
297297 {
298298 struct bios32_service_dir *bios_32_ptr;
299299 int length;
@@ -323,7 +323,7 @@ static int __devinit bios32_present(const char __iomem *p) · 23 unmodified lines
323323 return -ENODEV;
324324 }
325325
326−static int __devinit detect_cru_service(void)
326+static int detect_cru_service(void)
327327 {
328328 char __iomem *p, *q;
329329 int rc = -1;
@@ -395,7 +395,7 @@ asm(".text \n\t" · 65 unmodified lines
395395 * This function checks whether or not a SMBIOS/DMI record is
396396 * the 64bit CRU info or not
397397 */
398−static void __devinit dmi_find_cru(const struct dmi_header *dm, void *dummy)
398+static void dmi_find_cru(const struct dmi_header *dm, void *dummy)
399399 {
400400 struct smbios_cru64_info *smbios_cru64_ptr;
401401 unsigned long cru_physical_address;
@@ -414,7 +414,7 @@ static void __devinit dmi_find_cru(const struct dmi_header *dm, void *dummy) · 12 unmodified lines
414414 }
415415 }
416416
417−static int __devinit detect_cru_service(void)
417+static int detect_cru_service(void)
418418 {
419419 cru_rom_addr = NULL;
420420
@@ -647,7 +647,7 @@ static struct miscdevice hpwdt_miscdev = { · 226 unmodified lines
647647
648648 #ifdef CONFIG_HPWDT_NMI_DECODING
649649 #ifdef CONFIG_X86_LOCAL_APIC
650−static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
650+static void hpwdt_check_nmi_decoding(struct pci_dev *dev)
651651 {
652652 /*
653653 * If nmi_watchdog is turned off then we can turn on
@@ -656,7 +656,7 @@ static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev) · 2 unmodified lines
656656 hpwdt_nmi_decoding = 1;
657657 }
658658 #else
659−static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
659+static void hpwdt_check_nmi_decoding(struct pci_dev *dev)
660660 {
661661 dev_warn(&dev->dev, "NMI decoding is disabled. "
662662 "Your kernel does not support a NMI Watchdog.\n");
@@ -671,7 +671,7 @@ static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev) · 8 unmodified lines
671671 * This check is independent of architecture and needs to be made for
672672 * any ProLiant system.
673673 */
674−static void __devinit dmi_find_icru(const struct dmi_header *dm, void *dummy)
674+static void dmi_find_icru(const struct dmi_header *dm, void *dummy)
675675 {
676676 struct smbios_proliant_info *smbios_proliant_ptr;
677677
@@ -682,7 +682,7 @@ static void __devinit dmi_find_icru(const struct dmi_header *dm, void *dummy) · 4 unmodified lines
682682 }
683683 }
684684
685−static int __devinit hpwdt_init_nmi_decoding(struct pci_dev *dev)
685+static int hpwdt_init_nmi_decoding(struct pci_dev *dev)
686686 {
687687 int retval;
688688
@@ -762,11 +762,11 @@ static void hpwdt_exit_nmi_decoding(void) · 73 unmodified lines
762762 iounmap(cru_rom_addr);
763763 }
764764 #else /* !CONFIG_HPWDT_NMI_DECODING */
765−static void __devinit hpwdt_check_nmi_decoding(struct pci_dev *dev)
765+static void hpwdt_check_nmi_decoding(struct pci_dev *dev)
766766 {
767767 }
768768
769−static int __devinit hpwdt_init_nmi_decoding(struct pci_dev *dev)
769+static int hpwdt_init_nmi_decoding(struct pci_dev *dev)
770770 {
771771 return 0;
772772 }
@@ -776,7 +776,7 @@ static void hpwdt_exit_nmi_decoding(void) · 3 unmodified lines
776776 }
777777 #endif /* CONFIG_HPWDT_NMI_DECODING */
778778
779−static int __devinit hpwdt_init_one(struct pci_dev *dev,
779+static int hpwdt_init_one(struct pci_dev *dev,
780780 const struct pci_device_id *ent)
781781 {
782782 int retval;
@@ -848,7 +848,7 @@ error_pci_iomap: · 65 unmodified lines
848848 return retval;
849849 }
850850
851−static void __devexit hpwdt_exit(struct pci_dev *dev)
851+static void hpwdt_exit(struct pci_dev *dev)
852852 {
853853 if (!nowayout)
854854 hpwdt_stop();
@@ -863,7 +863,7 @@ static struct pci_driver hpwdt_driver = { · 8 unmodified lines
863863 .name = "hpwdt",
864864 .id_table = hpwdt_devices,
865865 .probe = hpwdt_init_one,
866− .remove = __devexit_p(hpwdt_exit),
866+ .remove = hpwdt_exit,
867867 };
868868
869869 MODULE_AUTHOR("Tom Mingarelli");
drivers/watchdog/i6300esb.c+5−5
@@ -344,7 +344,7 @@ MODULE_DEVICE_TABLE(pci, esb_pci_tbl); · 343 unmodified lines
344344 * Init & exit routines
345345 */
346346
347−static unsigned char __devinit esb_getdevice(struct pci_dev *pdev)
347+static unsigned char esb_getdevice(struct pci_dev *pdev)
348348 {
349349 if (pci_enable_device(pdev)) {
350350 pr_err("failed to enable device\n");
@@ -375,7 +375,7 @@ err_devput: · 24 unmodified lines
375375 return 0;
376376 }
377377
378−static void __devinit esb_initdevice(void)
378+static void esb_initdevice(void)
379379 {
380380 u8 val1;
381381 u16 val2;
@@ -416,7 +416,7 @@ static void __devinit esb_initdevice(void) · 34 unmodified lines
416416 esb_timer_set_heartbeat(heartbeat);
417417 }
418418
419−static int __devinit esb_probe(struct pci_dev *pdev,
419+static int esb_probe(struct pci_dev *pdev,
420420 const struct pci_device_id *ent)
421421 {
422422 int ret;
@@ -465,7 +465,7 @@ err_unmap: · 42 unmodified lines
465465 return ret;
466466 }
467467
468−static void __devexit esb_remove(struct pci_dev *pdev)
468+static void esb_remove(struct pci_dev *pdev)
469469 {
470470 /* Stop the timer before we leave */
471471 if (!nowayout)
@@ -488,7 +488,7 @@ static struct pci_driver esb_driver = { · 16 unmodified lines
488488 .name = ESB_MODULE_NAME,
489489 .id_table = esb_pci_tbl,
490490 .probe = esb_probe,
491− .remove = __devexit_p(esb_remove),
491+ .remove = esb_remove,
492492 .shutdown = esb_shutdown,
493493 };
494494
drivers/watchdog/iTCO_wdt.c+4−4
@@ -364,7 +364,7 @@ static struct watchdog_device iTCO_wdt_watchdog_dev = { · 363 unmodified lines
364364 * Init & exit routines
365365 */
366366
367−static void __devexit iTCO_wdt_cleanup(void)
367+static void iTCO_wdt_cleanup(void)
368368 {
369369 /* Stop the timer before we leave */
370370 if (!nowayout)
@@ -390,7 +390,7 @@ static void __devexit iTCO_wdt_cleanup(void) · 19 unmodified lines
390390 iTCO_wdt_private.gcs = NULL;
391391 }
392392
393−static int __devinit iTCO_wdt_probe(struct platform_device *dev)
393+static int iTCO_wdt_probe(struct platform_device *dev)
394394 {
395395 int ret = -ENODEV;
396396 unsigned long val32;
@@ -533,7 +533,7 @@ out: · 136 unmodified lines
533533 return ret;
534534 }
535535
536−static int __devexit iTCO_wdt_remove(struct platform_device *dev)
536+static int iTCO_wdt_remove(struct platform_device *dev)
537537 {
538538 if (iTCO_wdt_private.tco_res || iTCO_wdt_private.smi_res)
539539 iTCO_wdt_cleanup();
@@ -548,7 +548,7 @@ static void iTCO_wdt_shutdown(struct platform_device *dev) · 8 unmodified lines
548548
549549 static struct platform_driver iTCO_wdt_driver = {
550550 .probe = iTCO_wdt_probe,
551− .remove = __devexit_p(iTCO_wdt_remove),
551+ .remove = iTCO_wdt_remove,
552552 .shutdown = iTCO_wdt_shutdown,
553553 .driver = {
554554 .owner = THIS_MODULE,
drivers/watchdog/ib700wdt.c+3−3
@@ -277,7 +277,7 @@ static struct miscdevice ibwdt_miscdev = { · 276 unmodified lines
277277 * Init & exit routines
278278 */
279279
280−static int __devinit ibwdt_probe(struct platform_device *dev)
280+static int ibwdt_probe(struct platform_device *dev)
281281 {
282282 int res;
283283
@@ -319,7 +319,7 @@ out_nostopreg: · 35 unmodified lines
319319 return res;
320320 }
321321
322−static int __devexit ibwdt_remove(struct platform_device *dev)
322+static int ibwdt_remove(struct platform_device *dev)
323323 {
324324 misc_deregister(&ibwdt_miscdev);
325325 release_region(WDT_START, 1);
@@ -337,7 +337,7 @@ static void ibwdt_shutdown(struct platform_device *dev) · 11 unmodified lines
337337
338338 static struct platform_driver ibwdt_driver = {
339339 .probe = ibwdt_probe,
340− .remove = __devexit_p(ibwdt_remove),
340+ .remove = ibwdt_remove,
341341 .shutdown = ibwdt_shutdown,
342342 .driver = {
343343 .owner = THIS_MODULE,
drivers/watchdog/ie6xx_wdt.c+5−5
@@ -225,7 +225,7 @@ static const struct file_operations ie6xx_wdt_dbg_operations = { · 224 unmodified lines
225225 .release = single_release,
226226 };
227227
228−static void __devinit ie6xx_wdt_debugfs_init(void)
228+static void ie6xx_wdt_debugfs_init(void)
229229 {
230230 /* /sys/kernel/debug/ie6xx_wdt */
231231 ie6xx_wdt_data.debugfs = debugfs_create_file("ie6xx_wdt",
@@ -238,7 +238,7 @@ static void ie6xx_wdt_debugfs_exit(void) · 6 unmodified lines
238238 }
239239
240240 #else
241−static void __devinit ie6xx_wdt_debugfs_init(void)
241+static void ie6xx_wdt_debugfs_init(void)
242242 {
243243 }
244244
@@ -247,7 +247,7 @@ static void ie6xx_wdt_debugfs_exit(void) · 2 unmodified lines
247247 }
248248 #endif
249249
250−static int __devinit ie6xx_wdt_probe(struct platform_device *pdev)
250+static int ie6xx_wdt_probe(struct platform_device *pdev)
251251 {
252252 struct resource *res;
253253 u8 wdtlr;
@@ -295,7 +295,7 @@ misc_register_error: · 41 unmodified lines
295295 return ret;
296296 }
297297
298−static int __devexit ie6xx_wdt_remove(struct platform_device *pdev)
298+static int ie6xx_wdt_remove(struct platform_device *pdev)
299299 {
300300 struct resource *res;
301301
@@ -311,7 +311,7 @@ static int __devexit ie6xx_wdt_remove(struct platform_device *pdev) · 9 unmodified lines
311311
312312 static struct platform_driver ie6xx_wdt_driver = {
313313 .probe = ie6xx_wdt_probe,
314− .remove = __devexit_p(ie6xx_wdt_remove),
314+ .remove = ie6xx_wdt_remove,
315315 .driver = {
316316 .name = DRIVER_NAME,
317317 .owner = THIS_MODULE,
drivers/watchdog/jz4740_wdt.c+3−3
@@ -144,7 +144,7 @@ static const struct watchdog_ops jz4740_wdt_ops = { · 143 unmodified lines
144144 .set_timeout = jz4740_wdt_set_timeout,
145145 };
146146
147−static int __devinit jz4740_wdt_probe(struct platform_device *pdev)
147+static int jz4740_wdt_probe(struct platform_device *pdev)
148148 {
149149 struct jz4740_wdt_drvdata *drvdata;
150150 struct watchdog_device *jz4740_wdt;
@@ -197,7 +197,7 @@ err_out: · 46 unmodified lines
197197 return ret;
198198 }
199199
200−static int __devexit jz4740_wdt_remove(struct platform_device *pdev)
200+static int jz4740_wdt_remove(struct platform_device *pdev)
201201 {
202202 struct jz4740_wdt_drvdata *drvdata = platform_get_drvdata(pdev);
203203
@@ -210,7 +210,7 @@ static int __devexit jz4740_wdt_remove(struct platform_device *pdev) · 6 unmodified lines
210210
211211 static struct platform_driver jz4740_wdt_driver = {
212212 .probe = jz4740_wdt_probe,
213− .remove = __devexit_p(jz4740_wdt_remove),
213+ .remove = jz4740_wdt_remove,
214214 .driver = {
215215 .name = "jz4740-wdt",
216216 .owner = THIS_MODULE,
drivers/watchdog/ks8695_wdt.c+3−3
@@ -235,7 +235,7 @@ static struct miscdevice ks8695wdt_miscdev = { · 234 unmodified lines
235235 .fops = &ks8695wdt_fops,
236236 };
237237
238−static int __devinit ks8695wdt_probe(struct platform_device *pdev)
238+static int ks8695wdt_probe(struct platform_device *pdev)
239239 {
240240 int res;
241241
@@ -252,7 +252,7 @@ static int __devinit ks8695wdt_probe(struct platform_device *pdev) · 10 unmodified lines
252252 return 0;
253253 }
254254
255−static int __devexit ks8695wdt_remove(struct platform_device *pdev)
255+static int ks8695wdt_remove(struct platform_device *pdev)
256256 {
257257 int res;
258258
@@ -290,7 +290,7 @@ static int ks8695wdt_resume(struct platform_device *pdev) · 31 unmodified lines
290290
291291 static struct platform_driver ks8695wdt_driver = {
292292 .probe = ks8695wdt_probe,
293− .remove = __devexit_p(ks8695wdt_remove),
293+ .remove = ks8695wdt_remove,
294294 .shutdown = ks8695wdt_shutdown,
295295 .suspend = ks8695wdt_suspend,
296296 .resume = ks8695wdt_resume,
drivers/watchdog/lantiq_wdt.c+3−3
@@ -186,7 +186,7 @@ static struct miscdevice ltq_wdt_miscdev = { · 185 unmodified lines
186186 .fops = &ltq_wdt_fops,
187187 };
188188
189−static int __devinit
189+static int
190190 ltq_wdt_probe(struct platform_device *pdev)
191191 {
192192 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
@@ -220,7 +220,7 @@ ltq_wdt_probe(struct platform_device *pdev) · 27 unmodified lines
220220 return misc_register(&ltq_wdt_miscdev);
221221 }
222222
223−static int __devexit
223+static int
224224 ltq_wdt_remove(struct platform_device *pdev)
225225 {
226226 misc_deregister(&ltq_wdt_miscdev);
@@ -236,7 +236,7 @@ MODULE_DEVICE_TABLE(of, ltq_wdt_match); · 9 unmodified lines
236236
237237 static struct platform_driver ltq_wdt_driver = {
238238 .probe = ltq_wdt_probe,
239− .remove = __devexit_p(ltq_wdt_remove),
239+ .remove = ltq_wdt_remove,
240240 .driver = {
241241 .name = "wdt",
242242 .owner = THIS_MODULE,
drivers/watchdog/max63xx_wdt.c+3−3
@@ -174,7 +174,7 @@ static struct watchdog_device max63xx_wdt_dev = { · 173 unmodified lines
174174 .ops = &max63xx_wdt_ops,
175175 };
176176
177−static int __devinit max63xx_wdt_probe(struct platform_device *pdev)
177+static int max63xx_wdt_probe(struct platform_device *pdev)
178178 {
179179 struct resource *wdt_mem;
180180 struct max63xx_timeout *table;
@@ -209,7 +209,7 @@ static int __devinit max63xx_wdt_probe(struct platform_device *pdev) · 28 unmodified lines
209209 return watchdog_register_device(&max63xx_wdt_dev);
210210 }
211211
212−static int __devexit max63xx_wdt_remove(struct platform_device *pdev)
212+static int max63xx_wdt_remove(struct platform_device *pdev)
213213 {
214214 watchdog_unregister_device(&max63xx_wdt_dev);
215215 return 0;
@@ -228,7 +228,7 @@ MODULE_DEVICE_TABLE(platform, max63xx_id_table); · 12 unmodified lines
228228
229229 static struct platform_driver max63xx_wdt_driver = {
230230 .probe = max63xx_wdt_probe,
231− .remove = __devexit_p(max63xx_wdt_remove),
231+ .remove = max63xx_wdt_remove,
232232 .id_table = max63xx_id_table,
233233 .driver = {
234234 .name = "max63xx_wdt",
drivers/watchdog/mixcomwd.c+1−1
@@ -73,7 +73,7 @@ · 72 unmodified lines
7373 static struct {
7474 int ioport;
7575 int id;
76−} mixcomwd_io_info[] __devinitdata = {
76+} mixcomwd_io_info[] = {
7777 /* The Mixcom cards */
7878 {0x0d90, MIXCOM_ID},
7979 {0x0e90, MIXCOM_ID},
drivers/watchdog/mpc8xxx_wdt.c+3−3
@@ -188,7 +188,7 @@ static struct miscdevice mpc8xxx_wdt_miscdev = { · 187 unmodified lines
188188 };
189189
190190 static const struct of_device_id mpc8xxx_wdt_match[];
191−static int __devinit mpc8xxx_wdt_probe(struct platform_device *ofdev)
191+static int mpc8xxx_wdt_probe(struct platform_device *ofdev)
192192 {
193193 int ret;
194194 const struct of_device_id *match;
@@ -245,7 +245,7 @@ err_unmap: · 50 unmodified lines
245245 return ret;
246246 }
247247
248−static int __devexit mpc8xxx_wdt_remove(struct platform_device *ofdev)
248+static int mpc8xxx_wdt_remove(struct platform_device *ofdev)
249249 {
250250 mpc8xxx_wdt_pr_warn("watchdog removed");
251251 del_timer_sync(&wdt_timer);
@@ -281,7 +281,7 @@ MODULE_DEVICE_TABLE(of, mpc8xxx_wdt_match); · 29 unmodified lines
281281
282282 static struct platform_driver mpc8xxx_wdt_driver = {
283283 .probe = mpc8xxx_wdt_probe,
284− .remove = __devexit_p(mpc8xxx_wdt_remove),
284+ .remove = mpc8xxx_wdt_remove,
285285 .driver = {
286286 .name = "mpc8xxx_wdt",
287287 .owner = THIS_MODULE,
drivers/watchdog/mpcore_wdt.c+3−3
@@ -327,7 +327,7 @@ static struct miscdevice mpcore_wdt_miscdev = { · 326 unmodified lines
327327 .fops = &mpcore_wdt_fops,
328328 };
329329
330−static int __devinit mpcore_wdt_probe(struct platform_device *pdev)
330+static int mpcore_wdt_probe(struct platform_device *pdev)
331331 {
332332 struct mpcore_wdt *wdt;
333333 struct resource *res;
@@ -378,7 +378,7 @@ static int __devinit mpcore_wdt_probe(struct platform_device *pdev) · 44 unmodified lines
378378 return 0;
379379 }
380380
381−static int __devexit mpcore_wdt_remove(struct platform_device *pdev)
381+static int mpcore_wdt_remove(struct platform_device *pdev)
382382 {
383383 platform_set_drvdata(pdev, NULL);
384384
@@ -415,7 +415,7 @@ MODULE_ALIAS("platform:mpcore_wdt"); · 30 unmodified lines
415415
416416 static struct platform_driver mpcore_wdt_driver = {
417417 .probe = mpcore_wdt_probe,
418− .remove = __devexit_p(mpcore_wdt_remove),
418+ .remove = mpcore_wdt_remove,
419419 .suspend = mpcore_wdt_suspend,
420420 .resume = mpcore_wdt_resume,
421421 .shutdown = mpcore_wdt_shutdown,
drivers/watchdog/mtx-1_wdt.c+3−3
@@ -204,7 +204,7 @@ static struct miscdevice mtx1_wdt_misc = { · 203 unmodified lines
204204 };
205205
206206
207−static int __devinit mtx1_wdt_probe(struct platform_device *pdev)
207+static int mtx1_wdt_probe(struct platform_device *pdev)
208208 {
209209 int ret;
210210
@@ -233,7 +233,7 @@ static int __devinit mtx1_wdt_probe(struct platform_device *pdev) · 22 unmodified lines
233233 return 0;
234234 }
235235
236−static int __devexit mtx1_wdt_remove(struct platform_device *pdev)
236+static int mtx1_wdt_remove(struct platform_device *pdev)
237237 {
238238 /* FIXME: do we need to lock this test ? */
239239 if (mtx1_wdt_device.queue) {
@@ -248,7 +248,7 @@ static int __devexit mtx1_wdt_remove(struct platform_device *pdev) · 8 unmodified lines
248248
249249 static struct platform_driver mtx1_wdt_driver = {
250250 .probe = mtx1_wdt_probe,
251− .remove = __devexit_p(mtx1_wdt_remove),
251+ .remove = mtx1_wdt_remove,
252252 .driver.name = "mtx1-wdt",
253253 .driver.owner = THIS_MODULE,
254254 };
drivers/watchdog/mv64x60_wdt.c+3−3
@@ -253,7 +253,7 @@ static struct miscdevice mv64x60_wdt_miscdev = { · 252 unmodified lines
253253 .fops = &mv64x60_wdt_fops,
254254 };
255255
256−static int __devinit mv64x60_wdt_probe(struct platform_device *dev)
256+static int mv64x60_wdt_probe(struct platform_device *dev)
257257 {
258258 struct mv64x60_wdt_pdata *pdata = dev->dev.platform_data;
259259 struct resource *r;
@@ -287,7 +287,7 @@ static int __devinit mv64x60_wdt_probe(struct platform_device *dev) · 27 unmodified lines
287287 return misc_register(&mv64x60_wdt_miscdev);
288288 }
289289
290−static int __devexit mv64x60_wdt_remove(struct platform_device *dev)
290+static int mv64x60_wdt_remove(struct platform_device *dev)
291291 {
292292 misc_deregister(&mv64x60_wdt_miscdev);
293293
@@ -300,7 +300,7 @@ static int __devexit mv64x60_wdt_remove(struct platform_device *dev) · 6 unmodified lines
300300
301301 static struct platform_driver mv64x60_wdt_driver = {
302302 .probe = mv64x60_wdt_probe,
303− .remove = __devexit_p(mv64x60_wdt_remove),
303+ .remove = mv64x60_wdt_remove,
304304 .driver = {
305305 .owner = THIS_MODULE,
306306 .name = MV64x60_WDT_NAME,
drivers/watchdog/nuc900_wdt.c+3−3
@@ -242,7 +242,7 @@ static struct miscdevice nuc900wdt_miscdev = { · 241 unmodified lines
242242 .fops = &nuc900wdt_fops,
243243 };
244244
245−static int __devinit nuc900wdt_probe(struct platform_device *pdev)
245+static int nuc900wdt_probe(struct platform_device *pdev)
246246 {
247247 int ret = 0;
248248
@@ -309,7 +309,7 @@ err_get: · 60 unmodified lines
309309 return ret;
310310 }
311311
312−static int __devexit nuc900wdt_remove(struct platform_device *pdev)
312+static int nuc900wdt_remove(struct platform_device *pdev)
313313 {
314314 misc_deregister(&nuc900wdt_miscdev);
315315
@@ -328,7 +328,7 @@ static int __devexit nuc900wdt_remove(struct platform_device *pdev) · 12 unmodified lines
328328
329329 static struct platform_driver nuc900wdt_driver = {
330330 .probe = nuc900wdt_probe,
331− .remove = __devexit_p(nuc900wdt_remove),
331+ .remove = nuc900wdt_remove,
332332 .driver = {
333333 .name = "nuc900-wdt",
334334 .owner = THIS_MODULE,
drivers/watchdog/nv_tco.c+5−5
@@ -302,7 +302,7 @@ MODULE_DEVICE_TABLE(pci, tco_pci_tbl); · 301 unmodified lines
302302 * Init & exit routines
303303 */
304304
305−static unsigned char __devinit nv_tco_getdevice(void)
305+static unsigned char nv_tco_getdevice(void)
306306 {
307307 struct pci_dev *dev = NULL;
308308 u32 val;
@@ -376,7 +376,7 @@ out: · 67 unmodified lines
376376 return 0;
377377 }
378378
379−static int __devinit nv_tco_init(struct platform_device *dev)
379+static int nv_tco_init(struct platform_device *dev)
380380 {
381381 int ret;
382382
@@ -423,7 +423,7 @@ unreg_region: · 40 unmodified lines
423423 return ret;
424424 }
425425
426−static void __devexit nv_tco_cleanup(void)
426+static void nv_tco_cleanup(void)
427427 {
428428 u32 val;
429429
@@ -445,7 +445,7 @@ static void __devexit nv_tco_cleanup(void) · 15 unmodified lines
445445 release_region(tcobase, 0x10);
446446 }
447447
448−static int __devexit nv_tco_remove(struct platform_device *dev)
448+static int nv_tco_remove(struct platform_device *dev)
449449 {
450450 if (tcobase)
451451 nv_tco_cleanup();
@@ -468,7 +468,7 @@ static void nv_tco_shutdown(struct platform_device *dev) · 16 unmodified lines
468468
469469 static struct platform_driver nv_tco_driver = {
470470 .probe = nv_tco_init,
471− .remove = __devexit_p(nv_tco_remove),
471+ .remove = nv_tco_remove,
472472 .shutdown = nv_tco_shutdown,
473473 .driver = {
474474 .owner = THIS_MODULE,
drivers/watchdog/of_xilinx_wdt.c+4−4
@@ -289,7 +289,7 @@ static struct miscdevice xwdt_miscdev = { · 288 unmodified lines
289289 .fops = &xwdt_fops,
290290 };
291291
292−static int __devinit xwdt_probe(struct platform_device *pdev)
292+static int xwdt_probe(struct platform_device *pdev)
293293 {
294294 int rc;
295295 u32 *tmptr;
@@ -383,7 +383,7 @@ err_out: · 87 unmodified lines
383383 return rc;
384384 }
385385
386−static int __devexit xwdt_remove(struct platform_device *dev)
386+static int xwdt_remove(struct platform_device *dev)
387387 {
388388 misc_deregister(&xwdt_miscdev);
389389 iounmap(xdev.base);
@@ -393,7 +393,7 @@ static int __devexit xwdt_remove(struct platform_device *dev) · 3 unmodified lines
393393 }
394394
395395 /* Match table for of_platform binding */
396−static struct of_device_id __devinitdata xwdt_of_match[] = {
396+static struct of_device_id xwdt_of_match[] = {
397397 { .compatible = "xlnx,xps-timebase-wdt-1.01.a", },
398398 {},
399399 };
@@ -401,7 +401,7 @@ MODULE_DEVICE_TABLE(of, xwdt_of_match); · 1 unmodified line
401401
402402 static struct platform_driver xwdt_driver = {
403403 .probe = xwdt_probe,
404− .remove = __devexit_p(xwdt_remove),
404+ .remove = xwdt_remove,
405405 .driver = {
406406 .owner = THIS_MODULE,
407407 .name = WATCHDOG_NAME,
drivers/watchdog/omap_wdt.c+3−3
@@ -264,7 +264,7 @@ static const struct file_operations omap_wdt_fops = { · 263 unmodified lines
264264 .llseek = no_llseek,
265265 };
266266
267−static int __devinit omap_wdt_probe(struct platform_device *pdev)
267+static int omap_wdt_probe(struct platform_device *pdev)
268268 {
269269 struct resource *res, *mem;
270270 struct omap_wdt_dev *wdev;
@@ -359,7 +359,7 @@ static void omap_wdt_shutdown(struct platform_device *pdev) · 88 unmodified lines
359359 }
360360 }
361361
362−static int __devexit omap_wdt_remove(struct platform_device *pdev)
362+static int omap_wdt_remove(struct platform_device *pdev)
363363 {
364364 struct omap_wdt_dev *wdev = platform_get_drvdata(pdev);
365365 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
@@ -426,7 +426,7 @@ MODULE_DEVICE_TABLE(of, omap_wdt_of_match); · 60 unmodified lines
426426
427427 static struct platform_driver omap_wdt_driver = {
428428 .probe = omap_wdt_probe,
429− .remove = __devexit_p(omap_wdt_remove),
429+ .remove = omap_wdt_remove,
430430 .shutdown = omap_wdt_shutdown,
431431 .suspend = omap_wdt_suspend,
432432 .resume = omap_wdt_resume,
drivers/watchdog/orion_wdt.c+4−4
@@ -142,7 +142,7 @@ static struct watchdog_device orion_wdt = { · 141 unmodified lines
142142 .ops = &orion_wdt_ops,
143143 };
144144
145−static int __devinit orion_wdt_probe(struct platform_device *pdev)
145+static int orion_wdt_probe(struct platform_device *pdev)
146146 {
147147 struct resource *res;
148148 int ret;
@@ -181,7 +181,7 @@ static int __devinit orion_wdt_probe(struct platform_device *pdev) · 32 unmodified lines
181181 return 0;
182182 }
183183
184−static int __devexit orion_wdt_remove(struct platform_device *pdev)
184+static int orion_wdt_remove(struct platform_device *pdev)
185185 {
186186 watchdog_unregister_device(&orion_wdt);
187187 clk_disable_unprepare(clk);
@@ -193,7 +193,7 @@ static void orion_wdt_shutdown(struct platform_device *pdev) · 5 unmodified lines
193193 orion_wdt_stop(&orion_wdt);
194194 }
195195
196−static const struct of_device_id orion_wdt_of_match_table[] __devinitdata = {
196+static const struct of_device_id orion_wdt_of_match_table[] = {
197197 { .compatible = "marvell,orion-wdt", },
198198 {},
199199 };
@@ -201,7 +201,7 @@ MODULE_DEVICE_TABLE(of, orion_wdt_of_match_table); · 1 unmodified line
201201
202202 static struct platform_driver orion_wdt_driver = {
203203 .probe = orion_wdt_probe,
204− .remove = __devexit_p(orion_wdt_remove),
204+ .remove = orion_wdt_remove,
205205 .shutdown = orion_wdt_shutdown,
206206 .driver = {
207207 .owner = THIS_MODULE,
drivers/watchdog/pcwd.c+4−4
@@ -801,7 +801,7 @@ static inline int get_revision(void) · 800 unmodified lines
801801 * The initial rate is once per second at board start up, then twice
802802 * per second for normal operation.
803803 */
804−static int __devinit pcwd_isa_match(struct device *dev, unsigned int id)
804+static int pcwd_isa_match(struct device *dev, unsigned int id)
805805 {
806806 int base_addr = pcwd_ioports[id];
807807 int port0, last_port0; /* Reg 0, in case it's REV A */
@@ -846,7 +846,7 @@ static int __devinit pcwd_isa_match(struct device *dev, unsigned int id) · 38 unmodified lines
846846 return retval;
847847 }
848848
849−static int __devinit pcwd_isa_probe(struct device *dev, unsigned int id)
849+static int pcwd_isa_probe(struct device *dev, unsigned int id)
850850 {
851851 int ret;
852852
@@ -949,7 +949,7 @@ error_request_region: · 96 unmodified lines
949949 return ret;
950950 }
951951
952−static int __devexit pcwd_isa_remove(struct device *dev, unsigned int id)
952+static int pcwd_isa_remove(struct device *dev, unsigned int id)
953953 {
954954 if (debug >= DEBUG)
955955 pr_debug("pcwd_isa_remove id=%d\n", id);
@@ -984,7 +984,7 @@ static void pcwd_isa_shutdown(struct device *dev, unsigned int id) · 28 unmodified lines
984984 static struct isa_driver pcwd_isa_driver = {
985985 .match = pcwd_isa_match,
986986 .probe = pcwd_isa_probe,
987− .remove = __devexit_p(pcwd_isa_remove),
987+ .remove = pcwd_isa_remove,
988988 .shutdown = pcwd_isa_shutdown,
989989 .driver = {
990990 .owner = THIS_MODULE,
drivers/watchdog/pcwd_pci.c+3−3
@@ -682,7 +682,7 @@ static struct notifier_block pcipcwd_notifier = { · 681 unmodified lines
682682 * Init & exit routines
683683 */
684684
685−static int __devinit pcipcwd_card_init(struct pci_dev *pdev,
685+static int pcipcwd_card_init(struct pci_dev *pdev,
686686 const struct pci_device_id *ent)
687687 {
688688 int ret = -EIO;
@@ -785,7 +785,7 @@ err_out_disable_device: · 96 unmodified lines
785785 return ret;
786786 }
787787
788−static void __devexit pcipcwd_card_exit(struct pci_dev *pdev)
788+static void pcipcwd_card_exit(struct pci_dev *pdev)
789789 {
790790 /* Stop the timer before we leave */
791791 if (!nowayout)
@@ -812,7 +812,7 @@ static struct pci_driver pcipcwd_driver = { · 20 unmodified lines
812812 .name = WATCHDOG_NAME,
813813 .id_table = pcipcwd_pci_tbl,
814814 .probe = pcipcwd_card_init,
815− .remove = __devexit_p(pcipcwd_card_exit),
815+ .remove = pcipcwd_card_exit,
816816 };
817817
818818 module_pci_driver(pcipcwd_driver);
drivers/watchdog/pnx4008_wdt.c+3−3
@@ -146,7 +146,7 @@ static struct watchdog_device pnx4008_wdd = { · 145 unmodified lines
146146 .max_timeout = MAX_HEARTBEAT,
147147 };
148148
149−static int __devinit pnx4008_wdt_probe(struct platform_device *pdev)
149+static int pnx4008_wdt_probe(struct platform_device *pdev)
150150 {
151151 struct resource *r;
152152 int ret = 0;
@@ -192,7 +192,7 @@ out: · 39 unmodified lines
192192 return ret;
193193 }
194194
195−static int __devexit pnx4008_wdt_remove(struct platform_device *pdev)
195+static int pnx4008_wdt_remove(struct platform_device *pdev)
196196 {
197197 watchdog_unregister_device(&pnx4008_wdd);
198198
@@ -217,7 +217,7 @@ static struct platform_driver platform_wdt_driver = { · 18 unmodified lines
217217 .of_match_table = of_match_ptr(pnx4008_wdt_match),
218218 },
219219 .probe = pnx4008_wdt_probe,
220− .remove = __devexit_p(pnx4008_wdt_remove),
220+ .remove = pnx4008_wdt_remove,
221221 };
222222
223223 module_platform_driver(platform_wdt_driver);
drivers/watchdog/rc32434_wdt.c+3−3
@@ -260,7 +260,7 @@ static struct miscdevice rc32434_wdt_miscdev = { · 259 unmodified lines
260260 .fops = &rc32434_wdt_fops,
261261 };
262262
263−static int __devinit rc32434_wdt_probe(struct platform_device *pdev)
263+static int rc32434_wdt_probe(struct platform_device *pdev)
264264 {
265265 int ret;
266266 struct resource *r;
@@ -306,7 +306,7 @@ unmap: · 39 unmodified lines
306306 return ret;
307307 }
308308
309−static int __devexit rc32434_wdt_remove(struct platform_device *pdev)
309+static int rc32434_wdt_remove(struct platform_device *pdev)
310310 {
311311 misc_deregister(&rc32434_wdt_miscdev);
312312 iounmap(wdt_reg);
@@ -320,7 +320,7 @@ static void rc32434_wdt_shutdown(struct platform_device *pdev) · 7 unmodified lines
320320
321321 static struct platform_driver rc32434_wdt_driver = {
322322 .probe = rc32434_wdt_probe,
323− .remove = __devexit_p(rc32434_wdt_remove),
323+ .remove = rc32434_wdt_remove,
324324 .shutdown = rc32434_wdt_shutdown,
325325 .driver = {
326326 .name = "rc32434_wdt",
drivers/watchdog/rdc321x_wdt.c+3−3
@@ -225,7 +225,7 @@ static struct miscdevice rdc321x_wdt_misc = { · 224 unmodified lines
225225 .fops = &rdc321x_wdt_fops,
226226 };
227227
228−static int __devinit rdc321x_wdt_probe(struct platform_device *pdev)
228+static int rdc321x_wdt_probe(struct platform_device *pdev)
229229 {
230230 int err;
231231 struct resource *r;
@@ -272,7 +272,7 @@ static int __devinit rdc321x_wdt_probe(struct platform_device *pdev) · 40 unmodified lines
272272 return 0;
273273 }
274274
275−static int __devexit rdc321x_wdt_remove(struct platform_device *pdev)
275+static int rdc321x_wdt_remove(struct platform_device *pdev)
276276 {
277277 if (rdc321x_wdt_device.queue) {
278278 rdc321x_wdt_device.queue = 0;
@@ -286,7 +286,7 @@ static int __devexit rdc321x_wdt_remove(struct platform_device *pdev) · 7 unmodified lines
286286
287287 static struct platform_driver rdc321x_wdt_driver = {
288288 .probe = rdc321x_wdt_probe,
289− .remove = __devexit_p(rdc321x_wdt_remove),
289+ .remove = rdc321x_wdt_remove,
290290 .driver = {
291291 .owner = THIS_MODULE,
292292 .name = "rdc321x-wdt",
drivers/watchdog/riowd.c+3−3
@@ -174,7 +174,7 @@ static struct miscdevice riowd_miscdev = { · 173 unmodified lines
174174 .fops = &riowd_fops
175175 };
176176
177−static int __devinit riowd_probe(struct platform_device *op)
177+static int riowd_probe(struct platform_device *op)
178178 {
179179 struct riowd *p;
180180 int err = -EINVAL;
@@ -220,7 +220,7 @@ out: · 39 unmodified lines
220220 return err;
221221 }
222222
223−static int __devexit riowd_remove(struct platform_device *op)
223+static int riowd_remove(struct platform_device *op)
224224 {
225225 struct riowd *p = dev_get_drvdata(&op->dev);
226226
@@ -246,7 +246,7 @@ static struct platform_driver riowd_driver = { · 19 unmodified lines
246246 .of_match_table = riowd_match,
247247 },
248248 .probe = riowd_probe,
249− .remove = __devexit_p(riowd_remove),
249+ .remove = riowd_remove,
250250 };
251251
252252 module_platform_driver(riowd_driver);
drivers/watchdog/s3c2410_wdt.c+3−3
@@ -303,7 +303,7 @@ static inline void s3c2410wdt_cpufreq_deregister(void) · 302 unmodified lines
303303 }
304304 #endif
305305
306−static int __devinit s3c2410wdt_probe(struct platform_device *pdev)
306+static int s3c2410wdt_probe(struct platform_device *pdev)
307307 {
308308 struct device *dev;
309309 unsigned int wtcon;
@@ -437,7 +437,7 @@ static int __devinit s3c2410wdt_probe(struct platform_device *pdev) · 127 unmodified lines
437437 return ret;
438438 }
439439
440−static int __devexit s3c2410wdt_remove(struct platform_device *dev)
440+static int s3c2410wdt_remove(struct platform_device *dev)
441441 {
442442 watchdog_unregister_device(&s3c2410_wdd);
443443
@@ -508,7 +508,7 @@ MODULE_DEVICE_TABLE(of, s3c2410_wdt_match); · 64 unmodified lines
508508
509509 static struct platform_driver s3c2410wdt_driver = {
510510 .probe = s3c2410wdt_probe,
511− .remove = __devexit_p(s3c2410wdt_remove),
511+ .remove = s3c2410wdt_remove,
512512 .shutdown = s3c2410wdt_shutdown,
513513 .suspend = s3c2410wdt_suspend,
514514 .resume = s3c2410wdt_resume,
drivers/watchdog/sch311x_wdt.c+3−3
@@ -356,7 +356,7 @@ static struct miscdevice sch311x_wdt_miscdev = { · 355 unmodified lines
356356 * Init & exit routines
357357 */
358358
359−static int __devinit sch311x_wdt_probe(struct platform_device *pdev)
359+static int sch311x_wdt_probe(struct platform_device *pdev)
360360 {
361361 struct device *dev = &pdev->dev;
362362 int err;
@@ -429,7 +429,7 @@ exit: · 66 unmodified lines
429429 return err;
430430 }
431431
432−static int __devexit sch311x_wdt_remove(struct platform_device *pdev)
432+static int sch311x_wdt_remove(struct platform_device *pdev)
433433 {
434434 /* Stop the timer before we leave */
435435 if (!nowayout)
@@ -451,7 +451,7 @@ static void sch311x_wdt_shutdown(struct platform_device *dev) · 15 unmodified lines
451451
452452 static struct platform_driver sch311x_wdt_driver = {
453453 .probe = sch311x_wdt_probe,
454− .remove = __devexit_p(sch311x_wdt_remove),
454+ .remove = sch311x_wdt_remove,
455455 .shutdown = sch311x_wdt_shutdown,
456456 .driver = {
457457 .owner = THIS_MODULE,
drivers/watchdog/shwdt.c+3−3
@@ -217,7 +217,7 @@ static struct watchdog_device sh_wdt_dev = { · 216 unmodified lines
217217 .ops = &sh_wdt_ops,
218218 };
219219
220−static int __devinit sh_wdt_probe(struct platform_device *pdev)
220+static int sh_wdt_probe(struct platform_device *pdev)
221221 {
222222 struct sh_wdt *wdt;
223223 struct resource *res;
@@ -298,7 +298,7 @@ err: · 74 unmodified lines
298298 return rc;
299299 }
300300
301−static int __devexit sh_wdt_remove(struct platform_device *pdev)
301+static int sh_wdt_remove(struct platform_device *pdev)
302302 {
303303 struct sh_wdt *wdt = platform_get_drvdata(pdev);
304304
@@ -324,7 +324,7 @@ static struct platform_driver sh_wdt_driver = { · 19 unmodified lines
324324 },
325325
326326 .probe = sh_wdt_probe,
327− .remove = __devexit_p(sh_wdt_remove),
327+ .remove = sh_wdt_remove,
328328 .shutdown = sh_wdt_shutdown,
329329 };
330330
drivers/watchdog/sp5100_tco.c+5−5
@@ -271,7 +271,7 @@ MODULE_DEVICE_TABLE(pci, sp5100_tco_pci_tbl); · 270 unmodified lines
271271 * Init & exit routines
272272 */
273273
274−static unsigned char __devinit sp5100_tco_setupdevice(void)
274+static unsigned char sp5100_tco_setupdevice(void)
275275 {
276276 struct pci_dev *dev = NULL;
277277 u32 val;
@@ -361,7 +361,7 @@ exit: · 83 unmodified lines
361361 return 0;
362362 }
363363
364−static int __devinit sp5100_tco_init(struct platform_device *dev)
364+static int sp5100_tco_init(struct platform_device *dev)
365365 {
366366 int ret;
367367 u32 val;
@@ -412,7 +412,7 @@ exit: · 44 unmodified lines
412412 return ret;
413413 }
414414
415−static void __devexit sp5100_tco_cleanup(void)
415+static void sp5100_tco_cleanup(void)
416416 {
417417 /* Stop the timer before we leave */
418418 if (!nowayout)
@@ -425,7 +425,7 @@ static void __devexit sp5100_tco_cleanup(void) · 6 unmodified lines
425425 release_region(pm_iobase, SP5100_PM_IOPORTS_SIZE);
426426 }
427427
428−static int __devexit sp5100_tco_remove(struct platform_device *dev)
428+static int sp5100_tco_remove(struct platform_device *dev)
429429 {
430430 if (tcobase)
431431 sp5100_tco_cleanup();
@@ -439,7 +439,7 @@ static void sp5100_tco_shutdown(struct platform_device *dev) · 7 unmodified lines
439439
440440 static struct platform_driver sp5100_tco_driver = {
441441 .probe = sp5100_tco_init,
442− .remove = __devexit_p(sp5100_tco_remove),
442+ .remove = sp5100_tco_remove,
443443 .shutdown = sp5100_tco_shutdown,
444444 .driver = {
445445 .owner = THIS_MODULE,
drivers/watchdog/sp805_wdt.c+3−3
@@ -210,7 +210,7 @@ static const struct watchdog_ops wdt_ops = { · 209 unmodified lines
210210 .get_timeleft = wdt_timeleft,
211211 };
212212
213−static int __devinit
213+static int
214214 sp805_wdt_probe(struct amba_device *adev, const struct amba_id *id)
215215 {
216216 struct sp805_wdt *wdt;
@@ -272,7 +272,7 @@ err: · 55 unmodified lines
272272 return ret;
273273 }
274274
275−static int __devexit sp805_wdt_remove(struct amba_device *adev)
275+static int sp805_wdt_remove(struct amba_device *adev)
276276 {
277277 struct sp805_wdt *wdt = amba_get_drvdata(adev);
278278
@@ -326,7 +326,7 @@ static struct amba_driver sp805_wdt_driver = { · 47 unmodified lines
326326 },
327327 .id_table = sp805_wdt_ids,
328328 .probe = sp805_wdt_probe,
329− .remove = __devexit_p(sp805_wdt_remove),
329+ .remove = sp805_wdt_remove,
330330 };
331331
332332 module_amba_driver(sp805_wdt_driver);
drivers/watchdog/stmp3xxx_wdt.c+3−3
@@ -204,7 +204,7 @@ static struct miscdevice stmp3xxx_wdt_miscdev = { · 203 unmodified lines
204204 .fops = &stmp3xxx_wdt_fops,
205205 };
206206
207−static int __devinit stmp3xxx_wdt_probe(struct platform_device *pdev)
207+static int stmp3xxx_wdt_probe(struct platform_device *pdev)
208208 {
209209 int ret = 0;
210210
@@ -229,7 +229,7 @@ static int __devinit stmp3xxx_wdt_probe(struct platform_device *pdev) · 18 unmodified lines
229229 return ret;
230230 }
231231
232−static int __devexit stmp3xxx_wdt_remove(struct platform_device *pdev)
232+static int stmp3xxx_wdt_remove(struct platform_device *pdev)
233233 {
234234 misc_deregister(&stmp3xxx_wdt_miscdev);
235235 return 0;
@@ -269,7 +269,7 @@ static struct platform_driver platform_wdt_driver = { · 33 unmodified lines
269269 .name = "stmp3xxx_wdt",
270270 },
271271 .probe = stmp3xxx_wdt_probe,
272− .remove = __devexit_p(stmp3xxx_wdt_remove),
272+ .remove = stmp3xxx_wdt_remove,
273273 .suspend = stmp3xxx_wdt_suspend,
274274 .resume = stmp3xxx_wdt_resume,
275275 };
drivers/watchdog/ts72xx_wdt.c+3−3
@@ -390,7 +390,7 @@ static struct miscdevice ts72xx_wdt_miscdev = { · 389 unmodified lines
390390 .fops = &ts72xx_wdt_fops,
391391 };
392392
393−static __devinit int ts72xx_wdt_probe(struct platform_device *pdev)
393+static int ts72xx_wdt_probe(struct platform_device *pdev)
394394 {
395395 struct ts72xx_wdt *wdt;
396396 struct resource *r1, *r2;
@@ -476,7 +476,7 @@ fail: · 79 unmodified lines
476476 return error;
477477 }
478478
479−static __devexit int ts72xx_wdt_remove(struct platform_device *pdev)
479+static int ts72xx_wdt_remove(struct platform_device *pdev)
480480 {
481481 struct ts72xx_wdt *wdt = platform_get_drvdata(pdev);
482482 struct resource *res;
@@ -499,7 +499,7 @@ static __devexit int ts72xx_wdt_remove(struct platform_device *pdev) · 16 unmodified lines
499499
500500 static struct platform_driver ts72xx_wdt_driver = {
501501 .probe = ts72xx_wdt_probe,
502− .remove = __devexit_p(ts72xx_wdt_remove),
502+ .remove = ts72xx_wdt_remove,
503503 .driver = {
504504 .name = "ts72xx-wdt",
505505 .owner = THIS_MODULE,
drivers/watchdog/twl4030_wdt.c+3−3
@@ -170,7 +170,7 @@ static const struct file_operations twl4030_wdt_fops = { · 169 unmodified lines
170170 .write = twl4030_wdt_write_fop,
171171 };
172172
173−static int __devinit twl4030_wdt_probe(struct platform_device *pdev)
173+static int twl4030_wdt_probe(struct platform_device *pdev)
174174 {
175175 int ret = 0;
176176 struct twl4030_wdt *wdt;
@@ -204,7 +204,7 @@ static int __devinit twl4030_wdt_probe(struct platform_device *pdev) · 27 unmodified lines
204204 return 0;
205205 }
206206
207−static int __devexit twl4030_wdt_remove(struct platform_device *pdev)
207+static int twl4030_wdt_remove(struct platform_device *pdev)
208208 {
209209 struct twl4030_wdt *wdt = platform_get_drvdata(pdev);
210210
@@ -247,7 +247,7 @@ static int twl4030_wdt_resume(struct platform_device *pdev) · 36 unmodified lines
247247
248248 static struct platform_driver twl4030_wdt_driver = {
249249 .probe = twl4030_wdt_probe,
250− .remove = __devexit_p(twl4030_wdt_remove),
250+ .remove = twl4030_wdt_remove,
251251 .suspend = twl4030_wdt_suspend,
252252 .resume = twl4030_wdt_resume,
253253 .driver = {
drivers/watchdog/via_wdt.c+3−3
@@ -155,7 +155,7 @@ static struct watchdog_device wdt_dev = { · 154 unmodified lines
155155 .max_timeout = WDT_TIMEOUT_MAX,
156156 };
157157
158−static int __devinit wdt_probe(struct pci_dev *pdev,
158+static int wdt_probe(struct pci_dev *pdev,
159159 const struct pci_device_id *ent)
160160 {
161161 unsigned char conf;
@@ -229,7 +229,7 @@ err_out_disable_device: · 67 unmodified lines
229229 return ret;
230230 }
231231
232−static void __devexit wdt_remove(struct pci_dev *pdev)
232+static void wdt_remove(struct pci_dev *pdev)
233233 {
234234 watchdog_unregister_device(&wdt_dev);
235235 del_timer(&timer);
@@ -250,7 +250,7 @@ static struct pci_driver wdt_driver = { · 14 unmodified lines
250250 .name = "via_wdt",
251251 .id_table = wdt_pci_table,
252252 .probe = wdt_probe,
253− .remove = __devexit_p(wdt_remove),
253+ .remove = wdt_remove,
254254 };
255255
256256 module_pci_driver(wdt_driver);
drivers/watchdog/wdt_pci.c+3−3
@@ -605,7 +605,7 @@ static struct notifier_block wdtpci_notifier = { · 604 unmodified lines
605605 };
606606
607607
608−static int __devinit wdtpci_init_one(struct pci_dev *dev,
608+static int wdtpci_init_one(struct pci_dev *dev,
609609 const struct pci_device_id *ent)
610610 {
611611 int ret = -EIO;
@@ -705,7 +705,7 @@ out_pci: · 93 unmodified lines
705705 }
706706
707707
708−static void __devexit wdtpci_remove_one(struct pci_dev *pdev)
708+static void wdtpci_remove_one(struct pci_dev *pdev)
709709 {
710710 /* here we assume only one device will ever have
711711 * been picked up and registered by probe function */
@@ -736,7 +736,7 @@ static struct pci_driver wdtpci_driver = { · 24 unmodified lines
736736 .name = "wdt_pci",
737737 .id_table = wdtpci_pci_tbl,
738738 .probe = wdtpci_init_one,
739− .remove = __devexit_p(wdtpci_remove_one),
739+ .remove = wdtpci_remove_one,
740740 };
741741
742742 module_pci_driver(wdtpci_driver);
drivers/watchdog/wm831x_wdt.c+3−3
@@ -181,7 +181,7 @@ static const struct watchdog_ops wm831x_wdt_ops = { · 180 unmodified lines
181181 .set_timeout = wm831x_wdt_set_timeout,
182182 };
183183
184−static int __devinit wm831x_wdt_probe(struct platform_device *pdev)
184+static int wm831x_wdt_probe(struct platform_device *pdev)
185185 {
186186 struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
187187 struct wm831x_pdata *chip_pdata;
@@ -292,7 +292,7 @@ err: · 104 unmodified lines
292292 return ret;
293293 }
294294
295−static int __devexit wm831x_wdt_remove(struct platform_device *pdev)
295+static int wm831x_wdt_remove(struct platform_device *pdev)
296296 {
297297 struct wm831x_wdt_drvdata *driver_data = dev_get_drvdata(&pdev->dev);
298298
@@ -306,7 +306,7 @@ static int __devexit wm831x_wdt_remove(struct platform_device *pdev) · 7 unmodified lines
306306
307307 static struct platform_driver wm831x_wdt_driver = {
308308 .probe = wm831x_wdt_probe,
309− .remove = __devexit_p(wm831x_wdt_remove),
309+ .remove = wm831x_wdt_remove,
310310 .driver = {
311311 .name = "wm831x-watchdog",
312312 },
drivers/watchdog/wm8350_wdt.c+3−3
@@ -140,7 +140,7 @@ static struct watchdog_device wm8350_wdt = { · 139 unmodified lines
140140 .max_timeout = 4,
141141 };
142142
143−static int __devinit wm8350_wdt_probe(struct platform_device *pdev)
143+static int wm8350_wdt_probe(struct platform_device *pdev)
144144 {
145145 struct wm8350 *wm8350 = platform_get_drvdata(pdev);
146146
@@ -158,7 +158,7 @@ static int __devinit wm8350_wdt_probe(struct platform_device *pdev) · 11 unmodified lines
158158 return watchdog_register_device(&wm8350_wdt);
159159 }
160160
161−static int __devexit wm8350_wdt_remove(struct platform_device *pdev)
161+static int wm8350_wdt_remove(struct platform_device *pdev)
162162 {
163163 watchdog_unregister_device(&wm8350_wdt);
164164 return 0;
@@ -166,7 +166,7 @@ static int __devexit wm8350_wdt_remove(struct platform_device *pdev) · 1 unmodified line
166166
167167 static struct platform_driver wm8350_wdt_driver = {
168168 .probe = wm8350_wdt_probe,
169− .remove = __devexit_p(wm8350_wdt_remove),
169+ .remove = wm8350_wdt_remove,
170170 .driver = {
171171 .name = "wm8350-wdt",
172172 },
drivers/watchdog/xen_wdt.c+3−3
@@ -244,7 +244,7 @@ static struct miscdevice xen_wdt_miscdev = { · 243 unmodified lines
244244 .fops = &xen_wdt_fops,
245245 };
246246
247−static int __devinit xen_wdt_probe(struct platform_device *dev)
247+static int xen_wdt_probe(struct platform_device *dev)
248248 {
249249 struct sched_watchdog wd = { .id = ~0 };
250250 int ret = HYPERVISOR_sched_op(SCHEDOP_watchdog, &wd);
@@ -280,7 +280,7 @@ static int __devinit xen_wdt_probe(struct platform_device *dev) · 29 unmodified lines
280280 return ret;
281281 }
282282
283−static int __devexit xen_wdt_remove(struct platform_device *dev)
283+static int xen_wdt_remove(struct platform_device *dev)
284284 {
285285 /* Stop the timer before we leave */
286286 if (!nowayout)
@@ -315,7 +315,7 @@ static int xen_wdt_resume(struct platform_device *dev) · 28 unmodified lines
315315
316316 static struct platform_driver xen_wdt_driver = {
317317 .probe = xen_wdt_probe,
318− .remove = __devexit_p(xen_wdt_remove),
318+ .remove = xen_wdt_remove,
319319 .shutdown = xen_wdt_shutdown,
320320 .suspend = xen_wdt_suspend,
321321 .resume = xen_wdt_resume,
fs/debugfs/inode.c+0−1
@@ -59,7 +59,6 @@ static struct inode *debugfs_get_inode(struct super_block *sb, umode_t mode, dev · 58 unmodified lines
5959 case S_IFDIR:
6060 inode->i_op = &simple_dir_inode_operations;
6161 inode->i_fop = &simple_dir_operations;
62− inode->i_private = NULL;
6362
6463 /* directory inodes start off with i_nlink == 2
6564 * (for "." entry) */
fs/sysfs/file.c+2−2
@@ -485,8 +485,8 @@ const struct file_operations sysfs_file_operations = { · 484 unmodified lines
485485 .poll = sysfs_poll,
486486 };
487487
488−int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
489− const void **pns)
488+static int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
489+ const void **pns)
490490 {
491491 struct sysfs_dirent *dir_sd = kobj->sd;
492492 const struct sysfs_ops *ops;
include/linux/init.h+7−11
@@ -93,13 +93,13 @@ · 92 unmodified lines
9393
9494 #define __exit __section(.exit.text) __exitused __cold notrace
9595
96−/* Used for HOTPLUG */
97−#define __devinit __section(.devinit.text) __cold notrace
98−#define __devinitdata __section(.devinit.data)
99−#define __devinitconst __constsection(.devinit.rodata)
100−#define __devexit __section(.devexit.text) __exitused __cold notrace
101−#define __devexitdata __section(.devexit.data)
102−#define __devexitconst __constsection(.devexit.rodata)
96+/* Used for HOTPLUG, but that is always enabled now, so just make them noops */
97+#define __devinit
98+#define __devinitdata
99+#define __devinitconst
100+#define __devexit
101+#define __devexitdata
102+#define __devexitconst
103103
104104 /* Used for HOTPLUG_CPU */
105105 #define __cpuinit __section(.cpuinit.text) __cold notrace
@@ -126,10 +126,6 @@ · 20 unmodified lines
126126 #define __INITRODATA .section ".init.rodata","a",%progbits
127127 #define __FINITDATA .previous
128128
129−#define __DEVINIT .section ".devinit.text", "ax"
130−#define __DEVINITDATA .section ".devinit.data", "aw"
131−#define __DEVINITRODATA .section ".devinit.rodata", "a"
132−
133129 #define __CPUINIT .section ".cpuinit.text", "ax"
134130 #define __CPUINITDATA .section ".cpuinit.data", "aw"
135131 #define __CPUINITRODATA .section ".cpuinit.rodata", "a"
include/linux/kobject.h+0−18
@@ -203,7 +203,6 @@ extern struct kobject *power_kobj; · 202 unmodified lines
203203 /* The global /sys/firmware/ kobject for people to chain off of */
204204 extern struct kobject *firmware_kobj;
205205
206−#if defined(CONFIG_HOTPLUG)
207206 int kobject_uevent(struct kobject *kobj, enum kobject_action action);
208207 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
209208 char *envp[]);
@@ -213,22 +212,5 @@ int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...); · 3 unmodified lines
213212
214213 int kobject_action_type(const char *buf, size_t count,
215214 enum kobject_action *type);
216−#else
217−static inline int kobject_uevent(struct kobject *kobj,
218− enum kobject_action action)
219−{ return 0; }
220−static inline int kobject_uevent_env(struct kobject *kobj,
221− enum kobject_action action,
222− char *envp[])
223−{ return 0; }
224−
225−static inline __printf(2, 3)
226−int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...)
227−{ return -ENOMEM; }
228−
229−static inline int kobject_action_type(const char *buf, size_t count,
230− enum kobject_action *type)
231−{ return -EINVAL; }
232−#endif
233215
234216 #endif /* _KOBJECT_H_ */
include/linux/mfd/88pm80x.h+1−1
@@ -364,6 +364,6 @@ static inline int pm80x_dev_resume(struct device *dev) · 363 unmodified lines
364364 #endif
365365
366366 extern int pm80x_init(struct i2c_client *client,
367− const struct i2c_device_id *id) __devinit;
367+ const struct i2c_device_id *id);
368368 extern int pm80x_deinit(struct i2c_client *client);
369369 #endif /* __LINUX_MFD_88PM80X_H */
include/linux/mfd/abx500/ab8500.h+2−2
@@ -291,9 +291,9 @@ struct ab8500_platform_data { · 290 unmodified lines
291291 struct ab8500_codec_platform_data *codec;
292292 };
293293
294−extern int __devinit ab8500_init(struct ab8500 *ab8500,
294+extern int ab8500_init(struct ab8500 *ab8500,
295295 enum ab8500_version version);
296−extern int __devexit ab8500_exit(struct ab8500 *ab8500);
296+extern int ab8500_exit(struct ab8500 *ab8500);
297297
298298 extern int ab8500_suspend(struct ab8500 *ab8500);
299299
include/linux/mfd/pm8xxx/irq.h+4−4
@@ -37,21 +37,21 @@ struct pm_irq_chip; · 36 unmodified lines
3737
3838 #ifdef CONFIG_MFD_PM8XXX_IRQ
3939 int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq);
40−struct pm_irq_chip * __devinit pm8xxx_irq_init(struct device *dev,
40+struct pm_irq_chip *pm8xxx_irq_init(struct device *dev,
4141 const struct pm8xxx_irq_platform_data *pdata);
42−int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip);
42+int pm8xxx_irq_exit(struct pm_irq_chip *chip);
4343 #else
4444 static inline int pm8xxx_get_irq_stat(struct pm_irq_chip *chip, int irq)
4545 {
4646 return -ENXIO;
4747 }
48−static inline struct pm_irq_chip * __devinit pm8xxx_irq_init(
48+static inline struct pm_irq_chip *pm8xxx_irq_init(
4949 const struct device *dev,
5050 const struct pm8xxx_irq_platform_data *pdata)
5151 {
5252 return ERR_PTR(-ENXIO);
5353 }
54−static inline int __devexit pm8xxx_irq_exit(struct pm_irq_chip *chip)
54+static inline int pm8xxx_irq_exit(struct pm_irq_chip *chip)
5555 {
5656 return -ENXIO;
5757 }
include/linux/pci.h+3−5
@@ -588,7 +588,7 @@ struct pci_driver { · 587 unmodified lines
588588 * in a generic manner.
589589 */
590590 #define DEFINE_PCI_DEVICE_TABLE(_table) \
591− const struct pci_device_id _table[] __devinitconst
591+ const struct pci_device_id _table[]
592592
593593 /**
594594 * PCI_DEVICE - macro used to describe a specific pci device
@@ -686,7 +686,7 @@ struct pci_bus *pci_create_root_bus(struct device *parent, int bus, · 91 unmodified lines
686686 int pci_bus_insert_busn_res(struct pci_bus *b, int bus, int busmax);
687687 int pci_bus_update_busn_res_end(struct pci_bus *b, int busmax);
688688 void pci_bus_release_busn_res(struct pci_bus *b);
689−struct pci_bus * __devinit pci_scan_root_bus(struct device *parent, int bus,
689+struct pci_bus *pci_scan_root_bus(struct device *parent, int bus,
690690 struct pci_ops *ops, void *sysdata,
691691 struct list_head *resources);
692692 struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev,
@@ -941,10 +941,8 @@ void set_pcie_hotplug_bridge(struct pci_dev *pdev); · 248 unmodified lines
941941
942942 /* Functions for PCI Hotplug drivers to use */
943943 int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap);
944−#ifdef CONFIG_HOTPLUG
945944 unsigned int pci_rescan_bus_bridge_resize(struct pci_dev *bridge);
946945 unsigned int pci_rescan_bus(struct pci_bus *bus);
947−#endif
948946
949947 /* Vital product data routines */
950948 ssize_t pci_read_vpd(struct pci_dev *dev, loff_t pos, size_t count, void *buf);
@@ -1580,7 +1578,7 @@ extern int pci_pci_problems; · 629 unmodified lines
15801578
15811579 extern unsigned long pci_cardbus_io_size;
15821580 extern unsigned long pci_cardbus_mem_size;
1583−extern u8 __devinitdata pci_dfl_cache_line_size;
1581+extern u8 pci_dfl_cache_line_size;
15841582 extern u8 pci_cache_line_size;
15851583
15861584 extern unsigned long pci_hotplug_io_size;
kernel/ksysfs.c+1−4
@@ -26,7 +26,6 @@ static struct kobj_attribute _name##_attr = __ATTR_RO(_name) · 25 unmodified lines
2626 static struct kobj_attribute _name##_attr = \
2727 __ATTR(_name, 0644, _name##_show, _name##_store)
2828
29−#if defined(CONFIG_HOTPLUG)
3029 /* current uevent sequence number */
3130 static ssize_t uevent_seqnum_show(struct kobject *kobj,
3231 struct kobj_attribute *attr, char *buf)
@@ -54,7 +53,7 @@ static ssize_t uevent_helper_store(struct kobject *kobj, · 21 unmodified lines
5453 return count;
5554 }
5655 KERNEL_ATTR_RW(uevent_helper);
57−#endif
56+
5857
5958 #ifdef CONFIG_PROFILING
6059 static ssize_t profiling_show(struct kobject *kobj,
@@ -169,10 +168,8 @@ EXPORT_SYMBOL_GPL(kernel_kobj); · 108 unmodified lines
169168
170169 static struct attribute * kernel_attrs[] = {
171170 &fscaps_attr.attr,
172−#if defined(CONFIG_HOTPLUG)
173171 &uevent_seqnum_attr.attr,
174172 &uevent_helper_attr.attr,
175−#endif
176173 #ifdef CONFIG_PROFILING
177174 &profiling_attr.attr,
178175 #endif
kernel/sysctl.c+2−2
@@ -565,7 +565,7 @@ static struct ctl_table kern_table[] = { · 564 unmodified lines
565565 .extra2 = &one,
566566 },
567567 #endif
568−#ifdef CONFIG_HOTPLUG
568+
569569 {
570570 .procname = "hotplug",
571571 .data = &uevent_helper,
@@ -573,7 +573,7 @@ static struct ctl_table kern_table[] = { · 1 unmodified line
573573 .mode = 0644,
574574 .proc_handler = proc_dostring,
575575 },
576−#endif
576+
577577 #ifdef CONFIG_CHR_DEV_SG
578578 {
579579 .procname = "sg-big-buff",
lib/Makefile+1−2
@@ -12,7 +12,7 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \ · 11 unmodified lines
1212 idr.o int_sqrt.o extable.o \
1313 sha1.o md5.o irq_regs.o reciprocal_div.o argv_split.o \
1414 proportions.o flex_proportions.o prio_heap.o ratelimit.o show_mem.o \
15− is_single_threaded.o plist.o decompress.o
15+ is_single_threaded.o plist.o decompress.o kobject_uevent.o
1616
1717 lib-$(CONFIG_MMU) += ioremap.o
1818 lib-$(CONFIG_SMP) += cpumask.o
@@ -31,7 +31,6 @@ CFLAGS_kobject.o += -DDEBUG · 12 unmodified lines
3131 CFLAGS_kobject_uevent.o += -DDEBUG
3232 endif
3333
34−lib-$(CONFIG_HOTPLUG) += kobject_uevent.o
3534 obj-$(CONFIG_GENERIC_IOMAP) += iomap.o
3635 obj-$(CONFIG_GENERIC_PCI_IOMAP) += pci_iomap.o
3736 obj-$(CONFIG_HAS_IOMEM) += iomap_copy.o devres.o
scripts/mod/modpost.c+10−14
@@ -858,25 +858,23 @@ static void check_section(const char *modname, struct elf_info *elf, · 857 unmodified lines
858858
859859 #define ALL_INIT_DATA_SECTIONS \
860860 ".init.setup$", ".init.rodata$", \
861− ".devinit.rodata$", ".cpuinit.rodata$", ".meminit.rodata$", \
862− ".init.data$", ".devinit.data$", ".cpuinit.data$", ".meminit.data$"
861+ ".cpuinit.rodata$", ".meminit.rodata$", \
862+ ".init.data$", ".cpuinit.data$", ".meminit.data$"
863863 #define ALL_EXIT_DATA_SECTIONS \
864− ".exit.data$", ".devexit.data$", ".cpuexit.data$", ".memexit.data$"
864+ ".exit.data$", ".cpuexit.data$", ".memexit.data$"
865865
866866 #define ALL_INIT_TEXT_SECTIONS \
867− ".init.text$", ".devinit.text$", ".cpuinit.text$", ".meminit.text$"
867+ ".init.text$", ".cpuinit.text$", ".meminit.text$"
868868 #define ALL_EXIT_TEXT_SECTIONS \
869− ".exit.text$", ".devexit.text$", ".cpuexit.text$", ".memexit.text$"
869+ ".exit.text$", ".cpuexit.text$", ".memexit.text$"
870870
871871 #define ALL_PCI_INIT_SECTIONS \
872872 ".pci_fixup_early$", ".pci_fixup_header$", ".pci_fixup_final$", \
873873 ".pci_fixup_enable$", ".pci_fixup_resume$", \
874874 ".pci_fixup_resume_early$", ".pci_fixup_suspend$"
875875
876−#define ALL_XXXINIT_SECTIONS DEV_INIT_SECTIONS, CPU_INIT_SECTIONS, \
877− MEM_INIT_SECTIONS
878−#define ALL_XXXEXIT_SECTIONS DEV_EXIT_SECTIONS, CPU_EXIT_SECTIONS, \
879− MEM_EXIT_SECTIONS
876+#define ALL_XXXINIT_SECTIONS CPU_INIT_SECTIONS, MEM_INIT_SECTIONS
877+#define ALL_XXXEXIT_SECTIONS CPU_EXIT_SECTIONS, MEM_EXIT_SECTIONS
880878
881879 #define ALL_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS
882880 #define ALL_EXIT_SECTIONS EXIT_SECTIONS, ALL_XXXEXIT_SECTIONS
@@ -885,12 +883,10 @@ static void check_section(const char *modname, struct elf_info *elf, · 2 unmodified lines
885883 #define TEXT_SECTIONS ".text$"
886884
887885 #define INIT_SECTIONS ".init.*"
888−#define DEV_INIT_SECTIONS ".devinit.*"
889886 #define CPU_INIT_SECTIONS ".cpuinit.*"
890887 #define MEM_INIT_SECTIONS ".meminit.*"
891888
892889 #define EXIT_SECTIONS ".exit.*"
893−#define DEV_EXIT_SECTIONS ".devexit.*"
894890 #define CPU_EXIT_SECTIONS ".cpuexit.*"
895891 #define MEM_EXIT_SECTIONS ".memexit.*"
896892
@@ -979,7 +975,7 @@ const struct sectioncheck sectioncheck[] = { · 82 unmodified lines
979975 .mismatch = DATA_TO_ANY_EXIT,
980976 .symbol_white_list = { DEFAULT_SYMBOL_WHITE_LIST, NULL },
981977 },
982−/* Do not reference init code/data from devinit/cpuinit/meminit code/data */
978+/* Do not reference init code/data from cpuinit/meminit code/data */
983979 {
984980 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
985981 .tosec = { INIT_SECTIONS, NULL },
@@ -1000,7 +996,7 @@ const struct sectioncheck sectioncheck[] = { · 14 unmodified lines
1000996 .mismatch = XXXINIT_TO_SOME_INIT,
1001997 .symbol_white_list = { DEFAULT_SYMBOL_WHITE_LIST, NULL },
1002998 },
1003−/* Do not reference exit code/data from devexit/cpuexit/memexit code/data */
999+/* Do not reference exit code/data from cpuexit/memexit code/data */
10041000 {
10051001 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
10061002 .tosec = { EXIT_SECTIONS, NULL },
@@ -1089,7 +1085,7 @@ static const struct sectioncheck *section_mismatch( · 82 unmodified lines
10891085 * Pattern 2:
10901086 * Many drivers utilise a *driver container with references to
10911087 * add, remove, probe functions etc.
1092− * These functions may often be marked __devinit and we do not want to
1088+ * These functions may often be marked __cpuinit and we do not want to
10931089 * warn here.
10941090 * the pattern is identified by:
10951091 * tosec = init or exit section