History

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

Pull driver core update from Greg KH: "Here's the set of driver core patches for 3.19-rc1. They are dominated by the removal of the .owner field in platform drivers. They touch a lot of files, but they are "simple" changes, just removing a line in a structure. Other than that, a few minor driver core and debugfs changes. There are some ath9k patches coming in through this tree that have been acked by the wireless maintainers as they relied on the debugfs changes. Everything has been in linux-next for a while" * tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (324 commits) Revert "ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries" fs: debugfs: add forward declaration for struct device type firmware class: Deletion of an unnecessary check before the function call "vunmap" firmware loader: fix hung task warning dump devcoredump: provide a one-way disable function device: Add dev_<level>_once variants ath: ath9k: use debugfs_create_devm_seqfile() helper for seq_file entries ath: use seq_file api for ath9k debugfs files debugfs: add helper function to create device related seq_file drivers/base: cacheinfo: remove noisy error boot message Revert "core: platform: add warning if driver has no owner" drivers: base: support cpu cache information interface to userspace via sysfs drivers: base: add cpu_device_create to support per-cpu devices topology: replace custom attribute macros with standard DEVICE_ATTR* cpumask: factor out show_cpumap into separate helper function driver core: Fix unbalanced device reference in drivers_probe driver core: fix race with userland in device_add() sysfs/kernfs: make read requests on pre-alloc files use the buffer. sysfs/kernfs: allow attributes to request write buffer be pre-allocated. fs: sysfs: return EGBIG on write if offset is larger than file size ...

Linus Torvalds committed 11 years ago

Commit e6b5be22 parents 37da7bb f1c488a1692 files · +1439 −2137Browse files

Unified · Split

1692 files
  1. Documentation/ABI/testing/sysfs-devices-system-cpu +47 −0
  2. arch/arm/common/sa1111.c +0 −1
  3. arch/arm/mach-davinci/cpuidle.c +0 −1
  4. arch/arm/mach-davinci/pm.c +0 −1
  5. arch/arm/mach-imx/mmdc.c +0 −1
  6. arch/arm/mach-msm/clock-pcom.c +0 −1
  7. arch/arm/mach-msm/smd.c +0 −1
  8. arch/arm/mach-prima2/pm.c +0 −1
  9. arch/arm/mach-prima2/rstc.c +0 −1
  10. arch/arm/mach-prima2/rtciobrg.c +0 −1
  11. arch/arm/mach-pxa/pxa3xx-ulpi.c +0 −1
  12. arch/arm/mach-pxa/tosa-bt.c +0 −1
  13. arch/arm/mach-s3c24xx/mach-osiris-dvs.c +0 −1
  14. arch/arm/mach-sa1100/neponset.c +0 −1
  15. arch/arm/mach-u300/regulator.c +0 −1
  16. arch/arm/plat-pxa/ssp.c +0 −1
  17. arch/arm/plat-samsung/adc.c +0 −1
  18. arch/mips/lantiq/xway/dcdc.c +0 −1
  19. arch/mips/lantiq/xway/dma.c +0 −1
  20. arch/mips/lantiq/xway/gptu.c +0 −1
  21. arch/mips/lantiq/xway/xrx200_phy_fw.c +0 −1
  22. arch/mips/mti-sead3/leds-sead3.c +0 −1
  23. arch/mips/mti-sead3/sead3-i2c-drv.c +0 −1
  24. arch/mips/pci/pci-alchemy.c +0 −1
  25. arch/mips/pci/pci-ar71xx.c +0 −1
  26. arch/mips/pci/pci-ar724x.c +0 −1
  27. arch/mips/pci/pci-lantiq.c +0 −1
  28. arch/mips/pci/pci-rt3883.c +0 −1
  29. arch/mips/ralink/timer.c +0 −1
  30. arch/mips/txx9/rbtx4939/setup.c +0 −1
  31. arch/powerpc/kernel/of_platform.c +0 −1
  32. arch/powerpc/platforms/52xx/mpc52xx_gpt.c +0 −1
  33. arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c +0 −1
  34. arch/powerpc/platforms/82xx/ep8248e.c +0 −1
  35. arch/powerpc/platforms/83xx/suspend.c +0 −1
  36. arch/powerpc/platforms/85xx/sgy_cts1000.c +0 −1
  37. arch/powerpc/platforms/cell/axon_msi.c +0 −1
  38. arch/powerpc/platforms/pasemi/gpio_mdio.c +0 −1
  39. arch/powerpc/sysdev/axonram.c +0 −1
  40. arch/powerpc/sysdev/fsl_85xx_l2ctlr.c +0 −1
  41. arch/powerpc/sysdev/fsl_msi.c +0 −1
  42. arch/powerpc/sysdev/fsl_pmc.c +0 −1
  43. arch/powerpc/sysdev/fsl_rio.c +0 −1
  44. arch/powerpc/sysdev/mpic_msgr.c +0 −1
  45. arch/powerpc/sysdev/pmi.c +0 −1
  46. arch/powerpc/sysdev/ppc4xx_hsta_msi.c +0 −1
  47. arch/powerpc/sysdev/ppc4xx_msi.c +0 −1
  48. arch/powerpc/sysdev/qe_lib/qe.c +0 −1
  49. arch/s390/appldata/appldata_base.c +0 −1
  50. arch/sparc/include/asm/parport.h +0 −1
  51. arch/sparc/kernel/apc.c +0 −1
  52. arch/sparc/kernel/auxio_64.c +0 −1
  53. arch/sparc/kernel/central.c +0 −2
  54. arch/sparc/kernel/chmc.c +0 −1
  55. arch/sparc/kernel/leon_pci_grpci1.c +0 −1
  56. arch/sparc/kernel/leon_pci_grpci2.c +0 −1
  57. arch/sparc/kernel/pci_fire.c +0 −1
  58. arch/sparc/kernel/pci_psycho.c +0 −1
  59. arch/sparc/kernel/pci_sabre.c +0 −1
  60. arch/sparc/kernel/pci_schizo.c +0 −1
  61. arch/sparc/kernel/pci_sun4v.c +0 −1
  62. arch/sparc/kernel/pmc.c +0 −1
  63. arch/sparc/kernel/power.c +0 −1
  64. arch/sparc/kernel/time_32.c +0 −1
  65. arch/sparc/kernel/time_64.c +0 −3
  66. arch/x86/kernel/cpu/perf_event_amd_iommu.c +1 −4
  67. arch/x86/kernel/cpu/perf_event_amd_uncore.c +1 −5
  68. arch/x86/kernel/cpu/perf_event_intel_rapl.c +1 −5
  69. arch/x86/kernel/cpu/perf_event_intel_uncore.c +1 −5
  70. arch/x86/platform/iris/iris.c +0 −1
  71. arch/x86/platform/olpc/olpc-xo1-pm.c +0 −2
  72. drivers/acpi/acpi_pad.c +3 −5
  73. drivers/acpi/apei/ghes.c +0 −1
  74. drivers/amba/tegra-ahb.c +0 −1
  75. drivers/ata/ahci_da850.c +0 −1
  76. drivers/ata/ahci_imx.c +0 −1
  77. drivers/ata/ahci_mvebu.c +0 −1
  78. drivers/ata/ahci_platform.c +0 −1
  79. drivers/ata/ahci_st.c +0 −1
  80. drivers/ata/ahci_sunxi.c +0 −1
  81. drivers/ata/ahci_xgene.c +0 −1
  82. drivers/ata/pata_arasan_cf.c +0 −1
  83. drivers/ata/pata_at32.c +0 −1
  84. drivers/ata/pata_at91.c +0 −1
  85. drivers/ata/pata_bf54x.c +0 −1
  86. drivers/ata/pata_ep93xx.c +0 −1
  87. drivers/ata/pata_imx.c +0 −1
  88. drivers/ata/pata_ixp4xx_cf.c +0 −1
  89. drivers/ata/pata_mpc52xx.c +0 −1
  90. drivers/ata/pata_octeon_cf.c +0 −1
  91. drivers/ata/pata_of_platform.c +0 −1
  92. drivers/ata/pata_palmld.c +0 −1
  93. drivers/ata/pata_platform.c +0 −1
  94. drivers/ata/pata_pxa.c +0 −1
  95. drivers/ata/pata_rb532_cf.c +0 −1
  96. drivers/ata/pata_samsung_cf.c +0 −1
  97. drivers/ata/sata_dwc_460ex.c +0 −1
  98. drivers/ata/sata_fsl.c +0 −1
  99. drivers/ata/sata_highbank.c +0 −1
  100. drivers/ata/sata_mv.c +0 −1
  101. drivers/ata/sata_rcar.c +0 −1
  102. drivers/atm/fore200e.c +0 −1
  103. drivers/base/Makefile +1 −1
  104. drivers/base/bus.c +5 −3
  105. drivers/base/cacheinfo.c +539 −0
  106. drivers/base/core.c +18 −20
  107. drivers/base/cpu.c +55 −4
  108. drivers/base/devcoredump.c +48 −8
  109. drivers/base/firmware_class.c +3 −4
  110. drivers/base/node.c +4 −10
  111. drivers/base/platform.c +12 −10
  112. drivers/base/topology.c +24 −47
  113. drivers/block/amiflop.c +0 −1
  114. drivers/block/mg_disk.c +0 −1
  115. drivers/block/swim.c +0 −1
  116. drivers/bluetooth/btwilink.c +0 −1
  117. drivers/bus/brcmstb_gisb.c +0 −1
  118. drivers/bus/imx-weim.c +0 −1
  119. drivers/bus/omap-ocp2scp.c +0 −1
  120. drivers/bus/omap_l3_noc.c +0 −1
  121. drivers/char/hw_random/atmel-rng.c +0 −1
  122. drivers/char/hw_random/bcm2835-rng.c +0 −1
  123. drivers/char/hw_random/bcm63xx-rng.c +0 −1
  124. drivers/char/hw_random/exynos-rng.c +0 −1
  125. drivers/char/hw_random/msm-rng.c +0 −1
  126. drivers/char/hw_random/mxc-rnga.c +0 −1
  127. drivers/char/hw_random/n2-drv.c +0 −1
  128. drivers/char/hw_random/octeon-rng.c +0 −1
  129. drivers/char/hw_random/omap-rng.c +0 −1
  130. drivers/char/hw_random/omap3-rom-rng.c +0 −1
  131. drivers/char/hw_random/pasemi-rng.c +0 −1
  132. drivers/char/hw_random/ppc4xx-rng.c +0 −1
  133. drivers/char/hw_random/timeriomem-rng.c +0 −1
  134. drivers/char/hw_random/tx4939-rng.c +0 −1
  135. drivers/char/ipmi/ipmi_si_intf.c +0 −1
  136. drivers/char/sonypi.c +0 −1
  137. drivers/char/tb0219.c +0 −1
  138. drivers/char/tpm/tpm_atmel.c +0 −1
  139. drivers/char/tpm/tpm_nsc.c +0 −1
  140. drivers/char/tpm/tpm_tis.c +0 −1
  141. drivers/char/xillybus/xillybus_of.c +0 −1
  142. drivers/clk/clk-axm5516.c +0 −1
  143. drivers/clk/clk-ppc-corenet.c +0 −1
  144. drivers/clk/clk-s2mps11.c +0 −1
  145. drivers/clk/qcom/gcc-apq8084.c +0 −1
  146. drivers/clk/qcom/gcc-ipq806x.c +0 −1
  147. drivers/clk/qcom/gcc-msm8660.c +0 −1
  148. drivers/clk/qcom/gcc-msm8960.c +0 −1
  149. drivers/clk/qcom/gcc-msm8974.c +0 −1
  150. drivers/clk/samsung/clk-exynos-audss.c +0 −1
  151. drivers/clk/samsung/clk-s5pv210-audss.c +0 −1
  152. drivers/clk/ux500/abx500-clk.c +0 −1
  153. drivers/clk/x86/clk-lpt.c +0 −1
  154. drivers/cpufreq/arm_big_little_dt.c +0 −1
  155. drivers/cpufreq/cpufreq-dt.c +0 −1
  156. drivers/cpufreq/davinci-cpufreq.c +0 −1
  157. drivers/cpufreq/dbx500-cpufreq.c +0 −1
  158. drivers/cpufreq/exynos-cpufreq.c +0 −1
  159. drivers/cpufreq/exynos5440-cpufreq.c +0 −1
  160. drivers/cpufreq/imx6q-cpufreq.c +0 −1
  161. drivers/cpufreq/integrator-cpufreq.c +0 −1
  162. drivers/cpufreq/kirkwood-cpufreq.c +0 −1
  163. drivers/cpufreq/loongson2_cpufreq.c +0 −1
  164. drivers/cpufreq/omap-cpufreq.c +0 −1
  165. drivers/cpufreq/s5pv210-cpufreq.c +0 −1
  166. drivers/cpufreq/spear-cpufreq.c +0 −1
  167. drivers/cpufreq/vexpress-spc-cpufreq.c +0 −1
  168. drivers/cpuidle/cpuidle-at91.c +0 −1
  169. drivers/cpuidle/cpuidle-calxeda.c +0 −1
  170. drivers/cpuidle/cpuidle-clps711x.c +0 −1
  171. drivers/cpuidle/cpuidle-exynos.c +0 −1
  172. drivers/cpuidle/cpuidle-kirkwood.c +0 −1
  173. drivers/cpuidle/cpuidle-mvebu-v7.c +0 −3
  174. drivers/cpuidle/cpuidle-ux500.c +0 −1
  175. drivers/cpuidle/cpuidle-zynq.c +0 −1
  176. drivers/crypto/amcc/crypto4xx_core.c +0 −1
  177. drivers/crypto/atmel-aes.c +0 −1
  178. drivers/crypto/atmel-sha.c +0 −1
  179. drivers/crypto/atmel-tdes.c +0 −1
  180. drivers/crypto/bfin_crc.c +0 −1
  181. drivers/crypto/caam/ctrl.c +0 −1
  182. drivers/crypto/caam/jr.c +0 −1
  183. drivers/crypto/ccp/ccp-platform.c +0 −1
  184. drivers/crypto/mv_cesa.c +0 −1
  185. drivers/crypto/mxs-dcp.c +0 −1
  186. drivers/crypto/n2_core.c +0 −2
  187. drivers/crypto/omap-aes.c +0 −1
  188. drivers/crypto/omap-des.c +0 −1
  189. drivers/crypto/omap-sham.c +0 −1
  190. drivers/crypto/qce/core.c +0 −1
  191. drivers/crypto/s5p-sss.c +0 −1
  192. drivers/crypto/sahara.c +0 −1
  193. drivers/crypto/talitos.c +0 −1
  194. drivers/crypto/ux500/cryp/cryp_core.c +0 −1
  195. drivers/crypto/ux500/hash/hash_core.c +0 −1
  196. drivers/devfreq/exynos/exynos4_bus.c +0 −1
  197. drivers/devfreq/exynos/exynos5_bus.c +0 −1
  198. drivers/dma/bestcomm/bestcomm.c +0 −1
  199. drivers/dma/edma.c +0 −1
  200. drivers/dma/fsl-edma.c +0 −1
  201. drivers/dma/fsldma.c +0 −1
  202. drivers/dma/imx-dma.c +0 −1
  203. drivers/dma/ipu/ipu_idmac.c +0 −1
  204. drivers/dma/moxart-dma.c +0 −1
  205. drivers/dma/mv_xor.c +0 −1
  206. drivers/dma/omap-dma.c +0 −1
  207. drivers/dma/ppc4xx/adma.c +0 −1
  208. drivers/dma/sa11x0-dma.c +0 −1
  209. drivers/dma/sh/shdmac.c +0 −1
  210. drivers/dma/sirf-dma.c +0 −1
  211. drivers/dma/ste_dma40.c +0 −1
  212. drivers/edac/cell_edac.c +0 −1
  213. drivers/edac/mpc85xx_edac.c +0 −2
  214. drivers/edac/ppc4xx_edac.c +0 −1
  215. drivers/edac/tile_edac.c +0 −1
  216. drivers/extcon/extcon-adc-jack.c +0 −1
  217. drivers/extcon/extcon-arizona.c +0 −1
  218. drivers/extcon/extcon-gpio.c +0 −1
  219. drivers/extcon/extcon-max14577.c +0 −1
  220. drivers/extcon/extcon-max77693.c +0 −1
  221. drivers/extcon/extcon-max8997.c +0 −1
  222. drivers/extcon/extcon-palmas.c +0 −1
  223. drivers/firmware/dcdbas.c +0 −1
  224. drivers/gpio/gpio-adp5520.c +0 −1
  225. drivers/gpio/gpio-bcm-kona.c +0 −1
  226. drivers/gpio/gpio-clps711x.c +0 −1
  227. drivers/gpio/gpio-crystalcove.c +0 −1
  228. drivers/gpio/gpio-cs5535.c +0 −1
  229. drivers/gpio/gpio-da9052.c +0 −1
  230. drivers/gpio/gpio-da9055.c +0 −1
  231. drivers/gpio/gpio-davinci.c +0 −1
  232. drivers/gpio/gpio-dwapb.c +0 −1
  233. drivers/gpio/gpio-em.c +0 −1
  234. drivers/gpio/gpio-ep93xx.c +0 −1
  235. drivers/gpio/gpio-f7188x.c +0 −1
  236. drivers/gpio/gpio-ge.c +0 −1
  237. drivers/gpio/gpio-grgpio.c +0 −1
  238. drivers/gpio/gpio-ich.c +0 −1
  239. drivers/gpio/gpio-iop.c +0 −1
  240. drivers/gpio/gpio-janz-ttl.c +0 −1
  241. drivers/gpio/gpio-kempld.c +0 −1
  242. drivers/gpio/gpio-lp3943.c +0 −1
  243. drivers/gpio/gpio-lpc32xx.c +0 −1
  244. drivers/gpio/gpio-lynxpoint.c +0 −1
  245. drivers/gpio/gpio-mm-lantiq.c +0 −1
  246. drivers/gpio/gpio-moxart.c +0 −1
  247. drivers/gpio/gpio-mpc5200.c +0 −2
  248. drivers/gpio/gpio-msic.c +0 −1
  249. drivers/gpio/gpio-msm-v1.c +0 −1
  250. drivers/gpio/gpio-msm-v2.c +0 −1
  251. drivers/gpio/gpio-mvebu.c +0 −1
  252. drivers/gpio/gpio-mxc.c +0 −1
  253. drivers/gpio/gpio-mxs.c +0 −1
  254. drivers/gpio/gpio-octeon.c +0 −1
  255. drivers/gpio/gpio-rc5t583.c +0 −1
  256. drivers/gpio/gpio-sch.c +0 −1
  257. drivers/gpio/gpio-spear-spics.c +0 −1
  258. drivers/gpio/gpio-sta2x11.c +0 −1
  259. drivers/gpio/gpio-stp-xway.c +0 −1
  260. drivers/gpio/gpio-syscon.c +0 −1
  261. drivers/gpio/gpio-tb10x.c +0 −1
  262. drivers/gpio/gpio-tegra.c +0 −1
  263. drivers/gpio/gpio-timberdale.c +0 −1
  264. drivers/gpio/gpio-tps65912.c +0 −1
  265. drivers/gpio/gpio-ts5500.c +0 −1
  266. drivers/gpio/gpio-twl4030.c +0 −1
  267. drivers/gpio/gpio-twl6040.c +0 −1
  268. drivers/gpio/gpio-tz1090-pdc.c +0 −1
  269. drivers/gpio/gpio-tz1090.c +0 −1
  270. drivers/gpio/gpio-vr41xx.c +0 −1
  271. drivers/gpio/gpio-vx855.c +0 −1
  272. drivers/gpio/gpio-xgene.c +0 −1
  273. drivers/gpio/gpio-xtensa.c +0 −1
  274. drivers/gpio/gpio-zevio.c +0 −1
  275. drivers/gpu/drm/armada/armada_drv.c +0 −1
  276. drivers/gpu/drm/exynos/exynos_drm_drv.c +0 −1
  277. drivers/gpu/drm/msm/msm_drv.c +0 −1
  278. drivers/gpu/drm/omapdrm/omap_drv.c +0 −1
  279. drivers/gpu/drm/panel/panel-simple.c +0 −1
  280. drivers/gpu/drm/rcar-du/rcar_du_drv.c +0 −1
  281. drivers/gpu/drm/shmobile/shmob_drm_drv.c +0 −1
  282. drivers/gpu/drm/sti/sti_compositor.c +0 −1
  283. drivers/gpu/drm/sti/sti_drm_drv.c +0 −2
  284. drivers/gpu/drm/tilcdc/tilcdc_drv.c +0 −1
  285. drivers/hsi/controllers/omap_ssi.c +0 −1
  286. drivers/hsi/controllers/omap_ssi_port.c +0 −1
  287. drivers/hwmon/abituguru.c +0 −1
  288. drivers/hwmon/abituguru3.c +0 −1
  289. drivers/hwmon/abx500.c +0 −1
  290. drivers/hwmon/applesmc.c +0 −1
  291. drivers/hwmon/coretemp.c +0 −1
  292. drivers/hwmon/da9052-hwmon.c +0 −1
  293. drivers/hwmon/da9055-hwmon.c +0 −1
  294. drivers/hwmon/dme1737.c +0 −1
  295. drivers/hwmon/f71805f.c +0 −1
  296. drivers/hwmon/f71882fg.c +0 −1
  297. drivers/hwmon/i5k_amb.c +0 −1
  298. drivers/hwmon/ibmpowernv.c +0 −1
  299. drivers/hwmon/iio_hwmon.c +0 −1
  300. drivers/hwmon/it87.c +0 −1
  301. drivers/hwmon/jz4740-hwmon.c +0 −1
  302. drivers/hwmon/lm78.c +0 −1
  303. drivers/hwmon/max197.c +0 −1
  304. drivers/hwmon/mc13783-adc.c +0 −1
  305. drivers/hwmon/menf21bmc_hwmon.c +0 −1
  306. drivers/hwmon/nct6683.c +0 −1
  307. drivers/hwmon/nct6775.c +0 −1
  308. drivers/hwmon/ntc_thermistor.c +0 −1
  309. drivers/hwmon/pc87360.c +0 −1
  310. drivers/hwmon/pc87427.c +0 −1
  311. drivers/hwmon/s3c-hwmon.c +0 −1
  312. drivers/hwmon/sch5627.c +0 −1
  313. drivers/hwmon/sch5636.c +0 −1
  314. drivers/hwmon/sht15.c +0 −1
  315. drivers/hwmon/sis5595.c +0 −1
  316. drivers/hwmon/smsc47b397.c +0 −1
  317. drivers/hwmon/smsc47m1.c +0 −1
  318. drivers/hwmon/twl4030-madc-hwmon.c +0 −1
  319. drivers/hwmon/ultra45_env.c +0 −1
  320. drivers/hwmon/vexpress.c +0 −1
  321. drivers/hwmon/via-cputemp.c +0 −1
  322. drivers/hwmon/via686a.c +0 −1
  323. drivers/hwmon/vt1211.c +0 −1
  324. drivers/hwmon/vt8231.c +0 −1
  325. drivers/hwmon/w83627ehf.c +0 −1
  326. drivers/hwmon/w83627hf.c +0 −1
  327. drivers/hwmon/w83781d.c +0 −1
  328. drivers/hwmon/wm831x-hwmon.c +0 −1
  329. drivers/hwmon/wm8350-hwmon.c +0 −1
  330. drivers/hwspinlock/omap_hwspinlock.c +0 −1
  331. drivers/hwspinlock/u8500_hsem.c +0 −1
  332. drivers/i2c/busses/i2c-at91.c +0 −1
  333. drivers/i2c/busses/i2c-au1550.c +0 −1
  334. drivers/i2c/busses/i2c-bcm-kona.c +0 −1
  335. drivers/i2c/busses/i2c-bcm2835.c +0 −1
  336. drivers/i2c/busses/i2c-bfin-twi.c +0 −1
  337. drivers/i2c/busses/i2c-cadence.c +0 −1
  338. drivers/i2c/busses/i2c-cbus-gpio.c +0 −1
  339. drivers/i2c/busses/i2c-cpm.c +0 −1
  340. drivers/i2c/busses/i2c-davinci.c +0 −1
  341. drivers/i2c/busses/i2c-designware-platdrv.c +0 −1
  342. drivers/i2c/busses/i2c-efm32.c +0 −1
  343. drivers/i2c/busses/i2c-exynos5.c +0 −1
  344. drivers/i2c/busses/i2c-gpio.c +0 −1
  345. drivers/i2c/busses/i2c-highlander.c +0 −1
  346. drivers/i2c/busses/i2c-ibm_iic.c +0 −1
  347. drivers/i2c/busses/i2c-imx.c +0 −1
  348. drivers/i2c/busses/i2c-iop3xx.c +0 −1
  349. drivers/i2c/busses/i2c-isch.c +0 −1
  350. drivers/i2c/busses/i2c-kempld.c +0 −1
  351. drivers/i2c/busses/i2c-mpc.c +0 −1
  352. drivers/i2c/busses/i2c-mv64xxx.c +0 −1
  353. drivers/i2c/busses/i2c-mxs.c +0 −1
  354. drivers/i2c/busses/i2c-ocores.c +0 −1
  355. drivers/i2c/busses/i2c-octeon.c +0 −1
  356. drivers/i2c/busses/i2c-omap.c +0 −1
  357. drivers/i2c/busses/i2c-parport-light.c +0 −1
  358. drivers/i2c/busses/i2c-pca-platform.c +0 −1
  359. drivers/i2c/busses/i2c-pmcmsp.c +0 −1
  360. drivers/i2c/busses/i2c-pnx.c +0 −1
  361. drivers/i2c/busses/i2c-puv3.c +0 −1
  362. drivers/i2c/busses/i2c-pxa.c +0 −1
  363. drivers/i2c/busses/i2c-qup.c +0 −1
  364. drivers/i2c/busses/i2c-rcar.c +0 −1
  365. drivers/i2c/busses/i2c-riic.c +0 −1
  366. drivers/i2c/busses/i2c-rk3x.c +0 −1
  367. drivers/i2c/busses/i2c-s3c2410.c +0 −1
  368. drivers/i2c/busses/i2c-sh7760.c +0 −1
  369. drivers/i2c/busses/i2c-sh_mobile.c +0 −1
  370. drivers/i2c/busses/i2c-simtec.c +0 −1
  371. drivers/i2c/busses/i2c-sirf.c +0 −1
  372. drivers/i2c/busses/i2c-st.c +0 −1
  373. drivers/i2c/busses/i2c-stu300.c +0 −1
  374. drivers/i2c/busses/i2c-sun6i-p2wi.c +0 −1
  375. drivers/i2c/busses/i2c-tegra.c +0 −1
  376. drivers/i2c/busses/i2c-versatile.c +0 −1
  377. drivers/i2c/busses/i2c-wmt.c +0 −1
  378. drivers/i2c/busses/i2c-xiic.c +0 −1
  379. drivers/i2c/busses/i2c-xlr.c +0 −1
  380. drivers/i2c/busses/scx200_acb.c +0 −1
  381. drivers/i2c/muxes/i2c-arb-gpio-challenge.c +0 −1
  382. drivers/i2c/muxes/i2c-mux-gpio.c +0 −1
  383. drivers/i2c/muxes/i2c-mux-pinctrl.c +0 −1
  384. drivers/ide/au1xxx-ide.c +0 −1
  385. drivers/ide/gayle.c +0 −1
  386. drivers/ide/ide_platform.c +0 −1
  387. drivers/ide/palm_bk3710.c +0 −1
  388. drivers/ide/tx4938ide.c +0 −1
  389. drivers/ide/tx4939ide.c +0 −1
  390. drivers/iio/adc/rockchip_saradc.c +0 −1
  391. drivers/input/keyboard/adp5520-keys.c +0 −1
  392. drivers/input/keyboard/amikbd.c +0 −1
  393. drivers/input/keyboard/bf54x-keys.c +0 −1
  394. drivers/input/keyboard/clps711x-keypad.c +0 −1
  395. drivers/input/keyboard/davinci_keyscan.c +0 −1
  396. drivers/input/keyboard/ep93xx_keypad.c +0 −1
  397. drivers/input/keyboard/goldfish_events.c +0 −1
  398. drivers/input/keyboard/gpio_keys.c +0 −1
  399. drivers/input/keyboard/gpio_keys_polled.c +0 −1
  400. drivers/input/keyboard/imx_keypad.c +0 −1
  401. drivers/input/keyboard/jornada680_kbd.c +0 −1
  402. drivers/input/keyboard/jornada720_kbd.c +0 −1
  403. drivers/input/keyboard/lpc32xx-keys.c +0 −1
  404. drivers/input/keyboard/matrix_keypad.c +0 −1
  405. drivers/input/keyboard/nomadik-ske-keypad.c +0 −1
  406. drivers/input/keyboard/nspire-keypad.c +0 −1
  407. drivers/input/keyboard/omap-keypad.c +0 −1
  408. drivers/input/keyboard/omap4-keypad.c +0 −1
  409. drivers/input/keyboard/pmic8xxx-keypad.c +0 −1
  410. drivers/input/keyboard/pxa27x_keypad.c +0 −1
  411. drivers/input/keyboard/pxa930_rotary.c +0 −1
  412. drivers/input/keyboard/samsung-keypad.c +0 −1
  413. drivers/input/keyboard/spear-keyboard.c +0 −1
  414. drivers/input/keyboard/tc3589x-keypad.c +0 −1
  415. drivers/input/keyboard/tegra-kbc.c +0 −1
  416. drivers/input/keyboard/twl4030_keypad.c +0 −1
  417. drivers/input/keyboard/w90p910_keypad.c +0 −1
  418. drivers/input/misc/88pm80x_onkey.c +0 −1
  419. drivers/input/misc/88pm860x_onkey.c +0 −1
  420. drivers/input/misc/ab8500-ponkey.c +0 −1
  421. drivers/input/misc/arizona-haptics.c +0 −1
  422. drivers/input/misc/bfin_rotary.c +0 −1
  423. drivers/input/misc/cobalt_btns.c +0 −1
  424. drivers/input/misc/da9052_onkey.c +0 −1
  425. drivers/input/misc/da9055_onkey.c +0 −1
  426. drivers/input/misc/dm355evm_keys.c +0 −1
  427. drivers/input/misc/gpio-beeper.c +0 −1
  428. drivers/input/misc/gpio_tilt_polled.c +0 −1
  429. drivers/input/misc/ideapad_slidebar.c +0 −1
  430. drivers/input/misc/ixp4xx-beeper.c +0 −1
  431. drivers/input/misc/m68kspkr.c +0 −1
  432. drivers/input/misc/max77693-haptic.c +0 −1
  433. drivers/input/misc/max8925_onkey.c +0 −1
  434. drivers/input/misc/max8997_haptic.c +0 −1
  435. drivers/input/misc/mc13783-pwrbutton.c +0 −1
  436. drivers/input/misc/palmas-pwrbutton.c +0 −1
  437. drivers/input/misc/pcap_keys.c +0 −1
  438. drivers/input/misc/pcspkr.c +0 −1
  439. drivers/input/misc/pm8xxx-vibrator.c +0 −1
  440. drivers/input/misc/pmic8xxx-pwrkey.c +0 −1
  441. drivers/input/misc/pwm-beeper.c +0 −1
  442. drivers/input/misc/rb532_button.c +0 −1
  443. drivers/input/misc/retu-pwrbutton.c +0 −1
  444. drivers/input/misc/rotary_encoder.c +0 −1
  445. drivers/input/misc/sgi_btns.c +0 −1
  446. drivers/input/misc/sirfsoc-onkey.c +0 −1
  447. drivers/input/misc/soc_button_array.c +0 −1
  448. drivers/input/misc/sparcspkr.c +0 −2
  449. drivers/input/misc/twl4030-pwrbutton.c +0 −1
  450. drivers/input/misc/twl4030-vibra.c +0 −1
  451. drivers/input/misc/twl6040-vibra.c +0 −1
  452. drivers/input/misc/wistron_btns.c +0 −1
  453. drivers/input/misc/wm831x-on.c +0 −1
  454. drivers/input/mouse/amimouse.c +0 −1
  455. drivers/input/mouse/gpio_mouse.c +0 −1
  456. drivers/input/mouse/navpoint.c +0 −1
  457. drivers/input/serio/altera_ps2.c +0 −1
  458. drivers/input/serio/apbps2.c +0 −1
  459. drivers/input/serio/arc_ps2.c +0 −1
  460. drivers/input/serio/at32psif.c +0 −1
  461. drivers/input/serio/ct82c710.c +0 −1
  462. drivers/input/serio/i8042-sparcio.h +0 −1
  463. drivers/input/serio/i8042.c +0 −1
  464. drivers/input/serio/maceps2.c +0 −1
  465. drivers/input/serio/olpc_apsp.c +0 −1
  466. drivers/input/serio/q40kbd.c +0 −1
  467. drivers/input/serio/rpckbd.c +0 −1
  468. drivers/input/serio/xilinx_ps2.c +0 −1
  469. drivers/input/touchscreen/88pm860x-ts.c +0 −1
  470. drivers/input/touchscreen/atmel-wm97xx.c +0 −1
  471. drivers/input/touchscreen/da9034-ts.c +0 −1
  472. drivers/input/touchscreen/da9052_tsi.c +0 −1
  473. drivers/input/touchscreen/intel-mid-touch.c +0 −1
  474. drivers/input/touchscreen/jornada720_ts.c +0 −1
  475. drivers/input/touchscreen/lpc32xx_ts.c +0 −1
  476. drivers/input/touchscreen/mc13783_ts.c +0 −1
  477. drivers/input/touchscreen/pcap_ts.c +0 −1
  478. drivers/input/touchscreen/s3c2410_ts.c +0 −1
  479. drivers/input/touchscreen/stmpe-ts.c +0 −1
  480. drivers/input/touchscreen/sun4i-ts.c +0 −1
  481. drivers/input/touchscreen/ti_am335x_tsc.c +0 −1
  482. drivers/input/touchscreen/tps6507x-ts.c +0 −1
  483. drivers/input/touchscreen/ucb1400_ts.c +0 −1
  484. drivers/input/touchscreen/w90p910_ts.c +0 −1
  485. drivers/input/touchscreen/wm831x-ts.c +0 −1
  486. drivers/iommu/arm-smmu.c +0 −1
  487. drivers/iommu/exynos-iommu.c +0 −1
  488. drivers/iommu/fsl_pamu.c +0 −1
  489. drivers/iommu/ipmmu-vmsa.c +0 −1
  490. drivers/iommu/shmobile-ipmmu.c +0 −1
  491. drivers/iommu/tegra-gart.c +0 −1
  492. drivers/irqchip/irq-keystone.c +0 −1
  493. drivers/irqchip/irq-renesas-intc-irqpin.c +0 −1
  494. drivers/irqchip/irq-renesas-irqc.c +0 −1
  495. drivers/leds/leds-88pm860x.c +0 −1
  496. drivers/leds/leds-adp5520.c +0 −1
  497. drivers/leds/leds-asic3.c +0 −1
  498. drivers/leds/leds-clevo-mail.c +0 −1
  499. drivers/leds/leds-cobalt-qube.c +0 −1
  500. drivers/leds/leds-cobalt-raq.c +0 −1
  501. drivers/leds/leds-da903x.c +0 −1
  502. drivers/leds/leds-da9052.c +0 −1
  503. drivers/leds/leds-gpio.c +0 −1
  504. drivers/leds/leds-hp6xx.c +0 −1
  505. drivers/leds/leds-lm3533.c +0 −1
  506. drivers/leds/leds-lp8788.c +0 −1
  507. drivers/leds/leds-lt3593.c +0 −1
  508. drivers/leds/leds-max8997.c +0 −1
  509. drivers/leds/leds-mc13783.c +0 −1
  510. drivers/leds/leds-menf21bmc.c +0 −1
  511. drivers/leds/leds-net48xx.c +0 −1
  512. drivers/leds/leds-netxbig.c +0 −1
  513. drivers/leds/leds-ns2.c +0 −1
  514. drivers/leds/leds-ot200.c +0 −1
  515. drivers/leds/leds-pwm.c +0 −1
  516. drivers/leds/leds-rb532.c +0 −1
  517. drivers/leds/leds-regulator.c +0 −1
  518. drivers/leds/leds-s3c24xx.c +0 −1
  519. drivers/leds/leds-sunfire.c +0 −2
  520. drivers/leds/leds-wm831x-status.c +0 −1
  521. drivers/leds/leds-wm8350.c +0 −1
  522. drivers/leds/leds-wrap.c +0 −1
  523. drivers/macintosh/smu.c +0 −1
  524. drivers/macintosh/therm_pm72.c +0 −1
  525. drivers/macintosh/therm_windtunnel.c +0 −1
  526. drivers/macintosh/windfarm_pm81.c +0 −1
  527. drivers/macintosh/windfarm_pm91.c +0 −1
  528. drivers/mailbox/omap-mailbox.c +0 −1
  529. drivers/media/platform/blackfin/bfin_capture.c +0 −1
  530. drivers/media/platform/coda/coda-common.c +0 −1
  531. drivers/media/platform/davinci/dm355_ccdc.c +0 −1
  532. drivers/media/platform/davinci/dm644x_ccdc.c +0 −1
  533. drivers/media/platform/davinci/isif.c +0 −1
  534. drivers/media/platform/davinci/vpbe.c +0 −1
  535. drivers/media/platform/davinci/vpbe_display.c +0 −1
  536. drivers/media/platform/davinci/vpbe_osd.c +0 −1
  537. drivers/media/platform/davinci/vpbe_venc.c +0 −1
  538. drivers/media/platform/davinci/vpfe_capture.c +0 −1
  539. drivers/media/platform/davinci/vpif.c +0 −1
  540. drivers/media/platform/davinci/vpif_capture.c +0 −1
  541. drivers/media/platform/davinci/vpif_display.c +0 −1
  542. drivers/media/platform/davinci/vpss.c +0 −1
  543. drivers/media/platform/exynos-gsc/gsc-core.c +0 −1
  544. drivers/media/platform/exynos4-is/fimc-core.c +0 −1
  545. drivers/media/platform/exynos4-is/fimc-is-i2c.c +0 −1
  546. drivers/media/platform/exynos4-is/fimc-is.c +0 −1
  547. drivers/media/platform/exynos4-is/fimc-lite.c +0 −1
  548. drivers/media/platform/exynos4-is/media-dev.c +0 −1
  549. drivers/media/platform/exynos4-is/mipi-csis.c +0 −1
  550. drivers/media/platform/fsl-viu.c +0 −1
  551. drivers/media/platform/m2m-deinterlace.c +0 −1
  552. drivers/media/platform/marvell-ccic/mmp-driver.c +0 −1
  553. drivers/media/platform/mx2_emmaprp.c +0 −1
  554. drivers/media/platform/omap3isp/isp.c +0 −1
  555. drivers/media/platform/s3c-camif/camif-core.c +0 −1
  556. drivers/media/platform/s5p-g2d/g2d.c +0 −1
  557. drivers/media/platform/s5p-jpeg/jpeg-core.c +0 −1
  558. drivers/media/platform/s5p-mfc/s5p_mfc.c +0 −1
  559. drivers/media/platform/s5p-tv/hdmi_drv.c +0 −1
  560. drivers/media/platform/s5p-tv/mixer_drv.c +0 −1
  561. drivers/media/platform/s5p-tv/sdo_drv.c +0 −1
  562. drivers/media/platform/sh_veu.c +0 −1
  563. drivers/media/platform/sh_vou.c +0 −1
  564. drivers/media/platform/soc_camera/atmel-isi.c +0 −1
  565. drivers/media/platform/soc_camera/mx3_camera.c +0 −1
  566. drivers/media/platform/soc_camera/rcar_vin.c +0 −1
  567. drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c +0 −1
  568. drivers/media/platform/soc_camera/sh_mobile_csi2.c +0 −1
  569. drivers/media/platform/soc_camera/soc_camera.c +0 −1
  570. drivers/media/platform/soc_camera/soc_camera_platform.c +0 −1
  571. drivers/media/platform/ti-vpe/vpe.c +0 −1
  572. drivers/media/platform/timblogiw.c +0 −1
  573. drivers/media/platform/vim2m.c +0 −1
  574. drivers/media/platform/vsp1/vsp1_drv.c +0 −1
  575. drivers/media/radio/radio-si476x.c +0 −1
  576. drivers/media/radio/radio-timb.c +0 −1
  577. drivers/media/radio/radio-wl1273.c +0 −1
  578. drivers/media/radio/si4713/radio-platform-si4713.c +0 −1
  579. drivers/media/rc/gpio-ir-recv.c +0 −1
  580. drivers/media/rc/sunxi-cir.c +0 −1
  581. drivers/memory/atmel-sdramc.c +0 −1
  582. drivers/memory/fsl-corenet-cf.c +0 −1
  583. drivers/memory/mvebu-devbus.c +0 −1
  584. drivers/memory/omap-gpmc.c +0 −1
  585. drivers/memory/tegra20-mc.c +0 −1
  586. drivers/memory/ti-aemif.c +0 −1
  587. drivers/memstick/host/rtsx_pci_ms.c +0 −1
  588. drivers/memstick/host/rtsx_usb_ms.c +0 −1
  589. drivers/mfd/ab3100-otp.c +0 −1
  590. drivers/mfd/ab8500-core.c +0 −1
  591. drivers/mfd/ab8500-debugfs.c +0 −1
  592. drivers/mfd/ab8500-gpadc.c +0 −1
  593. drivers/mfd/ab8500-sysctrl.c +0 −1
  594. drivers/mfd/davinci_voicecodec.c +0 −1
  595. drivers/mfd/db8500-prcmu.c +0 −1
  596. drivers/mfd/intel_msic.c +0 −1
  597. drivers/mfd/jz4740-adc.c +0 −1
  598. drivers/mfd/kempld-core.c +0 −1
  599. drivers/mfd/mcp-sa11x0.c +0 −1
  600. drivers/mfd/omap-usb-host.c +0 −1
  601. drivers/mfd/omap-usb-tll.c +0 −1
  602. drivers/mfd/pm8921-core.c +0 −1
  603. drivers/mfd/sm501.c +0 −1
  604. drivers/mfd/ssbi.c +0 −1
  605. drivers/mfd/sta2x11-mfd.c +0 −4
  606. drivers/mfd/sun6i-prcm.c +0 −1
  607. drivers/mfd/syscon.c +0 −1
  608. drivers/mfd/t7l66xb.c +0 −1
  609. drivers/mfd/tc6393xb.c +0 −1
  610. drivers/mfd/ti_am335x_tscadc.c +0 −1
  611. drivers/mfd/tps65911-comparator.c +0 −1
  612. drivers/mfd/twl4030-audio.c +0 −1
  613. drivers/mfd/twl4030-power.c +0 −1
  614. drivers/misc/arm-charlcd.c +0 −1
  615. drivers/misc/atmel-ssc.c +0 −1
  616. drivers/misc/carma/carma-fpga-program.c +0 −1
  617. drivers/misc/carma/carma-fpga.c +0 −1
  618. drivers/misc/cs5535-mfgpt.c +0 −1
  619. drivers/misc/eeprom/sunxi_sid.c +0 −1
  620. drivers/misc/mic/card/mic_x100.c +0 −1
  621. drivers/misc/ti-st/st_kim.c +0 −1
  622. drivers/mmc/host/au1xmmc.c +0 −1
  623. drivers/mmc/host/davinci_mmc.c +0 −1
  624. drivers/mmc/host/sdhci-acpi.c +0 −1
  625. drivers/mmc/host/tmio_mmc.c +0 −1
  626. drivers/mmc/host/usdhi6rol0.c +0 −1
  627. drivers/mmc/host/wbsd.c +0 −1
  628. drivers/mmc/host/wmt-sdmmc.c +0 −1
  629. drivers/mtd/devices/bcm47xxsflash.c +0 −1
  630. drivers/mtd/devices/docg3.c +0 −1
  631. drivers/mtd/devices/spear_smi.c +0 −1
  632. drivers/mtd/devices/st_spi_fsm.c +0 −1
  633. drivers/mtd/maps/ixp4xx.c +0 −1
  634. drivers/mtd/maps/lantiq-flash.c +0 −1
  635. drivers/mtd/maps/physmap.c +0 −1
  636. drivers/mtd/maps/physmap_of.c +0 −1
  637. drivers/mtd/maps/plat-ram.c +0 −1
  638. drivers/mtd/maps/pxa2xx-flash.c +0 −1
  639. drivers/mtd/maps/rbtx4939-flash.c +0 −1
  640. drivers/mtd/maps/sa1100-flash.c +0 −1
  641. drivers/mtd/maps/sun_uflash.c +0 −1
  642. drivers/mtd/nand/ams-delta.c +0 −1
  643. drivers/mtd/nand/atmel_nand.c +0 −2
  644. drivers/mtd/nand/au1550nd.c +0 −1
  645. drivers/mtd/nand/bcm47xxnflash/main.c +0 −1
  646. drivers/mtd/nand/bf5xx_nand.c +0 −1
  647. drivers/mtd/nand/davinci_nand.c +0 −1
  648. drivers/mtd/nand/denali_dt.c +0 −1
  649. drivers/mtd/nand/docg4.c +0 −1
  650. drivers/mtd/nand/fsl_elbc_nand.c +0 −1
  651. drivers/mtd/nand/fsl_ifc_nand.c +0 −1
  652. drivers/mtd/nand/fsl_upm.c +0 −1
  653. drivers/mtd/nand/fsmc_nand.c +0 −1
  654. drivers/mtd/nand/gpio.c +0 −1
  655. drivers/mtd/nand/jz4740_nand.c +0 −1
  656. drivers/mtd/nand/lpc32xx_mlc.c +0 −1
  657. drivers/mtd/nand/lpc32xx_slc.c +0 −1
  658. drivers/mtd/nand/mpc5121_nfc.c +0 −1
  659. drivers/mtd/nand/mxc_nand.c +0 −1
  660. drivers/mtd/nand/ndfc.c +0 −1
  661. drivers/mtd/nand/nuc900_nand.c +0 −1
  662. drivers/mtd/nand/omap2.c +0 −1
  663. drivers/mtd/nand/omap_elm.c +0 −1
  664. drivers/mtd/nand/orion_nand.c +0 −1
  665. drivers/mtd/nand/pasemi_nand.c +0 −1
  666. drivers/mtd/nand/plat_nand.c +0 −1
  667. drivers/mtd/nand/s3c2410.c +0 −1
  668. drivers/mtd/nand/sh_flctl.c +0 −1
  669. drivers/mtd/nand/sharpsl.c +0 −1
  670. drivers/mtd/nand/socrates_nand.c +0 −1
  671. drivers/mtd/nand/txx9ndfmc.c +0 −1
  672. drivers/mtd/onenand/generic.c +0 −1
  673. drivers/mtd/onenand/omap2.c +0 −1
  674. drivers/mtd/spi-nor/fsl-quadspi.c +0 −1
  675. drivers/net/can/at91_can.c +0 −1
  676. drivers/net/can/bfin_can.c +0 −1
  677. drivers/net/can/c_can/c_can_platform.c +0 −1
  678. drivers/net/can/cc770/cc770_isa.c +0 −1
  679. drivers/net/can/cc770/cc770_platform.c +0 −1
  680. drivers/net/can/flexcan.c +0 −1
  681. drivers/net/can/grcan.c +0 −1
  682. drivers/net/can/janz-ican3.c +0 −1
  683. drivers/net/can/mscan/mpc5xxx_can.c +0 −1
  684. drivers/net/can/rcar_can.c +0 −1
  685. drivers/net/can/sja1000/sja1000_isa.c +0 −1
  686. drivers/net/can/sja1000/sja1000_platform.c +0 −1
  687. drivers/net/can/softing/softing_main.c +0 −1
  688. drivers/net/can/ti_hecc.c +0 −1
  689. drivers/net/can/xilinx_can.c +0 −1
  690. drivers/net/ethernet/8390/ax88796.c +0 −1
  691. drivers/net/ethernet/8390/mcf8390.c +0 −1
  692. drivers/net/ethernet/8390/ne.c +0 −1
  693. drivers/net/ethernet/adi/bfin_mac.c +0 −2
  694. drivers/net/ethernet/aeroflex/greth.c +0 −1
  695. drivers/net/ethernet/altera/altera_tse_main.c +0 −1
  696. drivers/net/ethernet/amd/au1000_eth.c +0 −1
  697. drivers/net/ethernet/amd/sunlance.c +0 −1
  698. drivers/net/ethernet/apple/macmace.c +0 −1
  699. drivers/net/ethernet/broadcom/bcmsysport.c +0 −1
  700. drivers/net/ethernet/broadcom/genet/bcmgenet.c +0 −1
  701. drivers/net/ethernet/broadcom/sb1250-mac.c +0 −1
  702. drivers/net/ethernet/cadence/at91_ether.c +0 −1
  703. drivers/net/ethernet/cadence/macb.c +0 −1
  704. drivers/net/ethernet/cirrus/cs89x0.c +0 −1
  705. drivers/net/ethernet/cirrus/ep93xx_eth.c +0 −1
  706. drivers/net/ethernet/davicom/dm9000.c +0 −1
  707. drivers/net/ethernet/ethoc.c +0 −1
  708. drivers/net/ethernet/faraday/ftgmac100.c +0 −1
  709. drivers/net/ethernet/faraday/ftmac100.c +0 −1
  710. drivers/net/ethernet/freescale/fec_main.c +0 −1
  711. drivers/net/ethernet/freescale/fec_mpc52xx.c +0 −1
  712. drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c +0 −1
  713. drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c +0 −1
  714. drivers/net/ethernet/freescale/fs_enet/mii-fec.c +0 −1
  715. drivers/net/ethernet/freescale/fsl_pq_mdio.c +0 −1
  716. drivers/net/ethernet/freescale/gianfar.c +0 −1
  717. drivers/net/ethernet/freescale/gianfar_ptp.c +0 −1
  718. drivers/net/ethernet/freescale/ucc_geth.c +0 −1
  719. drivers/net/ethernet/i825xx/sni_82596.c +0 −1
  720. drivers/net/ethernet/ibm/emac/core.c +0 −1
  721. drivers/net/ethernet/ibm/emac/mal.c +0 −1
  722. drivers/net/ethernet/ibm/emac/rgmii.c +0 −1
  723. drivers/net/ethernet/ibm/emac/tah.c +0 −1
  724. drivers/net/ethernet/ibm/emac/zmii.c +0 −1
  725. drivers/net/ethernet/lantiq_etop.c +0 −1
  726. drivers/net/ethernet/marvell/mv643xx_eth.c +0 −2
  727. drivers/net/ethernet/micrel/ks8695net.c +0 −1
  728. drivers/net/ethernet/micrel/ks8842.c +0 −1
  729. drivers/net/ethernet/micrel/ks8851_mll.c +0 −1
  730. drivers/net/ethernet/moxa/moxart_ether.c +0 −1
  731. drivers/net/ethernet/natsemi/jazzsonic.c +0 −1
  732. drivers/net/ethernet/natsemi/macsonic.c +0 −1
  733. drivers/net/ethernet/netx-eth.c +0 −1
  734. drivers/net/ethernet/nuvoton/w90p910_ether.c +0 −1
  735. drivers/net/ethernet/octeon/octeon_mgmt.c +0 −1
  736. drivers/net/ethernet/s6gmac.c +0 −1
  737. drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c +0 −1
  738. drivers/net/ethernet/seeq/sgiseeq.c +0 −1
  739. drivers/net/ethernet/sgi/meth.c +0 −1
  740. drivers/net/ethernet/smsc/smc911x.c +0 −1
  741. drivers/net/ethernet/smsc/smc91x.c +0 −1
  742. drivers/net/ethernet/smsc/smsc911x.c +0 −1
  743. drivers/net/ethernet/sun/niu.c +0 −1
  744. drivers/net/ethernet/sun/sunbmac.c +0 −1
  745. drivers/net/ethernet/sun/sunhme.c +0 −1
  746. drivers/net/ethernet/sun/sunqe.c +0 −1
  747. drivers/net/ethernet/tundra/tsi108_eth.c +0 −1
  748. drivers/net/ethernet/via/via-rhine.c +0 −1
  749. drivers/net/ethernet/via/via-velocity.c +0 −1
  750. drivers/net/ethernet/wiznet/w5100.c +0 −1
  751. drivers/net/ethernet/wiznet/w5300.c +0 −1
  752. drivers/net/ieee802154/fakelb.c +0 −1
  753. drivers/net/irda/ali-ircc.c +0 −1
  754. drivers/net/irda/au1k_ir.c +0 −1
  755. drivers/net/irda/pxaficp_ir.c +0 −1
  756. drivers/net/irda/sa1100_ir.c +0 −1
  757. drivers/net/phy/mdio-bcm-unimac.c +0 −1
  758. drivers/net/phy/mdio-gpio.c +0 −1
  759. drivers/net/phy/mdio-mux-gpio.c +0 −1
  760. drivers/net/phy/mdio-mux-mmioreg.c +0 −1
  761. drivers/net/phy/mdio-octeon.c +0 −1
  762. drivers/net/wireless/ath/ath9k/ahb.c +0 −1
  763. drivers/net/wireless/ath/ath9k/debug.c +171 −244
  764. drivers/net/wireless/ath/ath9k/debug.h +5 −6
  765. drivers/net/wireless/ath/wcn36xx/main.c +0 −1
  766. drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c +0 −1
  767. drivers/net/wireless/mac80211_hwsim.c +0 −1
  768. drivers/net/wireless/rt2x00/rt2800soc.c +0 −1
  769. drivers/net/wireless/ti/wl12xx/main.c +0 −1
  770. drivers/net/wireless/ti/wl18xx/main.c +0 −1
  771. drivers/nfc/nfcwilink.c +0 −1
  772. drivers/parport/parport_amiga.c +0 −1
  773. drivers/parport/parport_ax88796.c +0 −1
  774. drivers/parport/parport_pc.c +0 −1
  775. drivers/parport/parport_sunbpp.c +0 −1
  776. drivers/pci/host/pci-dra7xx.c +0 −1
  777. drivers/pci/host/pci-exynos.c +0 −1
  778. drivers/pci/host/pci-host-generic.c +0 −1
  779. drivers/pci/host/pci-imx6.c +0 −1
  780. drivers/pci/host/pci-keystone.c +0 −1
  781. drivers/pci/host/pci-mvebu.c +0 −1
  782. drivers/pci/host/pci-rcar-gen2.c +0 −1
  783. drivers/pci/host/pci-tegra.c +0 −1
  784. drivers/pci/host/pci-xgene.c +0 −1
  785. drivers/pci/host/pcie-rcar.c +0 −1
  786. drivers/pci/host/pcie-spear13xx.c +0 −1
  787. drivers/pci/host/pcie-xilinx.c +0 −1
  788. drivers/pci/pci-sysfs.c +10 −29
  789. drivers/pcmcia/at91_cf.c +0 −1
  790. drivers/pcmcia/bfin_cf_pcmcia.c +0 −1
  791. drivers/pcmcia/db1xxx_ss.c +0 −1
  792. drivers/pcmcia/electra_cf.c +0 −1
  793. drivers/pcmcia/i82365.c +0 −1
  794. drivers/pcmcia/m32r_cfc.c +0 −1
  795. drivers/pcmcia/m32r_pcc.c +0 −1
  796. drivers/pcmcia/omap_cf.c +0 −1
  797. drivers/pcmcia/pxa2xx_base.c +0 −1
  798. drivers/pcmcia/pxa2xx_viper.c +0 −1
  799. drivers/pcmcia/sa1100_generic.c +0 −1
  800. drivers/pcmcia/tcic.c +0 −1
  801. drivers/pcmcia/vrc4171_card.c +0 −1
  802. drivers/pcmcia/xxs1500_ss.c +0 −1
  803. drivers/pinctrl/berlin/berlin-bg2.c +0 −1
  804. drivers/pinctrl/berlin/berlin-bg2cd.c +0 −1
  805. drivers/pinctrl/berlin/berlin-bg2q.c +0 −1
  806. drivers/pinctrl/freescale/pinctrl-imx1.c +0 −1
  807. drivers/pinctrl/freescale/pinctrl-imx21.c +0 −1
  808. drivers/pinctrl/freescale/pinctrl-imx23.c +0 −1
  809. drivers/pinctrl/freescale/pinctrl-imx25.c +0 −1
  810. drivers/pinctrl/freescale/pinctrl-imx27.c +0 −1
  811. drivers/pinctrl/freescale/pinctrl-imx28.c +0 −1
  812. drivers/pinctrl/freescale/pinctrl-imx35.c +0 −1
  813. drivers/pinctrl/freescale/pinctrl-imx50.c +0 −1
  814. drivers/pinctrl/freescale/pinctrl-imx51.c +0 −1
  815. drivers/pinctrl/freescale/pinctrl-imx53.c +0 −1
  816. drivers/pinctrl/freescale/pinctrl-imx6dl.c +0 −1
  817. drivers/pinctrl/freescale/pinctrl-imx6q.c +0 −1
  818. drivers/pinctrl/freescale/pinctrl-imx6sl.c +0 −1
  819. drivers/pinctrl/freescale/pinctrl-imx6sx.c +0 −1
  820. drivers/pinctrl/freescale/pinctrl-vf610.c +0 −1
  821. drivers/pinctrl/intel/pinctrl-baytrail.c +0 −1
  822. drivers/pinctrl/mvebu/pinctrl-armada-370.c +0 −1
  823. drivers/pinctrl/mvebu/pinctrl-armada-375.c +0 −1
  824. drivers/pinctrl/mvebu/pinctrl-armada-38x.c +0 −1
  825. drivers/pinctrl/mvebu/pinctrl-armada-xp.c +0 −1
  826. drivers/pinctrl/mvebu/pinctrl-dove.c +0 −1
  827. drivers/pinctrl/mvebu/pinctrl-kirkwood.c +0 −1
  828. drivers/pinctrl/mvebu/pinctrl-orion.c +0 −1
  829. drivers/pinctrl/nomadik/pinctrl-abx500.c +0 −1
  830. drivers/pinctrl/nomadik/pinctrl-nomadik.c +0 −2
  831. drivers/pinctrl/pinctrl-as3722.c +0 −1
  832. drivers/pinctrl/pinctrl-at91.c +0 −2
  833. drivers/pinctrl/pinctrl-bcm281xx.c +0 −1
  834. drivers/pinctrl/pinctrl-bcm2835.c +0 −1
  835. drivers/pinctrl/pinctrl-falcon.c +0 −1
  836. drivers/pinctrl/pinctrl-palmas.c +0 −1
  837. drivers/pinctrl/pinctrl-rockchip.c +0 −1
  838. drivers/pinctrl/pinctrl-single.c +0 −1
  839. drivers/pinctrl/pinctrl-st.c +0 −1
  840. drivers/pinctrl/pinctrl-tb10x.c +0 −1
  841. drivers/pinctrl/pinctrl-tegra114.c +0 −1
  842. drivers/pinctrl/pinctrl-tegra124.c +0 −1
  843. drivers/pinctrl/pinctrl-tegra20.c +0 −1
  844. drivers/pinctrl/pinctrl-tegra30.c +0 −1
  845. drivers/pinctrl/pinctrl-tz1090-pdc.c +0 −1
  846. drivers/pinctrl/pinctrl-tz1090.c +0 −1
  847. drivers/pinctrl/pinctrl-u300.c +0 −1
  848. drivers/pinctrl/pinctrl-xway.c +0 −1
  849. drivers/pinctrl/qcom/pinctrl-apq8064.c +0 −1
  850. drivers/pinctrl/qcom/pinctrl-apq8084.c +0 −1
  851. drivers/pinctrl/qcom/pinctrl-ipq8064.c +0 −1
  852. drivers/pinctrl/qcom/pinctrl-msm8960.c +0 −1
  853. drivers/pinctrl/qcom/pinctrl-msm8x74.c +0 −1
  854. drivers/pinctrl/samsung/pinctrl-exynos5440.c +0 −1
  855. drivers/pinctrl/samsung/pinctrl-samsung.c +0 −1
  856. drivers/pinctrl/sh-pfc/core.c +0 −1
  857. drivers/pinctrl/sirf/pinctrl-sirf.c +0 −1
  858. drivers/pinctrl/spear/pinctrl-plgpio.c +0 −1
  859. drivers/pinctrl/spear/pinctrl-spear1310.c +0 −1
  860. drivers/pinctrl/spear/pinctrl-spear1340.c +0 −1
  861. drivers/pinctrl/spear/pinctrl-spear300.c +0 −1
  862. drivers/pinctrl/spear/pinctrl-spear310.c +0 −1
  863. drivers/pinctrl/spear/pinctrl-spear320.c +0 −1
  864. drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c +0 −1
  865. drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c +0 −1
  866. drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c +0 −1
  867. drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c +0 −1
  868. drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c +0 −1
  869. drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c +0 −1
  870. drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c +0 −1
  871. drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c +0 −1
  872. drivers/pinctrl/vt8500/pinctrl-vt8500.c +0 −1
  873. drivers/pinctrl/vt8500/pinctrl-wm8505.c +0 −1
  874. drivers/pinctrl/vt8500/pinctrl-wm8650.c +0 −1
  875. drivers/pinctrl/vt8500/pinctrl-wm8750.c +0 −1
  876. drivers/pinctrl/vt8500/pinctrl-wm8850.c +0 −1
  877. drivers/platform/chrome/chromeos_laptop.c +0 −1
  878. drivers/platform/x86/acer-wmi.c +0 −1
  879. drivers/platform/x86/acerhdf.c +0 −1
  880. drivers/platform/x86/alienware-wmi.c +0 −1
  881. drivers/platform/x86/amilo-rfkill.c +0 −1
  882. drivers/platform/x86/asus-laptop.c +0 −1
  883. drivers/platform/x86/compal-laptop.c +0 −1
  884. drivers/platform/x86/dell-laptop.c +0 −1
  885. drivers/platform/x86/eeepc-laptop.c +0 −1
  886. drivers/platform/x86/fujitsu-laptop.c +0 −1
  887. drivers/platform/x86/hdaps.c +0 −1
  888. drivers/platform/x86/hp-wmi.c +0 −1
  889. drivers/platform/x86/ideapad-laptop.c +0 −1
  890. drivers/platform/x86/intel_mid_powerbtn.c +0 −1
  891. drivers/platform/x86/intel_mid_thermal.c +0 −1
  892. drivers/platform/x86/intel_oaktrail.c +0 −1
  893. drivers/platform/x86/intel_pmic_gpio.c +0 −1
  894. drivers/platform/x86/msi-laptop.c +0 −1
  895. drivers/platform/x86/samsung-q10.c +0 −1
  896. drivers/platform/x86/sony-laptop.c +0 −1
  897. drivers/platform/x86/tc1100-wmi.c +0 −1
  898. drivers/platform/x86/thinkpad_acpi.c +0 −2
  899. drivers/platform/x86/xo1-rfkill.c +0 −1
  900. drivers/power/88pm860x_battery.c +0 −1
  901. drivers/power/88pm860x_charger.c +0 −1
  902. drivers/power/ab8500_btemp.c +0 −1
  903. drivers/power/ab8500_charger.c +0 −1
  904. drivers/power/ab8500_fg.c +0 −1
  905. drivers/power/abx500_chargalg.c +0 −1
  906. drivers/power/bq27x00_battery.c +0 −1
  907. drivers/power/charger-manager.c +0 −1
  908. drivers/power/da9030_battery.c +0 −1
  909. drivers/power/da9052-battery.c +0 −1
  910. drivers/power/generic-adc-battery.c +0 −1
  911. drivers/power/gpio-charger.c +0 −1
  912. drivers/power/intel_mid_battery.c +0 −1
  913. drivers/power/jz4740-battery.c +0 −1
  914. drivers/power/lp8788-charger.c +0 −1
  915. drivers/power/max14577_charger.c +0 −1
  916. drivers/power/max8903_charger.c +0 −1
  917. drivers/power/max8997_charger.c +0 −1
  918. drivers/power/max8998_charger.c +0 −1
  919. drivers/power/olpc_battery.c +0 −1
  920. drivers/power/reset/as3722-poweroff.c +0 −1
  921. drivers/power/reset/brcmstb-reboot.c +0 −1
  922. drivers/power/reset/gpio-poweroff.c +0 −1
  923. drivers/power/reset/gpio-restart.c +0 −1
  924. drivers/power/reset/keystone-reset.c +0 −1
  925. drivers/power/reset/ltc2952-poweroff.c +0 −1
  926. drivers/power/reset/qnap-poweroff.c +0 −1
  927. drivers/power/reset/restart-poweroff.c +0 −1
  928. drivers/power/rx51_battery.c +0 −1
  929. drivers/power/tps65090-charger.c +0 −1
  930. drivers/power/twl4030_charger.c +0 −1
  931. drivers/power/wm97xx_battery.c +0 −1
  932. drivers/pps/clients/pps-gpio.c +0 −1
  933. drivers/pwm/pwm-ab8500.c +0 −1
  934. drivers/pwm/pwm-atmel-tcb.c +0 −1
  935. drivers/pwm/pwm-bfin.c +0 −1
  936. drivers/pwm/pwm-clps711x.c +0 −1
  937. drivers/pwm/pwm-imx.c +0 −1
  938. drivers/pwm/pwm-jz4740.c +0 −1
  939. drivers/pwm/pwm-lp3943.c +0 −1
  940. drivers/pwm/pwm-lpc32xx.c +0 −1
  941. drivers/pwm/pwm-mxs.c +0 −1
  942. drivers/pwm/pwm-puv3.c +0 −1
  943. drivers/pwm/pwm-pxa.c +0 −1
  944. drivers/pwm/pwm-renesas-tpu.c +0 −1
  945. drivers/pwm/pwm-samsung.c +0 −1
  946. drivers/pwm/pwm-spear.c +0 −1
  947. drivers/pwm/pwm-tegra.c +0 −1
  948. drivers/pwm/pwm-tiecap.c +0 −1
  949. drivers/pwm/pwm-tiehrpwm.c +0 −1
  950. drivers/pwm/pwm-tipwmss.c +0 −1
  951. drivers/pwm/pwm-vt8500.c +0 −1
  952. drivers/regulator/88pm800.c +0 −1
  953. drivers/regulator/88pm8607.c +0 −1
  954. drivers/regulator/aat2870-regulator.c +0 −1
  955. drivers/regulator/ab3100.c +0 −1
  956. drivers/regulator/ab8500-ext.c +0 −1
  957. drivers/regulator/ab8500.c +0 −1
  958. drivers/regulator/anatop-regulator.c +0 −1
  959. drivers/regulator/arizona-ldo1.c +0 −1
  960. drivers/regulator/arizona-micsupp.c +0 −1
  961. drivers/regulator/as3711-regulator.c +0 −1
  962. drivers/regulator/as3722-regulator.c +0 −1
  963. drivers/regulator/axp20x-regulator.c +0 −1
  964. drivers/regulator/bcm590xx-regulator.c +0 −1
  965. drivers/regulator/da903x.c +0 −1
  966. drivers/regulator/da9052-regulator.c +0 −1
  967. drivers/regulator/da9055-regulator.c +0 −1
  968. drivers/regulator/da9063-regulator.c +0 −1
  969. drivers/regulator/db8500-prcmu.c +0 −1
  970. drivers/regulator/dummy.c +0 −1
  971. drivers/regulator/fixed.c +0 −1
  972. drivers/regulator/gpio-regulator.c +0 −1
  973. drivers/regulator/hi6421-regulator.c +0 −1
  974. drivers/regulator/lp8788-buck.c +0 −1
  975. drivers/regulator/lp8788-ldo.c +0 −2
  976. drivers/regulator/max14577.c +0 −1
  977. drivers/regulator/max77686.c +0 −1
  978. drivers/regulator/max77693.c +0 −1
  979. drivers/regulator/max77802.c +0 −1
  980. drivers/regulator/max8907-regulator.c +0 −1
  981. drivers/regulator/max8925-regulator.c +0 −1
  982. drivers/regulator/max8997.c +0 −1
  983. drivers/regulator/max8998.c +0 −1
  984. drivers/regulator/mc13783-regulator.c +0 −1
  985. drivers/regulator/mc13892-regulator.c +0 −1
  986. drivers/regulator/palmas-regulator.c +0 −1
  987. drivers/regulator/pbias-regulator.c +0 −1
  988. drivers/regulator/pcap-regulator.c +0 −1
  989. drivers/regulator/pwm-regulator.c +0 −1
  990. drivers/regulator/qcom_rpm-regulator.c +0 −1
  991. drivers/regulator/rc5t583-regulator.c +0 −1
  992. drivers/regulator/rk808-regulator.c +0 −1
  993. drivers/regulator/s2mpa01.c +0 −1
  994. drivers/regulator/s2mps11.c +0 −1
  995. drivers/regulator/s5m8767.c +0 −1
  996. drivers/regulator/stw481x-vmmc.c +0 −1
  997. drivers/regulator/ti-abb-regulator.c +0 −1
  998. drivers/regulator/tps6105x-regulator.c +0 −1
  999. drivers/regulator/tps6507x-regulator.c +0 −1
  1000. drivers/regulator/tps65090-regulator.c +0 −1
  1001. drivers/regulator/tps65218-regulator.c +0 −1
  1002. drivers/regulator/tps6586x-regulator.c +0 −1
  1003. drivers/regulator/tps65910-regulator.c +0 −1
  1004. drivers/regulator/tps65912-regulator.c +0 −1
  1005. drivers/regulator/tps80031-regulator.c +0 −1
  1006. drivers/regulator/twl-regulator.c +0 −1
  1007. drivers/regulator/vexpress.c +0 −1
  1008. drivers/regulator/virtual.c +0 −1
  1009. drivers/regulator/wm831x-dcdc.c +0 −4
  1010. drivers/regulator/wm831x-isink.c +0 −1
  1011. drivers/regulator/wm831x-ldo.c +0 −3
  1012. drivers/regulator/wm8994-regulator.c +0 −1
  1013. drivers/remoteproc/da8xx_remoteproc.c +0 −1
  1014. drivers/remoteproc/omap_remoteproc.c +0 −1
  1015. drivers/remoteproc/ste_modem_rproc.c +0 −1
  1016. drivers/reset/reset-socfpga.c +0 −1
  1017. drivers/reset/reset-sunxi.c +0 −1
  1018. drivers/reset/sti/reset-stih415.c +0 −1
  1019. drivers/reset/sti/reset-stih416.c +0 −1
  1020. drivers/rtc/rtc-88pm80x.c +0 −1
  1021. drivers/rtc/rtc-88pm860x.c +0 −1
  1022. drivers/rtc/rtc-ab3100.c +0 −1
  1023. drivers/rtc/rtc-ab8500.c +0 −1
  1024. drivers/rtc/rtc-at32ap700x.c +0 −1
  1025. drivers/rtc/rtc-at91rm9200.c +0 −1
  1026. drivers/rtc/rtc-at91sam9.c +0 −1
  1027. drivers/rtc/rtc-au1xxx.c +0 −1
  1028. drivers/rtc/rtc-bfin.c +0 −1
  1029. drivers/rtc/rtc-bq4802.c +0 −1
  1030. drivers/rtc/rtc-coh901331.c +0 −1
  1031. drivers/rtc/rtc-da9052.c +0 −1
  1032. drivers/rtc/rtc-da9055.c +0 −1
  1033. drivers/rtc/rtc-da9063.c +0 −1
  1034. drivers/rtc/rtc-davinci.c +0 −1
  1035. drivers/rtc/rtc-dm355evm.c +0 −1
  1036. drivers/rtc/rtc-ds1216.c +0 −1
  1037. drivers/rtc/rtc-ds1286.c +0 −1
  1038. drivers/rtc/rtc-ds1302.c +0 −1
  1039. drivers/rtc/rtc-ds1511.c +0 −1
  1040. drivers/rtc/rtc-ds1553.c +0 −1
  1041. drivers/rtc/rtc-ds1742.c +0 −1
  1042. drivers/rtc/rtc-ds2404.c +0 −1
  1043. drivers/rtc/rtc-efi.c +0 −1
  1044. drivers/rtc/rtc-ep93xx.c +0 −1
  1045. drivers/rtc/rtc-generic.c +0 −1
  1046. drivers/rtc/rtc-hid-sensor-time.c +0 −1
  1047. drivers/rtc/rtc-imxdi.c +0 −1
  1048. drivers/rtc/rtc-jz4740.c +0 −1
  1049. drivers/rtc/rtc-lp8788.c +0 −1
  1050. drivers/rtc/rtc-lpc32xx.c +0 −1
  1051. drivers/rtc/rtc-ls1x.c +0 −1
  1052. drivers/rtc/rtc-m48t35.c +0 −1
  1053. drivers/rtc/rtc-m48t59.c +0 −1
  1054. drivers/rtc/rtc-m48t86.c +0 −1
  1055. drivers/rtc/rtc-max77686.c +0 −1
  1056. drivers/rtc/rtc-max77802.c +0 −1
  1057. drivers/rtc/rtc-max8907.c +0 −1
  1058. drivers/rtc/rtc-max8925.c +0 −1
  1059. drivers/rtc/rtc-max8997.c +0 −1
  1060. drivers/rtc/rtc-max8998.c +0 −1
  1061. drivers/rtc/rtc-mc13xxx.c +0 −1
  1062. drivers/rtc/rtc-moxart.c +0 −1
  1063. drivers/rtc/rtc-mpc5121.c +0 −1
  1064. drivers/rtc/rtc-msm6242.c +0 −1
  1065. drivers/rtc/rtc-mv.c +0 −1
  1066. drivers/rtc/rtc-mxc.c +0 −1
  1067. drivers/rtc/rtc-nuc900.c +0 −1
  1068. drivers/rtc/rtc-omap.c +0 −1
  1069. drivers/rtc/rtc-palmas.c +0 −1
  1070. drivers/rtc/rtc-pcap.c +0 −1
  1071. drivers/rtc/rtc-pm8xxx.c +0 −1
  1072. drivers/rtc/rtc-ps3.c +0 −1
  1073. drivers/rtc/rtc-puv3.c +0 −1
  1074. drivers/rtc/rtc-rc5t583.c +0 −1
  1075. drivers/rtc/rtc-rp5c01.c +0 −1
  1076. drivers/rtc/rtc-rs5c313.c +0 −1
  1077. drivers/rtc/rtc-s3c.c +0 −1
  1078. drivers/rtc/rtc-s5m.c +0 −1
  1079. drivers/rtc/rtc-sh.c +0 −1
  1080. drivers/rtc/rtc-sirfsoc.c +0 −1
  1081. drivers/rtc/rtc-snvs.c +0 −1
  1082. drivers/rtc/rtc-starfire.c +0 −1
  1083. drivers/rtc/rtc-stk17ta8.c +0 −1
  1084. drivers/rtc/rtc-stmp3xxx.c +0 −1
  1085. drivers/rtc/rtc-sun4v.c +0 −1
  1086. drivers/rtc/rtc-sunxi.c +0 −1
  1087. drivers/rtc/rtc-tegra.c +0 −1
  1088. drivers/rtc/rtc-test.c +0 −1
  1089. drivers/rtc/rtc-tile.c +0 −1
  1090. drivers/rtc/rtc-tps6586x.c +0 −1
  1091. drivers/rtc/rtc-tps65910.c +0 −1
  1092. drivers/rtc/rtc-tps80031.c +0 −1
  1093. drivers/rtc/rtc-twl.c +0 −1
  1094. drivers/rtc/rtc-tx4939.c +0 −1
  1095. drivers/rtc/rtc-v3020.c +0 −1
  1096. drivers/rtc/rtc-vr41xx.c +0 −1
  1097. drivers/rtc/rtc-vt8500.c +0 −1
  1098. drivers/rtc/rtc-xgene.c +0 −1
  1099. drivers/s390/block/dcssblk.c +0 −1
  1100. drivers/s390/block/xpram.c +0 −1
  1101. drivers/s390/char/monwriter.c +0 −1
  1102. drivers/s390/char/sclp.c +0 −1
  1103. drivers/sbus/char/bbc_i2c.c +0 −1
  1104. drivers/sbus/char/display7seg.c +0 −1
  1105. drivers/sbus/char/envctrl.c +0 −1
  1106. drivers/sbus/char/flash.c +0 −1
  1107. drivers/sbus/char/uctrl.c +0 −1
  1108. drivers/scsi/a3000.c +0 −1
  1109. drivers/scsi/a4000t.c +0 −1
  1110. drivers/scsi/bvme6000_scsi.c +0 −1
  1111. drivers/scsi/jazz_esp.c +0 −1
  1112. drivers/scsi/mac_esp.c +0 −1
  1113. drivers/scsi/mvme16x_scsi.c +0 −1
  1114. drivers/scsi/qlogicpti.c +0 −1
  1115. drivers/scsi/sgiwd93.c +0 −1
  1116. drivers/scsi/sni_53c710.c +0 −1
  1117. drivers/scsi/sun3x_esp.c +0 −1
  1118. drivers/scsi/sun_esp.c +0 −1
  1119. drivers/scsi/ufs/ufshcd-pltfrm.c +0 −1
  1120. drivers/soc/qcom/qcom_gsbi.c +0 −1
  1121. drivers/soc/tegra/fuse/fuse-tegra20.c +0 −1
  1122. drivers/soc/tegra/fuse/fuse-tegra30.c +0 −1
  1123. drivers/soc/ti/knav_dma.c +0 −1
  1124. drivers/soc/ti/knav_qmss_queue.c +0 −1
  1125. drivers/spi/spi-adi-v3.c +0 −1
  1126. drivers/spi/spi-altera.c +0 −1
  1127. drivers/spi/spi-ath79.c +0 −1
  1128. drivers/spi/spi-atmel.c +0 −1
  1129. drivers/spi/spi-au1550.c +0 −1
  1130. drivers/spi/spi-bcm2835.c +0 −1
  1131. drivers/spi/spi-bcm63xx-hsspi.c +0 −1
  1132. drivers/spi/spi-bcm63xx.c +0 −1
  1133. drivers/spi/spi-bfin-sport.c +0 −1
  1134. drivers/spi/spi-bfin5xx.c +0 −1
  1135. drivers/spi/spi-clps711x.c +0 −1
  1136. drivers/spi/spi-davinci.c +0 −1
  1137. drivers/spi/spi-dw-mmio.c +0 −1
  1138. drivers/spi/spi-efm32.c +0 −1
  1139. drivers/spi/spi-ep93xx.c +0 −1
  1140. drivers/spi/spi-falcon.c +0 −1
  1141. drivers/spi/spi-fsl-espi.c +0 −1
  1142. drivers/spi/spi-fsl-spi.c +0 −2
  1143. drivers/spi/spi-gpio.c +0 −1
  1144. drivers/spi/spi-imx.c +0 −1
  1145. drivers/spi/spi-mpc512x-psc.c +0 −1
  1146. drivers/spi/spi-mpc52xx-psc.c +0 −1
  1147. drivers/spi/spi-mpc52xx.c +0 −1
  1148. drivers/spi/spi-mxs.c +0 −1
  1149. drivers/spi/spi-nuc900.c +0 −1
  1150. drivers/spi/spi-oc-tiny.c +0 −1
  1151. drivers/spi/spi-octeon.c +0 −1
  1152. drivers/spi/spi-omap-100k.c +0 −1
  1153. drivers/spi/spi-omap-uwire.c +0 −1
  1154. drivers/spi/spi-omap2-mcspi.c +0 −1
  1155. drivers/spi/spi-orion.c +0 −1
  1156. drivers/spi/spi-ppc4xx.c +0 −1
  1157. drivers/spi/spi-pxa2xx.c +0 −1
  1158. drivers/spi/spi-qup.c +0 −1
  1159. drivers/spi/spi-rockchip.c +0 −1
  1160. drivers/spi/spi-rspi.c +0 −1
  1161. drivers/spi/spi-s3c24xx.c +0 −1
  1162. drivers/spi/spi-s3c64xx.c +0 −1
  1163. drivers/spi/spi-sh-hspi.c +0 −1
  1164. drivers/spi/spi-sh-msiof.c +0 −1
  1165. drivers/spi/spi-sh-sci.c +0 −1
  1166. drivers/spi/spi-sh.c +0 −1
  1167. drivers/spi/spi-sirf.c +0 −1
  1168. drivers/spi/spi-sun4i.c +0 −1
  1169. drivers/spi/spi-sun6i.c +0 −1
  1170. drivers/spi/spi-tegra114.c +0 −1
  1171. drivers/spi/spi-tegra20-sflash.c +0 −1
  1172. drivers/spi/spi-tegra20-slink.c +0 −1
  1173. drivers/spi/spi-ti-qspi.c +0 −1
  1174. drivers/spi/spi-topcliff-pch.c +0 −1
  1175. drivers/spi/spi-txx9.c +0 −1
  1176. drivers/spi/spi-xtensa-xtfpga.c +0 −1
  1177. drivers/spmi/spmi-pmic-arb.c +0 −1
  1178. drivers/staging/android/timed_gpio.c +0 −1
  1179. drivers/staging/emxx_udc/emxx_udc.c +0 −1
  1180. drivers/staging/iio/adc/ad7606_par.c +0 −1
  1181. drivers/staging/iio/adc/lpc32xx_adc.c +0 −1
  1182. drivers/staging/iio/adc/mxs-lradc.c +0 −1
  1183. drivers/staging/iio/adc/spear_adc.c +0 −1
  1184. drivers/staging/iio/trigger/iio-trig-bfin-timer.c +0 −1
  1185. drivers/staging/iio/trigger/iio-trig-periodic-rtc.c +0 −1
  1186. drivers/staging/imx-drm/imx-drm-core.c +0 −1
  1187. drivers/staging/imx-drm/imx-hdmi.c +0 −1
  1188. drivers/staging/imx-drm/imx-ldb.c +0 −1
  1189. drivers/staging/imx-drm/imx-tve.c +0 −1
  1190. drivers/staging/imx-drm/parallel-display.c +0 −1
  1191. drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c +0 −1
  1192. drivers/staging/media/lirc/lirc_parallel.c +0 −1
  1193. drivers/staging/media/lirc/lirc_serial.c +0 −1
  1194. drivers/staging/media/lirc/lirc_sir.c +0 −1
  1195. drivers/staging/media/omap4iss/iss.c +0 −1
  1196. drivers/staging/netlogic/xlr_net.c +0 −1
  1197. drivers/staging/nvec/nvec.c +0 −1
  1198. drivers/staging/nvec/nvec_kbd.c +0 −1
  1199. drivers/staging/nvec/nvec_paz00.c +0 −1
  1200. drivers/staging/nvec/nvec_power.c +0 −1
  1201. drivers/staging/nvec/nvec_ps2.c +0 −1
  1202. drivers/staging/octeon-usb/octeon-hcd.c +0 −1
  1203. drivers/staging/octeon/ethernet.c +0 −1
  1204. drivers/staging/ozwpan/ozhcd.c +0 −1
  1205. drivers/thermal/armada_thermal.c +0 −1
  1206. drivers/thermal/db8500_cpufreq_cooling.c +0 −1
  1207. drivers/thermal/db8500_thermal.c +0 −1
  1208. drivers/thermal/dove_thermal.c +0 −1
  1209. drivers/thermal/imx_thermal.c +0 −1
  1210. drivers/thermal/kirkwood_thermal.c +0 −1
  1211. drivers/thermal/samsung/exynos_tmu.c +0 −1
  1212. drivers/thermal/spear_thermal.c +0 −1
  1213. drivers/thermal/st/st_thermal_memmap.c +0 −1
  1214. drivers/thermal/st/st_thermal_syscfg.c +0 −1
  1215. drivers/tty/amiserial.c +0 −1
  1216. drivers/tty/ehv_bytechan.c +0 −1
  1217. drivers/tty/hvc/hvc_opal.c +0 −1
  1218. drivers/tty/hvc/hvc_tile.c +0 −1
  1219. drivers/tty/serial/8250/8250_core.c +0 −1
  1220. drivers/tty/serial/8250/8250_dw.c +0 −1
  1221. drivers/tty/serial/8250/8250_em.c +0 −1
  1222. drivers/tty/serial/altera_jtaguart.c +0 −1
  1223. drivers/tty/serial/altera_uart.c +0 −1
  1224. drivers/tty/serial/apbuart.c +0 −1
  1225. drivers/tty/serial/ar933x_uart.c +0 −1
  1226. drivers/tty/serial/arc_uart.c +0 −1
  1227. drivers/tty/serial/atmel_serial.c +0 −1
  1228. drivers/tty/serial/bcm63xx_uart.c +0 −1
  1229. drivers/tty/serial/bfin_uart.c +0 −1
  1230. drivers/tty/serial/clps711x.c +0 −1
  1231. drivers/tty/serial/cpm_uart/cpm_uart_core.c +0 −1
  1232. drivers/tty/serial/efm32-uart.c +0 −1
  1233. drivers/tty/serial/fsl_lpuart.c +0 −1
  1234. drivers/tty/serial/imx.c +0 −1
  1235. drivers/tty/serial/lantiq.c +0 −1
  1236. drivers/tty/serial/lpc32xx_hs.c +0 −1
  1237. drivers/tty/serial/mcf.c +0 −1
  1238. drivers/tty/serial/meson_uart.c +0 −1
  1239. drivers/tty/serial/mpc52xx_uart.c +0 −1
  1240. drivers/tty/serial/mpsc.c +0 −1
  1241. drivers/tty/serial/msm_serial.c +0 −1
  1242. drivers/tty/serial/msm_serial_hs.c +0 −1
  1243. drivers/tty/serial/mxs-auart.c +0 −1
  1244. drivers/tty/serial/netx-serial.c +0 −1
  1245. drivers/tty/serial/of_serial.c +0 −1
  1246. drivers/tty/serial/pmac_zilog.c +0 −1
  1247. drivers/tty/serial/pnx8xxx_uart.c +0 −1
  1248. drivers/tty/serial/pxa.c +0 −1
  1249. drivers/tty/serial/sa1100.c +0 −1
  1250. drivers/tty/serial/samsung.c +0 −1
  1251. drivers/tty/serial/sccnxp.c +0 −1
  1252. drivers/tty/serial/serial_txx9.c +0 −1
  1253. drivers/tty/serial/sh-sci.c +0 −1
  1254. drivers/tty/serial/sirfsoc_uart.c +0 −1
  1255. drivers/tty/serial/st-asc.c +0 −1
  1256. drivers/tty/serial/sunhv.c +0 −1
  1257. drivers/tty/serial/sunsab.c +0 −1
  1258. drivers/tty/serial/sunsu.c +0 −1
  1259. drivers/tty/serial/sunzilog.c +0 −1
  1260. drivers/tty/serial/timbuart.c +0 −1
  1261. drivers/tty/serial/ucc_uart.c +0 −1
  1262. drivers/tty/serial/vr41xx_siu.c +0 −1
  1263. drivers/tty/serial/vt8500_serial.c +0 −1
  1264. drivers/uio/uio_dmem_genirq.c +0 −1
  1265. drivers/uio/uio_pdrv_genirq.c +0 −1
  1266. drivers/uio/uio_pruss.c +0 −1
  1267. drivers/usb/c67x00/c67x00-drv.c +0 −1
  1268. drivers/usb/chipidea/ci_hdrc_imx.c +0 −1
  1269. drivers/usb/chipidea/ci_hdrc_zevio.c +0 −1
  1270. drivers/usb/chipidea/core.c +0 −1
  1271. drivers/usb/chipidea/usbmisc_imx.c +0 −1
  1272. drivers/usb/gadget/legacy/hid.c +0 −1
  1273. drivers/usb/gadget/udc/at91_udc.c +0 −1
  1274. drivers/usb/gadget/udc/atmel_usba_udc.c +0 −1
  1275. drivers/usb/gadget/udc/bcm63xx_udc.c +0 −1
  1276. drivers/usb/gadget/udc/dummy_hcd.c +0 −2
  1277. drivers/usb/gadget/udc/fotg210-udc.c +0 −1
  1278. drivers/usb/gadget/udc/fsl_qe_udc.c +0 −1
  1279. drivers/usb/gadget/udc/fsl_udc_core.c +0 −1
  1280. drivers/usb/gadget/udc/fusb300_udc.c +0 −1
  1281. drivers/usb/gadget/udc/gr_udc.c +0 −1
  1282. drivers/usb/gadget/udc/lpc32xx_udc.c +0 −1
  1283. drivers/usb/gadget/udc/m66592-udc.c +0 −1
  1284. drivers/usb/gadget/udc/mv_u3d_core.c +0 −1
  1285. drivers/usb/gadget/udc/mv_udc_core.c +0 −1
  1286. drivers/usb/gadget/udc/net2272.c +0 −1
  1287. drivers/usb/gadget/udc/omap_udc.c +0 −1
  1288. drivers/usb/gadget/udc/pxa25x_udc.c +0 −1
  1289. drivers/usb/gadget/udc/pxa27x_udc.c +0 −1
  1290. drivers/usb/gadget/udc/s3c-hsudc.c +0 −1
  1291. drivers/usb/gadget/udc/s3c2410_udc.c +0 −1
  1292. drivers/usb/host/ehci-exynos.c +0 −1
  1293. drivers/usb/host/ehci-orion.c +0 −1
  1294. drivers/usb/host/ehci-platform.c +0 −1
  1295. drivers/usb/host/ehci-w90x900.c +0 −1
  1296. drivers/usb/host/fhci-hcd.c +0 −1
  1297. drivers/usb/host/fsl-mph-dr-of.c +0 −1
  1298. drivers/usb/host/isp116x-hcd.c +0 −1
  1299. drivers/usb/host/isp1362-hcd.c +0 −1
  1300. drivers/usb/host/isp1760-if.c +0 −1
  1301. drivers/usb/host/ohci-at91.c +0 −1
  1302. drivers/usb/host/ohci-exynos.c +0 −1
  1303. drivers/usb/host/ohci-nxp.c +0 −1
  1304. drivers/usb/host/ohci-omap.c +0 −1
  1305. drivers/usb/host/ohci-platform.c +0 −1
  1306. drivers/usb/host/ohci-pxa27x.c +0 −1
  1307. drivers/usb/host/ohci-s3c2410.c +0 −1
  1308. drivers/usb/host/ohci-spear.c +0 −1
  1309. drivers/usb/host/r8a66597-hcd.c +0 −1
  1310. drivers/usb/host/u132-hcd.c +0 −1
  1311. drivers/usb/misc/usb3503.c +0 −1
  1312. drivers/usb/musb/musb_core.c +0 −1
  1313. drivers/usb/phy/phy-ab8500-usb.c +0 −1
  1314. drivers/usb/phy/phy-am335x-control.c +0 −1
  1315. drivers/usb/phy/phy-am335x.c +0 −1
  1316. drivers/usb/phy/phy-generic.c +0 −1
  1317. drivers/usb/phy/phy-gpio-vbus-usb.c +0 −1
  1318. drivers/usb/phy/phy-isp1301-omap.c +0 −1
  1319. drivers/usb/phy/phy-keystone.c +0 −1
  1320. drivers/usb/phy/phy-mv-usb.c +0 −1
  1321. drivers/usb/phy/phy-mxs-usb.c +0 −1
  1322. drivers/usb/phy/phy-omap-otg.c +0 −1
  1323. drivers/usb/phy/phy-tahvo.c +0 −1
  1324. drivers/usb/phy/phy-tegra-usb.c +0 −1
  1325. drivers/usb/phy/phy-twl6030-usb.c +0 −1
  1326. drivers/usb/usbip/vhci_hcd.c +0 −1
  1327. drivers/video/fbdev/amifb.c +0 −1
  1328. drivers/video/fbdev/atmel_lcdfb.c +0 −1
  1329. drivers/video/fbdev/au1100fb.c +0 −1
  1330. drivers/video/fbdev/au1200fb.c +0 −1
  1331. drivers/video/fbdev/auo_k1900fb.c +0 −1
  1332. drivers/video/fbdev/auo_k1901fb.c +0 −1
  1333. drivers/video/fbdev/bf537-lq035.c +0 −1
  1334. drivers/video/fbdev/bf54x-lq043fb.c +0 −1
  1335. drivers/video/fbdev/bfin-t350mcqb-fb.c +0 −1
  1336. drivers/video/fbdev/broadsheetfb.c +0 −1
  1337. drivers/video/fbdev/bw2.c +0 −1
  1338. drivers/video/fbdev/cg14.c +0 −1
  1339. drivers/video/fbdev/cg3.c +0 −1
  1340. drivers/video/fbdev/cg6.c +0 −1
  1341. drivers/video/fbdev/clps711x-fb.c +0 −1
  1342. drivers/video/fbdev/clps711xfb.c +0 −1
  1343. drivers/video/fbdev/cobalt_lcdfb.c +0 −1
  1344. drivers/video/fbdev/da8xx-fb.c +0 −1
  1345. drivers/video/fbdev/efifb.c +0 −1
  1346. drivers/video/fbdev/ep93xx-fb.c +0 −1
  1347. drivers/video/fbdev/exynos/exynos_mipi_dsi.c +0 −1
  1348. drivers/video/fbdev/ffb.c +0 −1
  1349. drivers/video/fbdev/fsl-diu-fb.c +0 −1
  1350. drivers/video/fbdev/grvga.c +0 −1
  1351. drivers/video/fbdev/hecubafb.c +0 −1
  1352. drivers/video/fbdev/hitfb.c +0 −1
  1353. drivers/video/fbdev/imxfb.c +0 −1
  1354. drivers/video/fbdev/leo.c +0 −1
  1355. drivers/video/fbdev/mb862xx/mb862xxfbdrv.c +0 −1
  1356. drivers/video/fbdev/metronomefb.c +0 −1
  1357. drivers/video/fbdev/mmp/fb/mmpfb.c +0 −1
  1358. drivers/video/fbdev/mmp/hw/mmp_ctrl.c +0 −1
  1359. drivers/video/fbdev/mx3fb.c +0 −1
  1360. drivers/video/fbdev/nuc900fb.c +0 −1
  1361. drivers/video/fbdev/omap/lcd_ams_delta.c +0 −1
  1362. drivers/video/fbdev/omap/lcd_h3.c +0 −1
  1363. drivers/video/fbdev/omap/lcd_htcherald.c +0 −1
  1364. drivers/video/fbdev/omap/lcd_inn1510.c +0 −1
  1365. drivers/video/fbdev/omap/lcd_inn1610.c +0 −1
  1366. drivers/video/fbdev/omap/lcd_osk.c +0 −1
  1367. drivers/video/fbdev/omap/lcd_palmte.c +0 −1
  1368. drivers/video/fbdev/omap/lcd_palmtt.c +0 −1
  1369. drivers/video/fbdev/omap/lcd_palmz71.c +0 −1
  1370. drivers/video/fbdev/omap/omapfb_main.c +0 −1
  1371. drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c +0 −1
  1372. drivers/video/fbdev/omap2/displays-new/connector-dvi.c +0 −1
  1373. drivers/video/fbdev/omap2/displays-new/connector-hdmi.c +0 −1
  1374. drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c +0 −1
  1375. drivers/video/fbdev/omap2/displays-new/encoder-tpd12s015.c +0 −1
  1376. drivers/video/fbdev/omap2/displays-new/panel-dpi.c +0 −1
  1377. drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c +0 −1
  1378. drivers/video/fbdev/omap2/displays-new/panel-sharp-ls037v7dw01.c +0 −1
  1379. drivers/video/fbdev/omap2/dss/core.c +0 −1
  1380. drivers/video/fbdev/omap2/dss/dispc.c +0 −1
  1381. drivers/video/fbdev/omap2/dss/dpi.c +0 −1
  1382. drivers/video/fbdev/omap2/dss/dsi.c +0 −1
  1383. drivers/video/fbdev/omap2/dss/dss.c +0 −1
  1384. drivers/video/fbdev/omap2/dss/hdmi4.c +0 −1
  1385. drivers/video/fbdev/omap2/dss/hdmi5.c +0 −1
  1386. drivers/video/fbdev/omap2/dss/rfbi.c +0 −1
  1387. drivers/video/fbdev/omap2/dss/sdi.c +0 −1
  1388. drivers/video/fbdev/omap2/dss/venc.c +0 −1
  1389. drivers/video/fbdev/omap2/omapfb/omapfb-main.c +0 −1
  1390. drivers/video/fbdev/p9100.c +0 −1
  1391. drivers/video/fbdev/platinumfb.c +0 −1
  1392. drivers/video/fbdev/pxa168fb.c +0 −1
  1393. drivers/video/fbdev/pxa3xx-gcu.c +0 −1
  1394. drivers/video/fbdev/pxafb.c +0 −1
  1395. drivers/video/fbdev/s3c-fb.c +0 −1
  1396. drivers/video/fbdev/s3c2410fb.c +0 −2
  1397. drivers/video/fbdev/sa1100fb.c +0 −1
  1398. drivers/video/fbdev/sh7760fb.c +0 −1
  1399. drivers/video/fbdev/sh_mobile_lcdcfb.c +0 −1
  1400. drivers/video/fbdev/sh_mobile_meram.c +0 −1
  1401. drivers/video/fbdev/simplefb.c +0 −1
  1402. drivers/video/fbdev/sm501fb.c +0 −1
  1403. drivers/video/fbdev/sunxvr1000.c +0 −1
  1404. drivers/video/fbdev/tcx.c +0 −1
  1405. drivers/video/fbdev/vesafb.c +0 −1
  1406. drivers/video/fbdev/vt8500lcdfb.c +0 −1
  1407. drivers/video/fbdev/wm8505fb.c +0 −1
  1408. drivers/video/fbdev/wmt_ge_rops.c +0 −1
  1409. drivers/video/fbdev/xilinxfb.c +0 −1
  1410. drivers/virtio/virtio_mmio.c +0 −1
  1411. drivers/w1/masters/mxc_w1.c +0 −1
  1412. drivers/w1/masters/w1-gpio.c +0 −1
  1413. drivers/watchdog/acquirewdt.c +0 −1
  1414. drivers/watchdog/advantechwdt.c +0 −1
  1415. drivers/watchdog/ar7_wdt.c +0 −1
  1416. drivers/watchdog/at32ap700x_wdt.c +0 −1
  1417. drivers/watchdog/at91rm9200_wdt.c +0 −1
  1418. drivers/watchdog/at91sam9_wdt.c +0 −1
  1419. drivers/watchdog/ath79_wdt.c +0 −1
  1420. drivers/watchdog/bcm2835_wdt.c +0 −1
  1421. drivers/watchdog/bcm47xx_wdt.c +0 −1
  1422. drivers/watchdog/bcm63xx_wdt.c +0 −1
  1423. drivers/watchdog/bcm_kona_wdt.c +0 −1
  1424. drivers/watchdog/bfin_wdt.c +0 −1
  1425. drivers/watchdog/coh901327_wdt.c +0 −1
  1426. drivers/watchdog/cpwd.c +0 −1
  1427. drivers/watchdog/davinci_wdt.c +0 −1
  1428. drivers/watchdog/dw_wdt.c +0 −1
  1429. drivers/watchdog/ep93xx_wdt.c +0 −1
  1430. drivers/watchdog/gef_wdt.c +0 −1
  1431. drivers/watchdog/geodewdt.c +0 −1
  1432. drivers/watchdog/gpio_wdt.c +0 −1
  1433. drivers/watchdog/iTCO_wdt.c +0 −1
  1434. drivers/watchdog/ib700wdt.c +0 −1
  1435. drivers/watchdog/ie6xx_wdt.c +0 −1
  1436. drivers/watchdog/imx2_wdt.c +0 −1
  1437. drivers/watchdog/intel-mid_wdt.c +0 −1
  1438. drivers/watchdog/jz4740_wdt.c +0 −1
  1439. drivers/watchdog/kempld_wdt.c +0 −1
  1440. drivers/watchdog/ks8695_wdt.c +0 −1
  1441. drivers/watchdog/lantiq_wdt.c +0 −1
  1442. drivers/watchdog/max63xx_wdt.c +0 −1
  1443. drivers/watchdog/menf21bmc_wdt.c +0 −1
  1444. drivers/watchdog/moxart_wdt.c +0 −1
  1445. drivers/watchdog/mpc8xxx_wdt.c +0 −1
  1446. drivers/watchdog/mv64x60_wdt.c +0 −1
  1447. drivers/watchdog/nuc900_wdt.c +0 −1
  1448. drivers/watchdog/nv_tco.c +0 −1
  1449. drivers/watchdog/omap_wdt.c +0 −1
  1450. drivers/watchdog/orion_wdt.c +0 −1
  1451. drivers/watchdog/pnx4008_wdt.c +0 −1
  1452. drivers/watchdog/rdc321x_wdt.c +0 −1
  1453. drivers/watchdog/riowd.c +0 −1
  1454. drivers/watchdog/rt2880_wdt.c +0 −1
  1455. drivers/watchdog/s3c2410_wdt.c +0 −1
  1456. drivers/watchdog/sch311x_wdt.c +0 −1
  1457. drivers/watchdog/shwdt.c +0 −1
  1458. drivers/watchdog/sirfsoc_wdt.c +0 −1
  1459. drivers/watchdog/sp5100_tco.c +0 −1
  1460. drivers/watchdog/sunxi_wdt.c +0 −1
  1461. drivers/watchdog/tegra_wdt.c +0 −1
  1462. drivers/watchdog/ts72xx_wdt.c +0 −1
  1463. drivers/watchdog/twl4030_wdt.c +0 −1
  1464. drivers/watchdog/txx9wdt.c +0 −1
  1465. drivers/watchdog/ux500_wdt.c +0 −1
  1466. drivers/watchdog/xen_wdt.c +0 −1
  1467. drivers/zorro/zorro.c +0 −1
  1468. fs/debugfs/file.c +54 −0
  1469. fs/kernfs/file.c +50 −23
  1470. fs/pstore/ram.c +0 −1
  1471. fs/sysfs/file.c +50 −9
  1472. include/linux/bitmap.h +3 −0
  1473. include/linux/cacheinfo.h +100 −0
  1474. include/linux/cpu.h +4 −0
  1475. include/linux/cpumask.h +17 −0
  1476. include/linux/debugfs.h +16 −1
  1477. include/linux/device.h +35 −0
  1478. include/linux/kernfs.h +8 −0
  1479. include/linux/platform_device.h +8 −4
  1480. include/linux/sysfs.h +9 −0
  1481. lib/bitmap.c +29 −0
  1482. lib/kobject.c +1 −1
  1483. net/dsa/dsa.c +0 −1
  1484. net/rfkill/rfkill-gpio.c +0 −1
  1485. net/rfkill/rfkill-regulator.c +0 −1
  1486. scripts/coccinelle/api/platform_no_drv_owner.cocci +106 −0
  1487. sound/arm/pxa2xx-ac97.c +0 −1
  1488. sound/atmel/abdac.c +0 −1
  1489. sound/atmel/ac97c.c +0 −1
  1490. sound/drivers/aloop.c +0 −1
  1491. sound/drivers/dummy.c +0 −1
  1492. sound/drivers/ml403-ac97cr.c +0 −1
  1493. sound/drivers/mpu401/mpu401.c +0 −1
  1494. sound/drivers/mtpav.c +0 −1
  1495. sound/drivers/mts64.c +0 −1
  1496. sound/drivers/pcsp/pcsp.c +0 −1
  1497. sound/drivers/portman2x4.c +0 −1
  1498. sound/drivers/serial-u16550.c +0 −1
  1499. sound/drivers/virmidi.c +0 −1
  1500. sound/mips/hal2.c +0 −1
  1501. sound/mips/sgio2audio.c +0 −1
  1502. sound/oss/dmasound/dmasound_paula.c +0 −1
  1503. sound/ppc/powermac.c +0 −1
  1504. sound/sh/aica.c +0 −1
  1505. sound/sh/sh_dac_audio.c +0 −1
  1506. sound/soc/adi/axi-i2s.c +0 −1
  1507. sound/soc/adi/axi-spdif.c +0 −1
  1508. sound/soc/atmel/atmel_wm8904.c +0 −1
  1509. sound/soc/atmel/sam9g20_wm8731.c +0 −1
  1510. sound/soc/atmel/sam9x5_wm8731.c +0 −1
  1511. sound/soc/au1x/ac97c.c +0 −1
  1512. sound/soc/au1x/db1000.c +0 −1
  1513. sound/soc/au1x/db1200.c +0 −1
  1514. sound/soc/au1x/dbdma2.c +0 −1
  1515. sound/soc/au1x/dma.c +0 −1
  1516. sound/soc/au1x/i2sc.c +0 −1
  1517. sound/soc/au1x/psc-ac97.c +0 −1
  1518. sound/soc/au1x/psc-i2s.c +0 −1
  1519. sound/soc/bcm/bcm2835-i2s.c +0 −1
  1520. sound/soc/blackfin/bf5xx-ac97-pcm.c +0 −1
  1521. sound/soc/blackfin/bf5xx-ac97.c +0 −1
  1522. sound/soc/blackfin/bf5xx-ad1836.c +0 −1
  1523. sound/soc/blackfin/bf5xx-i2s-pcm.c +0 −1
  1524. sound/soc/blackfin/bf5xx-i2s.c +0 −1
  1525. sound/soc/blackfin/bf6xx-i2s.c +0 −1
  1526. sound/soc/blackfin/bfin-eval-adau1373.c +0 −1
  1527. sound/soc/blackfin/bfin-eval-adau1701.c +0 −1
  1528. sound/soc/blackfin/bfin-eval-adau1x61.c +0 −1
  1529. sound/soc/blackfin/bfin-eval-adau1x81.c +0 −1
  1530. sound/soc/blackfin/bfin-eval-adav80x.c +0 −1
  1531. sound/soc/cirrus/edb93xx.c +0 −1
  1532. sound/soc/cirrus/ep93xx-ac97.c +0 −1
  1533. sound/soc/cirrus/ep93xx-i2s.c +0 −1
  1534. sound/soc/cirrus/simone.c +0 −1
  1535. sound/soc/cirrus/snappercl15.c +0 −1
  1536. sound/soc/codecs/88pm860x-codec.c +0 −1
  1537. sound/soc/codecs/ab8500-codec.c +0 −1
  1538. sound/soc/codecs/ac97.c +0 −1
  1539. sound/soc/codecs/ad1980.c +0 −1
  1540. sound/soc/codecs/ad73311.c +0 −1
  1541. sound/soc/codecs/ads117x.c +0 −1
  1542. sound/soc/codecs/ak4554.c +0 −1
  1543. sound/soc/codecs/ak5386.c +0 −1
  1544. sound/soc/codecs/bt-sco.c +0 −1
  1545. sound/soc/codecs/cq93vc.c +0 −1
  1546. sound/soc/codecs/cx20442.c +0 −1
  1547. sound/soc/codecs/dmic.c +0 −1
  1548. sound/soc/codecs/hdmi.c +0 −1
  1549. sound/soc/codecs/jz4740.c +0 −1
  1550. sound/soc/codecs/mc13783.c +0 −1
  1551. sound/soc/codecs/pcm3008.c +0 −1
  1552. sound/soc/codecs/si476x.c +0 −1
  1553. sound/soc/codecs/sirf-audio-codec.c +0 −1
  1554. sound/soc/codecs/sn95031.c +0 −1
  1555. sound/soc/codecs/spdif_receiver.c +0 −1
  1556. sound/soc/codecs/spdif_transmitter.c +0 −1
  1557. sound/soc/codecs/stac9766.c +0 −1
  1558. sound/soc/codecs/twl4030.c +0 −1
  1559. sound/soc/codecs/twl6040.c +0 −1
  1560. sound/soc/codecs/uda134x.c +0 −1
  1561. sound/soc/codecs/wl1273.c +0 −1
  1562. sound/soc/codecs/wm5102.c +0 −1
  1563. sound/soc/codecs/wm5110.c +0 −1
  1564. sound/soc/codecs/wm8350.c +0 −1
  1565. sound/soc/codecs/wm8400.c +0 −1
  1566. sound/soc/codecs/wm8727.c +0 −1
  1567. sound/soc/codecs/wm8782.c +0 −1
  1568. sound/soc/codecs/wm8994.c +0 −1
  1569. sound/soc/codecs/wm8997.c +0 −1
  1570. sound/soc/codecs/wm9705.c +0 −1
  1571. sound/soc/codecs/wm9712.c +0 −1
  1572. sound/soc/codecs/wm9713.c +0 −1
  1573. sound/soc/davinci/davinci-evm.c +0 −1
  1574. sound/soc/davinci/davinci-i2s.c +0 −1
  1575. sound/soc/davinci/davinci-mcasp.c +0 −1
  1576. sound/soc/davinci/davinci-vcif.c +0 −1
  1577. sound/soc/dwc/designware_i2s.c +0 −1
  1578. sound/soc/fsl/eukrea-tlv320.c +0 −1
  1579. sound/soc/fsl/fsl_dma.c +0 −1
  1580. sound/soc/fsl/fsl_esai.c +0 −1
  1581. sound/soc/fsl/fsl_sai.c +0 −1
  1582. sound/soc/fsl/fsl_spdif.c +0 −1
  1583. sound/soc/fsl/fsl_ssi.c +0 −1
  1584. sound/soc/fsl/imx-audmux.c +0 −1
  1585. sound/soc/fsl/imx-mc13783.c +0 −1
  1586. sound/soc/fsl/imx-sgtl5000.c +0 −1
  1587. sound/soc/fsl/imx-spdif.c +0 −1
  1588. sound/soc/fsl/imx-ssi.c +0 −1
  1589. sound/soc/fsl/imx-wm8962.c +0 −1
  1590. sound/soc/fsl/mpc5200_psc_ac97.c +0 −1
  1591. sound/soc/fsl/mpc5200_psc_i2s.c +0 −1
  1592. sound/soc/fsl/mpc8610_hpcd.c +0 −1
  1593. sound/soc/fsl/mx27vis-aic32x4.c +0 −1
  1594. sound/soc/fsl/p1022_ds.c +0 −1
  1595. sound/soc/fsl/p1022_rdk.c +0 −1
  1596. sound/soc/fsl/pcm030-audio-fabric.c +0 −1
  1597. sound/soc/generic/simple-card.c +0 −1
  1598. sound/soc/intel/broadwell.c +0 −1
  1599. sound/soc/intel/byt-max98090.c +0 −1
  1600. sound/soc/intel/byt-rt5640.c +0 −1
  1601. sound/soc/intel/haswell.c +0 −1
  1602. sound/soc/intel/mfld_machine.c +0 −1
  1603. sound/soc/intel/sst-acpi.c +0 −1
  1604. sound/soc/intel/sst-baytrail-pcm.c +0 −1
  1605. sound/soc/intel/sst-haswell-pcm.c +0 −2
  1606. sound/soc/intel/sst-mfld-platform-pcm.c +0 −1
  1607. sound/soc/jz4740/jz4740-i2s.c +0 −1
  1608. sound/soc/jz4740/qi_lb60.c +0 −1
  1609. sound/soc/kirkwood/armada-370-db.c +0 −1
  1610. sound/soc/kirkwood/kirkwood-i2s.c +0 −1
  1611. sound/soc/mxs/mxs-saif.c +0 −1
  1612. sound/soc/mxs/mxs-sgtl5000.c +0 −1
  1613. sound/soc/nuc900/nuc900-ac97.c +0 −1
  1614. sound/soc/nuc900/nuc900-pcm.c +0 −1
  1615. sound/soc/omap/ams-delta.c +0 −1
  1616. sound/soc/omap/omap-abe-twl6040.c +0 −1
  1617. sound/soc/omap/omap-dmic.c +0 −1
  1618. sound/soc/omap/omap-mcbsp.c +0 −1
  1619. sound/soc/omap/omap-mcpdm.c +0 −1
  1620. sound/soc/omap/omap-twl4030.c +0 −1
  1621. sound/soc/omap/rx51.c +0 −1
  1622. sound/soc/pxa/brownstone.c +0 −1
  1623. sound/soc/pxa/corgi.c +0 −1
  1624. sound/soc/pxa/e740_wm9705.c +0 −1
  1625. sound/soc/pxa/e750_wm9705.c +0 −1
  1626. sound/soc/pxa/e800_wm9712.c +0 −1
  1627. sound/soc/pxa/hx4700.c +0 −1
  1628. sound/soc/pxa/imote2.c +0 −1
  1629. sound/soc/pxa/mioa701_wm9713.c +0 −1
  1630. sound/soc/pxa/mmp-pcm.c +0 −1
  1631. sound/soc/pxa/mmp-sspa.c +0 −1
  1632. sound/soc/pxa/palm27x.c +0 −1
  1633. sound/soc/pxa/poodle.c +0 −1
  1634. sound/soc/pxa/pxa-ssp.c +0 −1
  1635. sound/soc/pxa/pxa2xx-ac97.c +0 −1
  1636. sound/soc/pxa/pxa2xx-i2s.c +0 −1
  1637. sound/soc/pxa/pxa2xx-pcm.c +0 −1
  1638. sound/soc/pxa/tosa.c +0 −1
  1639. sound/soc/pxa/ttc-dkb.c +0 −1
  1640. sound/soc/rockchip/rockchip_i2s.c +0 −1
  1641. sound/soc/samsung/ac97.c +0 −1
  1642. sound/soc/samsung/bells.c +0 −1
  1643. sound/soc/samsung/i2s.c +0 −1
  1644. sound/soc/samsung/idma.c +0 −1
  1645. sound/soc/samsung/littlemill.c +0 −1
  1646. sound/soc/samsung/lowland.c +0 −1
  1647. sound/soc/samsung/odroidx2_max98090.c +0 −1
  1648. sound/soc/samsung/pcm.c +0 −1
  1649. sound/soc/samsung/s3c2412-i2s.c +0 −1
  1650. sound/soc/samsung/s3c24xx-i2s.c +0 −1
  1651. sound/soc/samsung/s3c24xx_simtec_hermes.c +0 −1
  1652. sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c +0 −1
  1653. sound/soc/samsung/s3c24xx_uda134x.c +0 −1
  1654. sound/soc/samsung/smdk_wm8580pcm.c +0 −1
  1655. sound/soc/samsung/smdk_wm8994.c +0 −1
  1656. sound/soc/samsung/smdk_wm8994pcm.c +0 −1
  1657. sound/soc/samsung/snow.c +0 −1
  1658. sound/soc/samsung/spdif.c +0 −1
  1659. sound/soc/samsung/speyside.c +0 −1
  1660. sound/soc/samsung/tobermory.c +0 −1
  1661. sound/soc/sh/dma-sh7760.c +0 −1
  1662. sound/soc/sh/hac.c +0 −1
  1663. sound/soc/sh/siu_dai.c +0 −1
  1664. sound/soc/sh/ssi.c +0 −1
  1665. sound/soc/sirf/sirf-audio-port.c +0 −1
  1666. sound/soc/sirf/sirf-audio.c +0 −1
  1667. sound/soc/sirf/sirf-usp.c +0 −1
  1668. sound/soc/soc-core.c +0 −1
  1669. sound/soc/soc-utils.c +0 −1
  1670. sound/soc/spear/spdif_in.c +0 −1
  1671. sound/soc/spear/spdif_out.c +0 −1
  1672. sound/soc/tegra/tegra20_ac97.c +0 −1
  1673. sound/soc/tegra/tegra20_das.c +0 −1
  1674. sound/soc/tegra/tegra20_i2s.c +0 −1
  1675. sound/soc/tegra/tegra20_spdif.c +0 −1
  1676. sound/soc/tegra/tegra30_ahub.c +0 −1
  1677. sound/soc/tegra/tegra30_i2s.c +0 −1
  1678. sound/soc/tegra/tegra_alc5632.c +0 −1
  1679. sound/soc/tegra/tegra_max98090.c +0 −1
  1680. sound/soc/tegra/tegra_rt5640.c +0 −1
  1681. sound/soc/tegra/tegra_wm8753.c +0 −1
  1682. sound/soc/tegra/tegra_wm8903.c +0 −1
  1683. sound/soc/tegra/tegra_wm9712.c +0 −1
  1684. sound/soc/tegra/trimslice.c +0 −1
  1685. sound/soc/txx9/txx9aclc-ac97.c +0 −1
  1686. sound/soc/txx9/txx9aclc-generic.c +0 −1
  1687. sound/soc/txx9/txx9aclc.c +0 −1
  1688. sound/soc/ux500/mop500.c +0 −1
  1689. sound/soc/ux500/ux500_msp_dai.c +0 −1
  1690. sound/sparc/amd7930.c +0 −1
  1691. sound/sparc/cs4231.c +0 −1
  1692. sound/sparc/dbri.c +0 −1
Documentation/ABI/testing/sysfs-devices-system-cpu+47−0
@@ -224,3 +224,50 @@ Description: Parameters for the Intel P-state driver · 223 unmodified lines
224224 frequency range.
225225
226226 More details can be found in Documentation/cpu-freq/intel-pstate.txt
227+
228+What: /sys/devices/system/cpu/cpu*/cache/index*/<set_of_attributes_mentioned_below>
229+Date: July 2014(documented, existed before August 2008)
230+Contact: Sudeep Holla <sudeep.holla@arm.com>
231+ Linux kernel mailing list <linux-kernel@vger.kernel.org>
232+Description: Parameters for the CPU cache attributes
233+
234+ allocation_policy:
235+ - WriteAllocate: allocate a memory location to a cache line
236+ on a cache miss because of a write
237+ - ReadAllocate: allocate a memory location to a cache line
238+ on a cache miss because of a read
239+ - ReadWriteAllocate: both writeallocate and readallocate
240+
241+ attributes: LEGACY used only on IA64 and is same as write_policy
242+
243+ coherency_line_size: the minimum amount of data in bytes that gets
244+ transferred from memory to cache
245+
246+ level: the cache hierarcy in the multi-level cache configuration
247+
248+ number_of_sets: total number of sets in the cache, a set is a
249+ collection of cache lines with the same cache index
250+
251+ physical_line_partition: number of physical cache line per cache tag
252+
253+ shared_cpu_list: the list of logical cpus sharing the cache
254+
255+ shared_cpu_map: logical cpu mask containing the list of cpus sharing
256+ the cache
257+
258+ size: the total cache size in kB
259+
260+ type:
261+ - Instruction: cache that only holds instructions
262+ - Data: cache that only caches data
263+ - Unified: cache that holds both data and instructions
264+
265+ ways_of_associativity: degree of freedom in placing a particular block
266+ of memory in the cache
267+
268+ write_policy:
269+ - WriteThrough: data is written to both the cache line
270+ and to the block in the lower-level memory
271+ - WriteBack: data is written only to the cache line and
272+ the modified cache line is written to main
273+ memory only when it is replaced
arch/arm/common/sa1111.c+0−1
@@ -1056,7 +1056,6 @@ static struct platform_driver sa1111_device_driver = { · 1055 unmodified lines
10561056 .resume = sa1111_resume,
10571057 .driver = {
10581058 .name = "sa1111",
1059− .owner = THIS_MODULE,
10601059 },
10611060 };
10621061
arch/arm/mach-davinci/cpuidle.c+0−1
@@ -91,7 +91,6 @@ static int __init davinci_cpuidle_probe(struct platform_device *pdev) · 90 unmodified lines
9191 static struct platform_driver davinci_cpuidle_driver = {
9292 .driver = {
9393 .name = "cpuidle-davinci",
94− .owner = THIS_MODULE,
9594 },
9695 };
9796
arch/arm/mach-davinci/pm.c+0−1
@@ -148,7 +148,6 @@ static int __exit davinci_pm_remove(struct platform_device *pdev) · 147 unmodified lines
148148 static struct platform_driver davinci_pm_driver = {
149149 .driver = {
150150 .name = "pm-davinci",
151− .owner = THIS_MODULE,
152151 },
153152 .remove = __exit_p(davinci_pm_remove),
154153 };
arch/arm/mach-imx/mmdc.c+0−1
@@ -76,7 +76,6 @@ static struct of_device_id imx_mmdc_dt_ids[] = { · 75 unmodified lines
7676 static struct platform_driver imx_mmdc_driver = {
7777 .driver = {
7878 .name = "imx-mmdc",
79− .owner = THIS_MODULE,
8079 .of_match_table = imx_mmdc_dt_ids,
8180 },
8281 .probe = imx_mmdc_probe,
arch/arm/mach-msm/clock-pcom.c+0−1
@@ -169,7 +169,6 @@ static struct platform_driver msm_clock_pcom_driver = { · 168 unmodified lines
169169 .probe = msm_clock_pcom_probe,
170170 .driver = {
171171 .name = "msm-clock-pcom",
172− .owner = THIS_MODULE,
173172 },
174173 };
175174 module_platform_driver(msm_clock_pcom_driver);
arch/arm/mach-msm/smd.c+0−1
@@ -1019,7 +1019,6 @@ static struct platform_driver msm_smd_driver = { · 1018 unmodified lines
10191019 .probe = msm_smd_probe,
10201020 .driver = {
10211021 .name = MODULE_NAME,
1022− .owner = THIS_MODULE,
10231022 },
10241023 };
10251024
arch/arm/mach-prima2/pm.c+0−1
@@ -135,7 +135,6 @@ static struct platform_driver sirfsoc_memc_driver = { · 134 unmodified lines
135135 .probe = sirfsoc_memc_probe,
136136 .driver = {
137137 .name = "sirfsoc-memc",
138− .owner = THIS_MODULE,
139138 .of_match_table = memc_ids,
140139 },
141140 };
arch/arm/mach-prima2/rstc.c+0−1
@@ -114,7 +114,6 @@ static struct platform_driver sirfsoc_rstc_driver = { · 113 unmodified lines
114114 .probe = sirfsoc_rstc_probe,
115115 .driver = {
116116 .name = "sirfsoc_rstc",
117− .owner = THIS_MODULE,
118117 .of_match_table = rstc_ids,
119118 },
120119 };
arch/arm/mach-prima2/rtciobrg.c+0−1
@@ -123,7 +123,6 @@ static struct platform_driver sirfsoc_rtciobrg_driver = { · 122 unmodified lines
123123 .probe = sirfsoc_rtciobrg_probe,
124124 .driver = {
125125 .name = "sirfsoc-rtciobrg",
126− .owner = THIS_MODULE,
127126 .of_match_table = rtciobrg_ids,
128127 },
129128 };
arch/arm/mach-pxa/pxa3xx-ulpi.c+0−1
@@ -379,7 +379,6 @@ static int pxa3xx_u2d_remove(struct platform_device *pdev) · 378 unmodified lines
379379 static struct platform_driver pxa3xx_u2d_ulpi_driver = {
380380 .driver = {
381381 .name = "pxa3xx-u2d",
382− .owner = THIS_MODULE,
383382 },
384383 .probe = pxa3xx_u2d_probe,
385384 .remove = pxa3xx_u2d_remove,
arch/arm/mach-pxa/tosa-bt.c+0−1
@@ -129,7 +129,6 @@ static struct platform_driver tosa_bt_driver = { · 128 unmodified lines
129129
130130 .driver = {
131131 .name = "tosa-bt",
132− .owner = THIS_MODULE,
133132 },
134133 };
135134
arch/arm/mach-s3c24xx/mach-osiris-dvs.c+0−1
@@ -171,7 +171,6 @@ static struct platform_driver osiris_dvs_driver = { · 170 unmodified lines
171171 .remove = osiris_dvs_remove,
172172 .driver = {
173173 .name = "osiris-dvs",
174− .owner = THIS_MODULE,
175174 .pm = &osiris_dvs_pm,
176175 },
177176 };
arch/arm/mach-sa1100/neponset.c+0−1
@@ -423,7 +423,6 @@ static struct platform_driver neponset_device_driver = { · 422 unmodified lines
423423 .remove = neponset_remove,
424424 .driver = {
425425 .name = "neponset",
426− .owner = THIS_MODULE,
427426 .pm = PM_OPS,
428427 },
429428 };
arch/arm/mach-u300/regulator.c+0−1
@@ -116,7 +116,6 @@ static const struct of_device_id s365_board_match[] = { · 115 unmodified lines
116116 static struct platform_driver s365_board_driver = {
117117 .driver = {
118118 .name = "s365-board",
119− .owner = THIS_MODULE,
120119 .of_match_table = s365_board_match,
121120 },
122121 };
arch/arm/plat-pxa/ssp.c+0−1
@@ -268,7 +268,6 @@ static struct platform_driver pxa_ssp_driver = { · 267 unmodified lines
268268 .probe = pxa_ssp_probe,
269269 .remove = pxa_ssp_remove,
270270 .driver = {
271− .owner = THIS_MODULE,
272271 .name = "pxa2xx-ssp",
273272 .of_match_table = of_match_ptr(pxa_ssp_of_ids),
274273 },
arch/arm/plat-samsung/adc.c+0−1
@@ -505,7 +505,6 @@ static struct platform_driver s3c_adc_driver = { · 504 unmodified lines
505505 .id_table = s3c_adc_driver_ids,
506506 .driver = {
507507 .name = "s3c-adc",
508− .owner = THIS_MODULE,
509508 .pm = &adc_pm_ops,
510509 },
511510 .probe = s3c_adc_probe,
arch/mips/lantiq/xway/dcdc.c+0−1
@@ -46,7 +46,6 @@ static struct platform_driver dcdc_driver = { · 45 unmodified lines
4646 .probe = dcdc_probe,
4747 .driver = {
4848 .name = "dcdc-xrx200",
49− .owner = THIS_MODULE,
5049 .of_match_table = dcdc_match,
5150 },
5251 };
arch/mips/lantiq/xway/dma.c+0−1
@@ -261,7 +261,6 @@ static struct platform_driver dma_driver = { · 260 unmodified lines
261261 .probe = ltq_dma_init,
262262 .driver = {
263263 .name = "dma-xway",
264− .owner = THIS_MODULE,
265264 .of_match_table = dma_match,
266265 },
267266 };
arch/mips/lantiq/xway/gptu.c+0−1
@@ -193,7 +193,6 @@ static struct platform_driver dma_driver = { · 192 unmodified lines
193193 .probe = gptu_probe,
194194 .driver = {
195195 .name = "gptu-xway",
196− .owner = THIS_MODULE,
197196 .of_match_table = gptu_match,
198197 },
199198 };
arch/mips/lantiq/xway/xrx200_phy_fw.c+0−1
@@ -106,7 +106,6 @@ static struct platform_driver xway_phy_driver = { · 105 unmodified lines
106106 .probe = xway_phy_fw_probe,
107107 .driver = {
108108 .name = "phy-xrx200",
109− .owner = THIS_MODULE,
110109 .of_match_table = xway_phy_match,
111110 },
112111 };
arch/mips/mti-sead3/leds-sead3.c+0−1
@@ -70,7 +70,6 @@ static struct platform_driver sead3_led_driver = { · 69 unmodified lines
7070 .remove = sead3_led_remove,
7171 .driver = {
7272 .name = DRVNAME,
73− .owner = THIS_MODULE,
7473 },
7574 };
7675
arch/mips/mti-sead3/sead3-i2c-drv.c+0−1
@@ -380,7 +380,6 @@ static int sead3_i2c_platform_resume(struct platform_device *pdev) · 379 unmodified lines
380380 static struct platform_driver sead3_i2c_platform_driver = {
381381 .driver = {
382382 .name = "sead3-i2c",
383− .owner = THIS_MODULE,
384383 },
385384 .probe = sead3_i2c_platform_probe,
386385 .remove = sead3_i2c_platform_remove,
arch/mips/pci/pci-alchemy.c+0−1
@@ -505,7 +505,6 @@ static struct platform_driver alchemy_pcictl_driver = { · 504 unmodified lines
505505 .probe = alchemy_pci_probe,
506506 .driver = {
507507 .name = "alchemy-pci",
508− .owner = THIS_MODULE,
509508 },
510509 };
511510
arch/mips/pci/pci-ar71xx.c+0−1
@@ -403,7 +403,6 @@ static struct platform_driver ar71xx_pci_driver = { · 402 unmodified lines
403403 .probe = ar71xx_pci_probe,
404404 .driver = {
405405 .name = "ar71xx-pci",
406− .owner = THIS_MODULE,
407406 },
408407 };
409408
arch/mips/pci/pci-ar724x.c+0−1
@@ -400,7 +400,6 @@ static struct platform_driver ar724x_pci_driver = { · 399 unmodified lines
400400 .probe = ar724x_pci_probe,
401401 .driver = {
402402 .name = "ar724x-pci",
403− .owner = THIS_MODULE,
404403 },
405404 };
406405
arch/mips/pci/pci-lantiq.c+0−1
@@ -242,7 +242,6 @@ static struct platform_driver ltq_pci_driver = { · 241 unmodified lines
242242 .probe = ltq_pci_probe,
243243 .driver = {
244244 .name = "pci-xway",
245− .owner = THIS_MODULE,
246245 .of_match_table = ltq_pci_match,
247246 },
248247 };
arch/mips/pci/pci-rt3883.c+0−1
@@ -589,7 +589,6 @@ static struct platform_driver rt3883_pci_driver = { · 588 unmodified lines
589589 .probe = rt3883_pci_probe,
590590 .driver = {
591591 .name = "rt3883-pci",
592− .owner = THIS_MODULE,
593592 .of_match_table = of_match_ptr(rt3883_pci_ids),
594593 },
595594 };
arch/mips/ralink/timer.c+0−1
@@ -173,7 +173,6 @@ static struct platform_driver rt_timer_driver = { · 172 unmodified lines
173173 .remove = rt_timer_remove,
174174 .driver = {
175175 .name = "rt-timer",
176− .owner = THIS_MODULE,
177176 .of_match_table = rt_timer_match
178177 },
179178 };
arch/mips/txx9/rbtx4939/setup.c+0−1
@@ -245,7 +245,6 @@ static int __init rbtx4939_led_probe(struct platform_device *pdev) · 244 unmodified lines
245245 static struct platform_driver rbtx4939_led_driver = {
246246 .driver = {
247247 .name = "rbtx4939-led",
248− .owner = THIS_MODULE,
249248 },
250249 };
251250
arch/powerpc/kernel/of_platform.c+0−1
@@ -110,7 +110,6 @@ static struct platform_driver of_pci_phb_driver = { · 109 unmodified lines
110110 .probe = of_pci_phb_probe,
111111 .driver = {
112112 .name = "of-pci",
113− .owner = THIS_MODULE,
114113 .of_match_table = of_pci_phb_ids,
115114 },
116115 };
arch/powerpc/platforms/52xx/mpc52xx_gpt.c+0−1
@@ -782,7 +782,6 @@ static const struct of_device_id mpc52xx_gpt_match[] = { · 781 unmodified lines
782782 static struct platform_driver mpc52xx_gpt_driver = {
783783 .driver = {
784784 .name = "mpc52xx-gpt",
785− .owner = THIS_MODULE,
786785 .of_match_table = mpc52xx_gpt_match,
787786 },
788787 .probe = mpc52xx_gpt_probe,
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c+0−1
@@ -572,7 +572,6 @@ static const struct of_device_id mpc52xx_lpbfifo_match[] = { · 571 unmodified lines
572572 static struct platform_driver mpc52xx_lpbfifo_driver = {
573573 .driver = {
574574 .name = "mpc52xx-lpbfifo",
575− .owner = THIS_MODULE,
576575 .of_match_table = mpc52xx_lpbfifo_match,
577576 },
578577 .probe = mpc52xx_lpbfifo_probe,
arch/powerpc/platforms/82xx/ep8248e.c+0−1
@@ -169,7 +169,6 @@ static const struct of_device_id ep8248e_mdio_match[] = { · 168 unmodified lines
169169 static struct platform_driver ep8248e_mdio_driver = {
170170 .driver = {
171171 .name = "ep8248e-mdio-bitbang",
172− .owner = THIS_MODULE,
173172 .of_match_table = ep8248e_mdio_match,
174173 },
175174 .probe = ep8248e_mdio_probe,
arch/powerpc/platforms/83xx/suspend.c+0−1
@@ -435,7 +435,6 @@ static const struct of_device_id pmc_match[] = { · 434 unmodified lines
435435 static struct platform_driver pmc_driver = {
436436 .driver = {
437437 .name = "mpc83xx-pmc",
438− .owner = THIS_MODULE,
439438 .of_match_table = pmc_match,
440439 },
441440 .probe = pmc_probe,
arch/powerpc/platforms/85xx/sgy_cts1000.c+0−1
@@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(of, gpio_halt_match); · 160 unmodified lines
161161 static struct platform_driver gpio_halt_driver = {
162162 .driver = {
163163 .name = "gpio-halt",
164− .owner = THIS_MODULE,
165164 .of_match_table = gpio_halt_match,
166165 },
167166 .probe = gpio_halt_probe,
arch/powerpc/platforms/cell/axon_msi.c+0−1
@@ -437,7 +437,6 @@ static struct platform_driver axon_msi_driver = { · 436 unmodified lines
437437 .shutdown = axon_msi_shutdown,
438438 .driver = {
439439 .name = "axon-msi",
440− .owner = THIS_MODULE,
441440 .of_match_table = axon_msi_device_id,
442441 },
443442 };
arch/powerpc/platforms/pasemi/gpio_mdio.c+0−1
@@ -305,7 +305,6 @@ static struct platform_driver gpio_mdio_driver = · 304 unmodified lines
305305 .remove = gpio_mdio_remove,
306306 .driver = {
307307 .name = "gpio-mdio-bitbang",
308− .owner = THIS_MODULE,
309308 .of_match_table = gpio_mdio_match,
310309 },
311310 };
arch/powerpc/sysdev/axonram.c+0−1
@@ -326,7 +326,6 @@ static struct platform_driver axon_ram_driver = { · 325 unmodified lines
326326 .remove = axon_ram_remove,
327327 .driver = {
328328 .name = AXON_RAM_MODULE_NAME,
329− .owner = THIS_MODULE,
330329 .of_match_table = axon_ram_device_id,
331330 },
332331 };
arch/powerpc/sysdev/fsl_85xx_l2ctlr.c+0−1
@@ -210,7 +210,6 @@ static const struct of_device_id mpc85xx_l2ctlr_of_match[] = { · 209 unmodified lines
210210 static struct platform_driver mpc85xx_l2ctlr_of_platform_driver = {
211211 .driver = {
212212 .name = "fsl-l2ctlr",
213− .owner = THIS_MODULE,
214213 .of_match_table = mpc85xx_l2ctlr_of_match,
215214 },
216215 .probe = mpc85xx_l2ctlr_of_probe,
arch/powerpc/sysdev/fsl_msi.c+0−1
@@ -577,7 +577,6 @@ static const struct of_device_id fsl_of_msi_ids[] = { · 576 unmodified lines
577577 static struct platform_driver fsl_of_msi_driver = {
578578 .driver = {
579579 .name = "fsl-msi",
580− .owner = THIS_MODULE,
581580 .of_match_table = fsl_of_msi_ids,
582581 },
583582 .probe = fsl_of_msi_probe,
arch/powerpc/sysdev/fsl_pmc.c+0−1
@@ -80,7 +80,6 @@ static const struct of_device_id pmc_ids[] = { · 79 unmodified lines
8080 static struct platform_driver pmc_driver = {
8181 .driver = {
8282 .name = "fsl-pmc",
83− .owner = THIS_MODULE,
8483 .of_match_table = pmc_ids,
8584 },
8685 .probe = pmc_probe,
arch/powerpc/sysdev/fsl_rio.c+0−1
@@ -777,7 +777,6 @@ static const struct of_device_id fsl_of_rio_rpn_ids[] = { · 776 unmodified lines
777777 static struct platform_driver fsl_of_rio_rpn_driver = {
778778 .driver = {
779779 .name = "fsl-of-rio",
780− .owner = THIS_MODULE,
781780 .of_match_table = fsl_of_rio_rpn_ids,
782781 },
783782 .probe = fsl_of_rio_rpn_probe,
arch/powerpc/sysdev/mpic_msgr.c+0−1
@@ -270,7 +270,6 @@ static const struct of_device_id mpic_msgr_ids[] = { · 269 unmodified lines
270270 static struct platform_driver mpic_msgr_driver = {
271271 .driver = {
272272 .name = "mpic-msgr",
273− .owner = THIS_MODULE,
274273 .of_match_table = mpic_msgr_ids,
275274 },
276275 .probe = mpic_msgr_probe,
arch/powerpc/sysdev/pmi.c+0−1
@@ -210,7 +210,6 @@ static struct platform_driver pmi_of_platform_driver = { · 209 unmodified lines
210210 .remove = pmi_of_remove,
211211 .driver = {
212212 .name = "pmi",
213− .owner = THIS_MODULE,
214213 .of_match_table = pmi_match,
215214 },
216215 };
arch/powerpc/sysdev/ppc4xx_hsta_msi.c+0−1
@@ -197,7 +197,6 @@ static struct platform_driver hsta_msi_driver = { · 196 unmodified lines
197197 .probe = hsta_msi_probe,
198198 .driver = {
199199 .name = "hsta-msi",
200− .owner = THIS_MODULE,
201200 .of_match_table = hsta_msi_ids,
202201 },
203202 };
arch/powerpc/sysdev/ppc4xx_msi.c+0−1
@@ -269,7 +269,6 @@ static struct platform_driver ppc4xx_msi_driver = { · 268 unmodified lines
269269 .remove = ppc4xx_of_msi_remove,
270270 .driver = {
271271 .name = "ppc4xx-msi",
272− .owner = THIS_MODULE,
273272 .of_match_table = ppc4xx_msi_ids,
274273 },
275274
arch/powerpc/sysdev/qe_lib/qe.c+0−1
@@ -692,7 +692,6 @@ static const struct of_device_id qe_ids[] = { · 691 unmodified lines
692692 static struct platform_driver qe_driver = {
693693 .driver = {
694694 .name = "fsl-qe",
695− .owner = THIS_MODULE,
696695 .of_match_table = qe_ids,
697696 },
698697 .probe = qe_probe,
arch/s390/appldata/appldata_base.c+0−1
@@ -511,7 +511,6 @@ static const struct dev_pm_ops appldata_pm_ops = { · 510 unmodified lines
511511 static struct platform_driver appldata_pdrv = {
512512 .driver = {
513513 .name = "appldata",
514− .owner = THIS_MODULE,
515514 .pm = &appldata_pm_ops,
516515 },
517516 };
arch/sparc/include/asm/parport.h+0−1
@@ -238,7 +238,6 @@ static const struct of_device_id ecpp_match[] = { · 237 unmodified lines
238238 static struct platform_driver ecpp_driver = {
239239 .driver = {
240240 .name = "ecpp",
241− .owner = THIS_MODULE,
242241 .of_match_table = ecpp_match,
243242 },
244243 .probe = ecpp_probe,
arch/sparc/kernel/apc.c+0−1
@@ -178,7 +178,6 @@ MODULE_DEVICE_TABLE(of, apc_match); · 177 unmodified lines
178178 static struct platform_driver apc_driver = {
179179 .driver = {
180180 .name = "apc",
181− .owner = THIS_MODULE,
182181 .of_match_table = apc_match,
183182 },
184183 .probe = apc_probe,
arch/sparc/kernel/auxio_64.c+0−1
@@ -135,7 +135,6 @@ static struct platform_driver auxio_driver = { · 134 unmodified lines
135135 .probe = auxio_probe,
136136 .driver = {
137137 .name = "auxio",
138− .owner = THIS_MODULE,
139138 .of_match_table = auxio_match,
140139 },
141140 };
arch/sparc/kernel/central.c+0−2
@@ -152,7 +152,6 @@ static struct platform_driver clock_board_driver = { · 151 unmodified lines
152152 .probe = clock_board_probe,
153153 .driver = {
154154 .name = "clock_board",
155− .owner = THIS_MODULE,
156155 .of_match_table = clock_board_match,
157156 },
158157 };
@@ -257,7 +256,6 @@ static struct platform_driver fhc_driver = { · 98 unmodified lines
257256 .probe = fhc_probe,
258257 .driver = {
259258 .name = "fhc",
260− .owner = THIS_MODULE,
261259 .of_match_table = fhc_match,
262260 },
263261 };
arch/sparc/kernel/chmc.c+0−1
@@ -810,7 +810,6 @@ MODULE_DEVICE_TABLE(of, us3mc_match); · 809 unmodified lines
810810 static struct platform_driver us3mc_driver = {
811811 .driver = {
812812 .name = "us3mc",
813− .owner = THIS_MODULE,
814813 .of_match_table = us3mc_match,
815814 },
816815 .probe = us3mc_probe,
arch/sparc/kernel/leon_pci_grpci1.c+0−1
@@ -708,7 +708,6 @@ static struct of_device_id grpci1_of_match[] = { · 707 unmodified lines
708708 static struct platform_driver grpci1_of_driver = {
709709 .driver = {
710710 .name = "grpci1",
711− .owner = THIS_MODULE,
712711 .of_match_table = grpci1_of_match,
713712 },
714713 .probe = grpci1_of_probe,
arch/sparc/kernel/leon_pci_grpci2.c+0−1
@@ -900,7 +900,6 @@ static struct of_device_id grpci2_of_match[] = { · 899 unmodified lines
900900 static struct platform_driver grpci2_of_driver = {
901901 .driver = {
902902 .name = "grpci2",
903− .owner = THIS_MODULE,
904903 .of_match_table = grpci2_of_match,
905904 },
906905 .probe = grpci2_of_probe,
arch/sparc/kernel/pci_fire.c+0−1
@@ -508,7 +508,6 @@ static const struct of_device_id fire_match[] = { · 507 unmodified lines
508508 static struct platform_driver fire_driver = {
509509 .driver = {
510510 .name = DRIVER_NAME,
511− .owner = THIS_MODULE,
512511 .of_match_table = fire_match,
513512 },
514513 .probe = fire_probe,
arch/sparc/kernel/pci_psycho.c+0−1
@@ -604,7 +604,6 @@ static const struct of_device_id psycho_match[] = { · 603 unmodified lines
604604 static struct platform_driver psycho_driver = {
605605 .driver = {
606606 .name = DRIVER_NAME,
607− .owner = THIS_MODULE,
608607 .of_match_table = psycho_match,
609608 },
610609 .probe = psycho_probe,
arch/sparc/kernel/pci_sabre.c+0−1
@@ -600,7 +600,6 @@ static const struct of_device_id sabre_match[] = { · 599 unmodified lines
600600 static struct platform_driver sabre_driver = {
601601 .driver = {
602602 .name = DRIVER_NAME,
603− .owner = THIS_MODULE,
604603 .of_match_table = sabre_match,
605604 },
606605 .probe = sabre_probe,
arch/sparc/kernel/pci_schizo.c+0−1
@@ -1495,7 +1495,6 @@ static const struct of_device_id schizo_match[] = { · 1494 unmodified lines
14951495 static struct platform_driver schizo_driver = {
14961496 .driver = {
14971497 .name = DRIVER_NAME,
1498− .owner = THIS_MODULE,
14991498 .of_match_table = schizo_match,
15001499 },
15011500 .probe = schizo_probe,
arch/sparc/kernel/pci_sun4v.c+0−1
@@ -1010,7 +1010,6 @@ static const struct of_device_id pci_sun4v_match[] = { · 1009 unmodified lines
10101010 static struct platform_driver pci_sun4v_driver = {
10111011 .driver = {
10121012 .name = DRIVER_NAME,
1013− .owner = THIS_MODULE,
10141013 .of_match_table = pci_sun4v_match,
10151014 },
10161015 .probe = pci_sun4v_probe,
arch/sparc/kernel/pmc.c+0−1
@@ -82,7 +82,6 @@ MODULE_DEVICE_TABLE(of, pmc_match); · 81 unmodified lines
8282 static struct platform_driver pmc_driver = {
8383 .driver = {
8484 .name = "pmc",
85− .owner = THIS_MODULE,
8685 .of_match_table = pmc_match,
8786 },
8887 .probe = pmc_probe,
arch/sparc/kernel/power.c+0−1
@@ -63,7 +63,6 @@ static struct platform_driver power_driver = { · 62 unmodified lines
6363 .probe = power_probe,
6464 .driver = {
6565 .name = "power",
66− .owner = THIS_MODULE,
6766 .of_match_table = power_match,
6867 },
6968 };
arch/sparc/kernel/time_32.c+0−1
@@ -322,7 +322,6 @@ static struct platform_driver clock_driver = { · 321 unmodified lines
322322 .probe = clock_probe,
323323 .driver = {
324324 .name = "rtc",
325− .owner = THIS_MODULE,
326325 .of_match_table = clock_match,
327326 },
328327 };
arch/sparc/kernel/time_64.c+0−3
@@ -466,7 +466,6 @@ static struct platform_driver rtc_driver = { · 465 unmodified lines
466466 .probe = rtc_probe,
467467 .driver = {
468468 .name = "rtc",
469− .owner = THIS_MODULE,
470469 .of_match_table = rtc_match,
471470 },
472471 };
@@ -499,7 +498,6 @@ static struct platform_driver bq4802_driver = { · 26 unmodified lines
499498 .probe = bq4802_probe,
500499 .driver = {
501500 .name = "bq4802",
502− .owner = THIS_MODULE,
503501 .of_match_table = bq4802_match,
504502 },
505503 };
@@ -563,7 +561,6 @@ static struct platform_driver mostek_driver = { · 57 unmodified lines
563561 .probe = mostek_probe,
564562 .driver = {
565563 .name = "mostek",
566− .owner = THIS_MODULE,
567564 .of_match_table = mostek_match,
568565 },
569566 };
arch/x86/kernel/cpu/perf_event_amd_iommu.c+1−4
@@ -130,10 +130,7 @@ static ssize_t _iommu_cpumask_show(struct device *dev, · 129 unmodified lines
130130 struct device_attribute *attr,
131131 char *buf)
132132 {
133− int n = cpulist_scnprintf(buf, PAGE_SIZE - 2, &iommu_cpumask);
134− buf[n++] = '\n';
135− buf[n] = '\0';
136− return n;
133+ return cpumap_print_to_pagebuf(true, buf, &iommu_cpumask);
137134 }
138135 static DEVICE_ATTR(cpumask, S_IRUGO, _iommu_cpumask_show, NULL);
139136
arch/x86/kernel/cpu/perf_event_amd_uncore.c+1−5
@@ -219,7 +219,6 @@ static ssize_t amd_uncore_attr_show_cpumask(struct device *dev, · 218 unmodified lines
219219 struct device_attribute *attr,
220220 char *buf)
221221 {
222− int n;
223222 cpumask_t *active_mask;
224223 struct pmu *pmu = dev_get_drvdata(dev);
225224
@@ -230,10 +229,7 @@ static ssize_t amd_uncore_attr_show_cpumask(struct device *dev, · 4 unmodified lines
230229 else
231230 return 0;
232231
233− n = cpulist_scnprintf(buf, PAGE_SIZE - 2, active_mask);
234− buf[n++] = '\n';
235− buf[n] = '\0';
236− return n;
232+ return cpumap_print_to_pagebuf(true, buf, active_mask);
237233 }
238234 static DEVICE_ATTR(cpumask, S_IRUGO, amd_uncore_attr_show_cpumask, NULL);
239235
arch/x86/kernel/cpu/perf_event_intel_rapl.c+1−5
@@ -365,11 +365,7 @@ static void rapl_pmu_event_read(struct perf_event *event) · 364 unmodified lines
365365 static ssize_t rapl_get_attr_cpumask(struct device *dev,
366366 struct device_attribute *attr, char *buf)
367367 {
368− int n = cpulist_scnprintf(buf, PAGE_SIZE - 2, &rapl_cpu_mask);
369−
370− buf[n++] = '\n';
371− buf[n] = '\0';
372− return n;
368+ return cpumap_print_to_pagebuf(true, buf, &rapl_cpu_mask);
373369 }
374370
375371 static DEVICE_ATTR(cpumask, S_IRUGO, rapl_get_attr_cpumask, NULL);
arch/x86/kernel/cpu/perf_event_intel_uncore.c+1−5
@@ -647,11 +647,7 @@ static int uncore_pmu_event_init(struct perf_event *event) · 646 unmodified lines
647647 static ssize_t uncore_get_attr_cpumask(struct device *dev,
648648 struct device_attribute *attr, char *buf)
649649 {
650− int n = cpulist_scnprintf(buf, PAGE_SIZE - 2, &uncore_cpu_mask);
651−
652− buf[n++] = '\n';
653− buf[n] = '\0';
654− return n;
650+ return cpumap_print_to_pagebuf(true, buf, &uncore_cpu_mask);
655651 }
656652
657653 static DEVICE_ATTR(cpumask, S_IRUGO, uncore_get_attr_cpumask, NULL);
arch/x86/platform/iris/iris.c+0−1
@@ -86,7 +86,6 @@ static int iris_remove(struct platform_device *pdev) · 85 unmodified lines
8686 static struct platform_driver iris_driver = {
8787 .driver = {
8888 .name = "iris",
89− .owner = THIS_MODULE,
9089 },
9190 .probe = iris_probe,
9291 .remove = iris_remove,
arch/x86/platform/olpc/olpc-xo1-pm.c+0−2
@@ -170,7 +170,6 @@ static int xo1_pm_remove(struct platform_device *pdev) · 169 unmodified lines
170170 static struct platform_driver cs5535_pms_driver = {
171171 .driver = {
172172 .name = "cs5535-pms",
173− .owner = THIS_MODULE,
174173 },
175174 .probe = xo1_pm_probe,
176175 .remove = xo1_pm_remove,
@@ -179,7 +178,6 @@ static struct platform_driver cs5535_pms_driver = { · 2 unmodified lines
179178 static struct platform_driver cs5535_acpi_driver = {
180179 .driver = {
181180 .name = "olpc-xo1-pm-acpi",
182− .owner = THIS_MODULE,
183181 },
184182 .probe = xo1_pm_probe,
185183 .remove = xo1_pm_remove,
drivers/acpi/acpi_pad.c+3−5
@@ -350,12 +350,10 @@ static ssize_t acpi_pad_idlecpus_store(struct device *dev, · 349 unmodified lines
350350 static ssize_t acpi_pad_idlecpus_show(struct device *dev,
351351 struct device_attribute *attr, char *buf)
352352 {
353− int n = 0;
354− n = cpumask_scnprintf(buf, PAGE_SIZE-2, to_cpumask(pad_busy_cpus_bits));
355− buf[n++] = '\n';
356− buf[n] = '\0';
357− return n;
353+ return cpumap_print_to_pagebuf(false, buf,
354+ to_cpumask(pad_busy_cpus_bits));
358355 }
356+
359357 static DEVICE_ATTR(idlecpus, S_IRUGO|S_IWUSR,
360358 acpi_pad_idlecpus_show,
361359 acpi_pad_idlecpus_store);
drivers/acpi/apei/ghes.c+0−1
@@ -1087,7 +1087,6 @@ static int ghes_remove(struct platform_device *ghes_dev) · 1086 unmodified lines
10871087 static struct platform_driver ghes_platform_driver = {
10881088 .driver = {
10891089 .name = "GHES",
1090− .owner = THIS_MODULE,
10911090 },
10921091 .probe = ghes_probe,
10931092 .remove = ghes_remove,
drivers/amba/tegra-ahb.c+0−1
@@ -277,7 +277,6 @@ static struct platform_driver tegra_ahb_driver = { · 276 unmodified lines
277277 .probe = tegra_ahb_probe,
278278 .driver = {
279279 .name = DRV_NAME,
280− .owner = THIS_MODULE,
281280 .of_match_table = tegra_ahb_of_match,
282281 .pm = &tegra_ahb_pm,
283282 },
drivers/ata/ahci_da850.c+0−1
@@ -103,7 +103,6 @@ static struct platform_driver ahci_da850_driver = { · 102 unmodified lines
103103 .remove = ata_platform_remove_one,
104104 .driver = {
105105 .name = "ahci_da850",
106− .owner = THIS_MODULE,
107106 .pm = &ahci_da850_pm_ops,
108107 },
109108 };
drivers/ata/ahci_imx.c+0−1
@@ -679,7 +679,6 @@ static struct platform_driver imx_ahci_driver = { · 678 unmodified lines
679679 .remove = ata_platform_remove_one,
680680 .driver = {
681681 .name = "ahci-imx",
682− .owner = THIS_MODULE,
683682 .of_match_table = imx_ahci_of_match,
684683 .pm = &ahci_imx_pm_ops,
685684 },
drivers/ata/ahci_mvebu.c+0−1
@@ -115,7 +115,6 @@ static struct platform_driver ahci_mvebu_driver = { · 114 unmodified lines
115115 .remove = ata_platform_remove_one,
116116 .driver = {
117117 .name = "ahci-mvebu",
118− .owner = THIS_MODULE,
119118 .of_match_table = ahci_mvebu_of_match,
120119 },
121120 };
drivers/ata/ahci_platform.c+0−1
@@ -76,7 +76,6 @@ static struct platform_driver ahci_driver = { · 75 unmodified lines
7676 .remove = ata_platform_remove_one,
7777 .driver = {
7878 .name = "ahci",
79− .owner = THIS_MODULE,
8079 .of_match_table = ahci_of_match,
8180 .pm = &ahci_pm_ops,
8281 },
drivers/ata/ahci_st.c+0−1
@@ -230,7 +230,6 @@ MODULE_DEVICE_TABLE(of, st_ahci_match); · 229 unmodified lines
230230 static struct platform_driver st_ahci_driver = {
231231 .driver = {
232232 .name = "st_ahci",
233− .owner = THIS_MODULE,
234233 .pm = &st_ahci_pm_ops,
235234 .of_match_table = of_match_ptr(st_ahci_match),
236235 },
drivers/ata/ahci_sunxi.c+0−1
@@ -252,7 +252,6 @@ static struct platform_driver ahci_sunxi_driver = { · 251 unmodified lines
252252 .remove = ata_platform_remove_one,
253253 .driver = {
254254 .name = "ahci-sunxi",
255− .owner = THIS_MODULE,
256255 .of_match_table = ahci_sunxi_of_match,
257256 .pm = &ahci_sunxi_pm_ops,
258257 },
drivers/ata/ahci_xgene.c+0−1
@@ -544,7 +544,6 @@ static struct platform_driver xgene_ahci_driver = { · 543 unmodified lines
544544 .remove = ata_platform_remove_one,
545545 .driver = {
546546 .name = "xgene-ahci",
547− .owner = THIS_MODULE,
548547 .of_match_table = xgene_ahci_of_match,
549548 },
550549 };
drivers/ata/pata_arasan_cf.c+0−1
@@ -961,7 +961,6 @@ static struct platform_driver arasan_cf_driver = { · 960 unmodified lines
961961 .remove = arasan_cf_remove,
962962 .driver = {
963963 .name = DRIVER_NAME,
964− .owner = THIS_MODULE,
965964 .pm = &arasan_cf_pm_ops,
966965 .of_match_table = of_match_ptr(arasan_cf_id_table),
967966 },
drivers/ata/pata_at32.c+0−1
@@ -389,7 +389,6 @@ static struct platform_driver pata_at32_driver = { · 388 unmodified lines
389389 .remove = __exit_p(pata_at32_remove),
390390 .driver = {
391391 .name = "at32_ide",
392− .owner = THIS_MODULE,
393392 },
394393 };
395394
drivers/ata/pata_at91.c+0−1
@@ -444,7 +444,6 @@ static struct platform_driver pata_at91_driver = { · 443 unmodified lines
444444 .remove = pata_at91_remove,
445445 .driver = {
446446 .name = DRV_NAME,
447− .owner = THIS_MODULE,
448447 },
449448 };
450449
drivers/ata/pata_bf54x.c+0−1
@@ -1657,7 +1657,6 @@ static struct platform_driver bfin_atapi_driver = { · 1656 unmodified lines
16571657 .resume = bfin_atapi_resume,
16581658 .driver = {
16591659 .name = DRV_NAME,
1660− .owner = THIS_MODULE,
16611660 },
16621661 };
16631662
drivers/ata/pata_ep93xx.c+0−1
@@ -1021,7 +1021,6 @@ static int ep93xx_pata_remove(struct platform_device *pdev) · 1020 unmodified lines
10211021 static struct platform_driver ep93xx_pata_platform_driver = {
10221022 .driver = {
10231023 .name = DRV_NAME,
1024− .owner = THIS_MODULE,
10251024 },
10261025 .probe = ep93xx_pata_probe,
10271026 .remove = ep93xx_pata_remove,
drivers/ata/pata_imx.c+0−1
@@ -240,7 +240,6 @@ static struct platform_driver pata_imx_driver = { · 239 unmodified lines
240240 .driver = {
241241 .name = DRV_NAME,
242242 .of_match_table = imx_pata_dt_ids,
243− .owner = THIS_MODULE,
244243 .pm = &pata_imx_pm_ops,
245244 },
246245 };
drivers/ata/pata_ixp4xx_cf.c+0−1
@@ -193,7 +193,6 @@ static int ixp4xx_pata_probe(struct platform_device *pdev) · 192 unmodified lines
193193 static struct platform_driver ixp4xx_pata_platform_driver = {
194194 .driver = {
195195 .name = DRV_NAME,
196− .owner = THIS_MODULE,
197196 },
198197 .probe = ixp4xx_pata_probe,
199198 .remove = ata_platform_remove_one,
drivers/ata/pata_mpc52xx.c+0−1
@@ -863,7 +863,6 @@ static struct platform_driver mpc52xx_ata_of_platform_driver = { · 862 unmodified lines
863863 #endif
864864 .driver = {
865865 .name = DRV_NAME,
866− .owner = THIS_MODULE,
867866 .of_match_table = mpc52xx_ata_of_match,
868867 },
869868 };
drivers/ata/pata_octeon_cf.c+0−1
@@ -1059,7 +1059,6 @@ static struct platform_driver octeon_cf_driver = { · 1058 unmodified lines
10591059 .probe = octeon_cf_probe,
10601060 .driver = {
10611061 .name = DRV_NAME,
1062− .owner = THIS_MODULE,
10631062 .of_match_table = octeon_cf_match,
10641063 .shutdown = octeon_cf_shutdown
10651064 },
drivers/ata/pata_of_platform.c+0−1
@@ -75,7 +75,6 @@ MODULE_DEVICE_TABLE(of, pata_of_platform_match); · 74 unmodified lines
7575 static struct platform_driver pata_of_platform_driver = {
7676 .driver = {
7777 .name = "pata_of_platform",
78− .owner = THIS_MODULE,
7978 .of_match_table = pata_of_platform_match,
8079 },
8180 .probe = pata_of_platform_probe,
drivers/ata/pata_palmld.c+0−1
@@ -124,7 +124,6 @@ static int palmld_pata_remove(struct platform_device *dev) · 123 unmodified lines
124124 static struct platform_driver palmld_pata_platform_driver = {
125125 .driver = {
126126 .name = DRV_NAME,
127− .owner = THIS_MODULE,
128127 },
129128 .probe = palmld_pata_probe,
130129 .remove = palmld_pata_remove,
drivers/ata/pata_platform.c+0−1
@@ -224,7 +224,6 @@ static struct platform_driver pata_platform_driver = { · 223 unmodified lines
224224 .remove = ata_platform_remove_one,
225225 .driver = {
226226 .name = DRV_NAME,
227− .owner = THIS_MODULE,
228227 },
229228 };
230229
drivers/ata/pata_pxa.c+0−1
@@ -385,7 +385,6 @@ static struct platform_driver pxa_ata_driver = { · 384 unmodified lines
385385 .remove = pxa_ata_remove,
386386 .driver = {
387387 .name = DRV_NAME,
388− .owner = THIS_MODULE,
389388 },
390389 };
391390
drivers/ata/pata_rb532_cf.c+0−1
@@ -193,7 +193,6 @@ static struct platform_driver rb532_pata_platform_driver = { · 192 unmodified lines
193193 .remove = rb532_pata_driver_remove,
194194 .driver = {
195195 .name = DRV_NAME,
196− .owner = THIS_MODULE,
197196 },
198197 };
199198
drivers/ata/pata_samsung_cf.c+0−1
@@ -656,7 +656,6 @@ static struct platform_driver pata_s3c_driver = { · 655 unmodified lines
656656 .id_table = pata_s3c_driver_ids,
657657 .driver = {
658658 .name = DRV_NAME,
659− .owner = THIS_MODULE,
660659 #ifdef CONFIG_PM_SLEEP
661660 .pm = &pata_s3c_pm_ops,
662661 #endif
drivers/ata/sata_dwc_460ex.c+0−1
@@ -1807,7 +1807,6 @@ MODULE_DEVICE_TABLE(of, sata_dwc_match); · 1806 unmodified lines
18071807 static struct platform_driver sata_dwc_driver = {
18081808 .driver = {
18091809 .name = DRV_NAME,
1810− .owner = THIS_MODULE,
18111810 .of_match_table = sata_dwc_match,
18121811 },
18131812 .probe = sata_dwc_probe,
drivers/ata/sata_fsl.c+0−1
@@ -1624,7 +1624,6 @@ MODULE_DEVICE_TABLE(of, fsl_sata_match); · 1623 unmodified lines
16241624 static struct platform_driver fsl_sata_driver = {
16251625 .driver = {
16261626 .name = "fsl-sata",
1627− .owner = THIS_MODULE,
16281627 .of_match_table = fsl_sata_match,
16291628 },
16301629 .probe = sata_fsl_probe,
drivers/ata/sata_highbank.c+0−1
@@ -634,7 +634,6 @@ static struct platform_driver ahci_highbank_driver = { · 633 unmodified lines
634634 .remove = ata_platform_remove_one,
635635 .driver = {
636636 .name = "highbank-ahci",
637− .owner = THIS_MODULE,
638637 .of_match_table = ahci_of_match,
639638 .pm = &ahci_highbank_pm_ops,
640639 },
drivers/ata/sata_mv.c+0−1
@@ -4280,7 +4280,6 @@ static struct platform_driver mv_platform_driver = { · 4279 unmodified lines
42804280 .resume = mv_platform_resume,
42814281 .driver = {
42824282 .name = DRV_NAME,
4283− .owner = THIS_MODULE,
42844283 .of_match_table = of_match_ptr(mv_sata_dt_ids),
42854284 },
42864285 };
drivers/ata/sata_rcar.c+0−1
@@ -1004,7 +1004,6 @@ static struct platform_driver sata_rcar_driver = { · 1003 unmodified lines
10041004 .id_table = sata_rcar_id_table,
10051005 .driver = {
10061006 .name = DRV_NAME,
1007− .owner = THIS_MODULE,
10081007 .of_match_table = sata_rcar_match,
10091008 #ifdef CONFIG_PM_SLEEP
10101009 .pm = &sata_rcar_pm_ops,
drivers/atm/fore200e.c+0−1
@@ -2687,7 +2687,6 @@ MODULE_DEVICE_TABLE(of, fore200e_sba_match); · 2686 unmodified lines
26872687 static struct platform_driver fore200e_sba_driver = {
26882688 .driver = {
26892689 .name = "fore_200e",
2690− .owner = THIS_MODULE,
26912690 .of_match_table = fore200e_sba_match,
26922691 },
26932692 .probe = fore200e_sba_probe,
drivers/base/Makefile+1−1
@@ -4,7 +4,7 @@ obj-y := component.o core.o bus.o dd.o syscore.o \ · 3 unmodified lines
44 driver.o class.o platform.o \
55 cpu.o firmware.o init.o map.o devres.o \
66 attribute_container.o transport_class.o \
7− topology.o container.o property.o
7+ topology.o container.o property.o cacheinfo.o
88 obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
99 obj-$(CONFIG_DMA_CMA) += dma-contiguous.o
1010 obj-y += power/
drivers/base/bus.c+5−3
@@ -254,13 +254,15 @@ static ssize_t store_drivers_probe(struct bus_type *bus, · 253 unmodified lines
254254 const char *buf, size_t count)
255255 {
256256 struct device *dev;
257+ int err = -EINVAL;
257258
258259 dev = bus_find_device_by_name(bus, NULL, buf);
259260 if (!dev)
260261 return -ENODEV;
261− if (bus_rescan_devices_helper(dev, NULL) != 0)
262− return -EINVAL;
263− return count;
262+ if (bus_rescan_devices_helper(dev, NULL) == 0)
263+ err = count;
264+ put_device(dev);
265+ return err;
264266 }
265267
266268 static struct device *next_device(struct klist_iter *i)
drivers/base/cacheinfo.c+539−0
@@ -0,0 +1,539 @@
1+/*
2+ * cacheinfo support - processor cache information via sysfs
3+ *
4+ * Based on arch/x86/kernel/cpu/intel_cacheinfo.c
5+ * Author: Sudeep Holla <sudeep.holla@arm.com>
6+ *
7+ * This program is free software; you can redistribute it and/or modify
8+ * it under the terms of the GNU General Public License version 2 as
9+ * published by the Free Software Foundation.
10+ *
11+ * This program is distributed "as is" WITHOUT ANY WARRANTY of any
12+ * kind, whether express or implied; without even the implied warranty
13+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+ * GNU General Public License for more details.
15+ *
16+ * You should have received a copy of the GNU General Public License
17+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
18+ */
19+#include <linux/bitops.h>
20+#include <linux/cacheinfo.h>
21+#include <linux/compiler.h>
22+#include <linux/cpu.h>
23+#include <linux/device.h>
24+#include <linux/init.h>
25+#include <linux/of.h>
26+#include <linux/sched.h>
27+#include <linux/slab.h>
28+#include <linux/smp.h>
29+#include <linux/sysfs.h>
30+
31+/* pointer to per cpu cacheinfo */
32+static DEFINE_PER_CPU(struct cpu_cacheinfo, ci_cpu_cacheinfo);
33+#define ci_cacheinfo(cpu) (&per_cpu(ci_cpu_cacheinfo, cpu))
34+#define cache_leaves(cpu) (ci_cacheinfo(cpu)->num_leaves)
35+#define per_cpu_cacheinfo(cpu) (ci_cacheinfo(cpu)->info_list)
36+
37+struct cpu_cacheinfo *get_cpu_cacheinfo(unsigned int cpu)
38+{
39+ return ci_cacheinfo(cpu);
40+}
41+
42+#ifdef CONFIG_OF
43+static int cache_setup_of_node(unsigned int cpu)
44+{
45+ struct device_node *np;
46+ struct cacheinfo *this_leaf;
47+ struct device *cpu_dev = get_cpu_device(cpu);
48+ struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu);
49+ unsigned int index = 0;
50+
51+ /* skip if of_node is already populated */
52+ if (this_cpu_ci->info_list->of_node)
53+ return 0;
54+
55+ if (!cpu_dev) {
56+ pr_err("No cpu device for CPU %d\n", cpu);
57+ return -ENODEV;
58+ }
59+ np = cpu_dev->of_node;
60+ if (!np) {
61+ pr_err("Failed to find cpu%d device node\n", cpu);
62+ return -ENOENT;
63+ }
64+
65+ while (np && index < cache_leaves(cpu)) {
66+ this_leaf = this_cpu_ci->info_list + index;
67+ if (this_leaf->level != 1)
68+ np = of_find_next_cache_node(np);
69+ else
70+ np = of_node_get(np);/* cpu node itself */
71+ this_leaf->of_node = np;
72+ index++;
73+ }
74+ return 0;
75+}
76+
77+static inline bool cache_leaves_are_shared(struct cacheinfo *this_leaf,
78+ struct cacheinfo *sib_leaf)
79+{
80+ return sib_leaf->of_node == this_leaf->of_node;
81+}
82+#else
83+static inline int cache_setup_of_node(unsigned int cpu) { return 0; }
84+static inline bool cache_leaves_are_shared(struct cacheinfo *this_leaf,
85+ struct cacheinfo *sib_leaf)
86+{
87+ /*
88+ * For non-DT systems, assume unique level 1 cache, system-wide
89+ * shared caches for all other levels. This will be used only if
90+ * arch specific code has not populated shared_cpu_map
91+ */
92+ return !(this_leaf->level == 1);
93+}
94+#endif
95+
96+static int cache_shared_cpu_map_setup(unsigned int cpu)
97+{
98+ struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu);
99+ struct cacheinfo *this_leaf, *sib_leaf;
100+ unsigned int index;
101+ int ret;
102+
103+ ret = cache_setup_of_node(cpu);
104+ if (ret)
105+ return ret;
106+
107+ for (index = 0; index < cache_leaves(cpu); index++) {
108+ unsigned int i;
109+
110+ this_leaf = this_cpu_ci->info_list + index;
111+ /* skip if shared_cpu_map is already populated */
112+ if (!cpumask_empty(&this_leaf->shared_cpu_map))
113+ continue;
114+
115+ cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map);
116+ for_each_online_cpu(i) {
117+ struct cpu_cacheinfo *sib_cpu_ci = get_cpu_cacheinfo(i);
118+
119+ if (i == cpu || !sib_cpu_ci->info_list)
120+ continue;/* skip if itself or no cacheinfo */
121+ sib_leaf = sib_cpu_ci->info_list + index;
122+ if (cache_leaves_are_shared(this_leaf, sib_leaf)) {
123+ cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map);
124+ cpumask_set_cpu(i, &this_leaf->shared_cpu_map);
125+ }
126+ }
127+ }
128+
129+ return 0;
130+}
131+
132+static void cache_shared_cpu_map_remove(unsigned int cpu)
133+{
134+ struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu);
135+ struct cacheinfo *this_leaf, *sib_leaf;
136+ unsigned int sibling, index;
137+
138+ for (index = 0; index < cache_leaves(cpu); index++) {
139+ this_leaf = this_cpu_ci->info_list + index;
140+ for_each_cpu(sibling, &this_leaf->shared_cpu_map) {
141+ struct cpu_cacheinfo *sib_cpu_ci;
142+
143+ if (sibling == cpu) /* skip itself */
144+ continue;
145+ sib_cpu_ci = get_cpu_cacheinfo(sibling);
146+ sib_leaf = sib_cpu_ci->info_list + index;
147+ cpumask_clear_cpu(cpu, &sib_leaf->shared_cpu_map);
148+ cpumask_clear_cpu(sibling, &this_leaf->shared_cpu_map);
149+ }
150+ of_node_put(this_leaf->of_node);
151+ }
152+}
153+
154+static void free_cache_attributes(unsigned int cpu)
155+{
156+ cache_shared_cpu_map_remove(cpu);
157+
158+ kfree(per_cpu_cacheinfo(cpu));
159+ per_cpu_cacheinfo(cpu) = NULL;
160+}
161+
162+int __weak init_cache_level(unsigned int cpu)
163+{
164+ return -ENOENT;
165+}
166+
167+int __weak populate_cache_leaves(unsigned int cpu)
168+{
169+ return -ENOENT;
170+}
171+
172+static int detect_cache_attributes(unsigned int cpu)
173+{
174+ int ret;
175+
176+ if (init_cache_level(cpu))
177+ return -ENOENT;
178+
179+ per_cpu_cacheinfo(cpu) = kcalloc(cache_leaves(cpu),
180+ sizeof(struct cacheinfo), GFP_KERNEL);
181+ if (per_cpu_cacheinfo(cpu) == NULL)
182+ return -ENOMEM;
183+
184+ ret = populate_cache_leaves(cpu);
185+ if (ret)
186+ goto free_ci;
187+ /*
188+ * For systems using DT for cache hierarcy, of_node and shared_cpu_map
189+ * will be set up here only if they are not populated already
190+ */
191+ ret = cache_shared_cpu_map_setup(cpu);
192+ if (ret)
193+ goto free_ci;
194+ return 0;
195+
196+free_ci:
197+ free_cache_attributes(cpu);
198+ return ret;
199+}
200+
201+/* pointer to cpuX/cache device */
202+static DEFINE_PER_CPU(struct device *, ci_cache_dev);
203+#define per_cpu_cache_dev(cpu) (per_cpu(ci_cache_dev, cpu))
204+
205+static cpumask_t cache_dev_map;
206+
207+/* pointer to array of devices for cpuX/cache/indexY */
208+static DEFINE_PER_CPU(struct device **, ci_index_dev);
209+#define per_cpu_index_dev(cpu) (per_cpu(ci_index_dev, cpu))
210+#define per_cache_index_dev(cpu, idx) ((per_cpu_index_dev(cpu))[idx])
211+
212+#define show_one(file_name, object) \
213+static ssize_t file_name##_show(struct device *dev, \
214+ struct device_attribute *attr, char *buf) \
215+{ \
216+ struct cacheinfo *this_leaf = dev_get_drvdata(dev); \
217+ return sprintf(buf, "%u\n", this_leaf->object); \
218+}
219+
220+show_one(level, level);
221+show_one(coherency_line_size, coherency_line_size);
222+show_one(number_of_sets, number_of_sets);
223+show_one(physical_line_partition, physical_line_partition);
224+show_one(ways_of_associativity, ways_of_associativity);
225+
226+static ssize_t size_show(struct device *dev,
227+ struct device_attribute *attr, char *buf)
228+{
229+ struct cacheinfo *this_leaf = dev_get_drvdata(dev);
230+
231+ return sprintf(buf, "%uK\n", this_leaf->size >> 10);
232+}
233+
234+static ssize_t shared_cpumap_show_func(struct device *dev, bool list, char *buf)
235+{
236+ struct cacheinfo *this_leaf = dev_get_drvdata(dev);
237+ const struct cpumask *mask = &this_leaf->shared_cpu_map;
238+
239+ return cpumap_print_to_pagebuf(list, buf, mask);
240+}
241+
242+static ssize_t shared_cpu_map_show(struct device *dev,
243+ struct device_attribute *attr, char *buf)
244+{
245+ return shared_cpumap_show_func(dev, false, buf);
246+}
247+
248+static ssize_t shared_cpu_list_show(struct device *dev,
249+ struct device_attribute *attr, char *buf)
250+{
251+ return shared_cpumap_show_func(dev, true, buf);
252+}
253+
254+static ssize_t type_show(struct device *dev,
255+ struct device_attribute *attr, char *buf)
256+{
257+ struct cacheinfo *this_leaf = dev_get_drvdata(dev);
258+
259+ switch (this_leaf->type) {
260+ case CACHE_TYPE_DATA:
261+ return sprintf(buf, "Data\n");
262+ case CACHE_TYPE_INST:
263+ return sprintf(buf, "Instruction\n");
264+ case CACHE_TYPE_UNIFIED:
265+ return sprintf(buf, "Unified\n");
266+ default:
267+ return -EINVAL;
268+ }
269+}
270+
271+static ssize_t allocation_policy_show(struct device *dev,
272+ struct device_attribute *attr, char *buf)
273+{
274+ struct cacheinfo *this_leaf = dev_get_drvdata(dev);
275+ unsigned int ci_attr = this_leaf->attributes;
276+ int n = 0;
277+
278+ if ((ci_attr & CACHE_READ_ALLOCATE) && (ci_attr & CACHE_WRITE_ALLOCATE))
279+ n = sprintf(buf, "ReadWriteAllocate\n");
280+ else if (ci_attr & CACHE_READ_ALLOCATE)
281+ n = sprintf(buf, "ReadAllocate\n");
282+ else if (ci_attr & CACHE_WRITE_ALLOCATE)
283+ n = sprintf(buf, "WriteAllocate\n");
284+ return n;
285+}
286+
287+static ssize_t write_policy_show(struct device *dev,
288+ struct device_attribute *attr, char *buf)
289+{
290+ struct cacheinfo *this_leaf = dev_get_drvdata(dev);
291+ unsigned int ci_attr = this_leaf->attributes;
292+ int n = 0;
293+
294+ if (ci_attr & CACHE_WRITE_THROUGH)
295+ n = sprintf(buf, "WriteThrough\n");
296+ else if (ci_attr & CACHE_WRITE_BACK)
297+ n = sprintf(buf, "WriteBack\n");
298+ return n;
299+}
300+
301+static DEVICE_ATTR_RO(level);
302+static DEVICE_ATTR_RO(type);
303+static DEVICE_ATTR_RO(coherency_line_size);
304+static DEVICE_ATTR_RO(ways_of_associativity);
305+static DEVICE_ATTR_RO(number_of_sets);
306+static DEVICE_ATTR_RO(size);
307+static DEVICE_ATTR_RO(allocation_policy);
308+static DEVICE_ATTR_RO(write_policy);
309+static DEVICE_ATTR_RO(shared_cpu_map);
310+static DEVICE_ATTR_RO(shared_cpu_list);
311+static DEVICE_ATTR_RO(physical_line_partition);
312+
313+static struct attribute *cache_default_attrs[] = {
314+ &dev_attr_type.attr,
315+ &dev_attr_level.attr,
316+ &dev_attr_shared_cpu_map.attr,
317+ &dev_attr_shared_cpu_list.attr,
318+ &dev_attr_coherency_line_size.attr,
319+ &dev_attr_ways_of_associativity.attr,
320+ &dev_attr_number_of_sets.attr,
321+ &dev_attr_size.attr,
322+ &dev_attr_allocation_policy.attr,
323+ &dev_attr_write_policy.attr,
324+ &dev_attr_physical_line_partition.attr,
325+ NULL
326+};
327+
328+static umode_t
329+cache_default_attrs_is_visible(struct kobject *kobj,
330+ struct attribute *attr, int unused)
331+{
332+ struct device *dev = kobj_to_dev(kobj);
333+ struct cacheinfo *this_leaf = dev_get_drvdata(dev);
334+ const struct cpumask *mask = &this_leaf->shared_cpu_map;
335+ umode_t mode = attr->mode;
336+
337+ if ((attr == &dev_attr_type.attr) && this_leaf->type)
338+ return mode;
339+ if ((attr == &dev_attr_level.attr) && this_leaf->level)
340+ return mode;
341+ if ((attr == &dev_attr_shared_cpu_map.attr) && !cpumask_empty(mask))
342+ return mode;
343+ if ((attr == &dev_attr_shared_cpu_list.attr) && !cpumask_empty(mask))
344+ return mode;
345+ if ((attr == &dev_attr_coherency_line_size.attr) &&
346+ this_leaf->coherency_line_size)
347+ return mode;
348+ if ((attr == &dev_attr_ways_of_associativity.attr) &&
349+ this_leaf->size) /* allow 0 = full associativity */
350+ return mode;
351+ if ((attr == &dev_attr_number_of_sets.attr) &&
352+ this_leaf->number_of_sets)
353+ return mode;
354+ if ((attr == &dev_attr_size.attr) && this_leaf->size)
355+ return mode;
356+ if ((attr == &dev_attr_write_policy.attr) &&
357+ (this_leaf->attributes & CACHE_WRITE_POLICY_MASK))
358+ return mode;
359+ if ((attr == &dev_attr_allocation_policy.attr) &&
360+ (this_leaf->attributes & CACHE_ALLOCATE_POLICY_MASK))
361+ return mode;
362+ if ((attr == &dev_attr_physical_line_partition.attr) &&
363+ this_leaf->physical_line_partition)
364+ return mode;
365+
366+ return 0;
367+}
368+
369+static const struct attribute_group cache_default_group = {
370+ .attrs = cache_default_attrs,
371+ .is_visible = cache_default_attrs_is_visible,
372+};
373+
374+static const struct attribute_group *cache_default_groups[] = {
375+ &cache_default_group,
376+ NULL,
377+};
378+
379+static const struct attribute_group *cache_private_groups[] = {
380+ &cache_default_group,
381+ NULL, /* Place holder for private group */
382+ NULL,
383+};
384+
385+const struct attribute_group *
386+__weak cache_get_priv_group(struct cacheinfo *this_leaf)
387+{
388+ return NULL;
389+}
390+
391+static const struct attribute_group **
392+cache_get_attribute_groups(struct cacheinfo *this_leaf)
393+{
394+ const struct attribute_group *priv_group =
395+ cache_get_priv_group(this_leaf);
396+
397+ if (!priv_group)
398+ return cache_default_groups;
399+
400+ if (!cache_private_groups[1])
401+ cache_private_groups[1] = priv_group;
402+
403+ return cache_private_groups;
404+}
405+
406+/* Add/Remove cache interface for CPU device */
407+static void cpu_cache_sysfs_exit(unsigned int cpu)
408+{
409+ int i;
410+ struct device *ci_dev;
411+
412+ if (per_cpu_index_dev(cpu)) {
413+ for (i = 0; i < cache_leaves(cpu); i++) {
414+ ci_dev = per_cache_index_dev(cpu, i);
415+ if (!ci_dev)
416+ continue;
417+ device_unregister(ci_dev);
418+ }
419+ kfree(per_cpu_index_dev(cpu));
420+ per_cpu_index_dev(cpu) = NULL;
421+ }
422+ device_unregister(per_cpu_cache_dev(cpu));
423+ per_cpu_cache_dev(cpu) = NULL;
424+}
425+
426+static int cpu_cache_sysfs_init(unsigned int cpu)
427+{
428+ struct device *dev = get_cpu_device(cpu);
429+
430+ if (per_cpu_cacheinfo(cpu) == NULL)
431+ return -ENOENT;
432+
433+ per_cpu_cache_dev(cpu) = cpu_device_create(dev, NULL, NULL, "cache");
434+ if (IS_ERR(per_cpu_cache_dev(cpu)))
435+ return PTR_ERR(per_cpu_cache_dev(cpu));
436+
437+ /* Allocate all required memory */
438+ per_cpu_index_dev(cpu) = kcalloc(cache_leaves(cpu),
439+ sizeof(struct device *), GFP_KERNEL);
440+ if (unlikely(per_cpu_index_dev(cpu) == NULL))
441+ goto err_out;
442+
443+ return 0;
444+
445+err_out:
446+ cpu_cache_sysfs_exit(cpu);
447+ return -ENOMEM;
448+}
449+
450+static int cache_add_dev(unsigned int cpu)
451+{
452+ unsigned int i;
453+ int rc;
454+ struct device *ci_dev, *parent;
455+ struct cacheinfo *this_leaf;
456+ struct cpu_cacheinfo *this_cpu_ci = get_cpu_cacheinfo(cpu);
457+ const struct attribute_group **cache_groups;
458+
459+ rc = cpu_cache_sysfs_init(cpu);
460+ if (unlikely(rc < 0))
461+ return rc;
462+
463+ parent = per_cpu_cache_dev(cpu);
464+ for (i = 0; i < cache_leaves(cpu); i++) {
465+ this_leaf = this_cpu_ci->info_list + i;
466+ if (this_leaf->disable_sysfs)
467+ continue;
468+ cache_groups = cache_get_attribute_groups(this_leaf);
469+ ci_dev = cpu_device_create(parent, this_leaf, cache_groups,
470+ "index%1u", i);
471+ if (IS_ERR(ci_dev)) {
472+ rc = PTR_ERR(ci_dev);
473+ goto err;
474+ }
475+ per_cache_index_dev(cpu, i) = ci_dev;
476+ }
477+ cpumask_set_cpu(cpu, &cache_dev_map);
478+
479+ return 0;
480+err:
481+ cpu_cache_sysfs_exit(cpu);
482+ return rc;
483+}
484+
485+static void cache_remove_dev(unsigned int cpu)
486+{
487+ if (!cpumask_test_cpu(cpu, &cache_dev_map))
488+ return;
489+ cpumask_clear_cpu(cpu, &cache_dev_map);
490+
491+ cpu_cache_sysfs_exit(cpu);
492+}
493+
494+static int cacheinfo_cpu_callback(struct notifier_block *nfb,
495+ unsigned long action, void *hcpu)
496+{
497+ unsigned int cpu = (unsigned long)hcpu;
498+ int rc = 0;
499+
500+ switch (action & ~CPU_TASKS_FROZEN) {
501+ case CPU_ONLINE:
502+ rc = detect_cache_attributes(cpu);
503+ if (!rc)
504+ rc = cache_add_dev(cpu);
505+ break;
506+ case CPU_DEAD:
507+ cache_remove_dev(cpu);
508+ if (per_cpu_cacheinfo(cpu))
509+ free_cache_attributes(cpu);
510+ break;
511+ }
512+ return notifier_from_errno(rc);
513+}
514+
515+static int __init cacheinfo_sysfs_init(void)
516+{
517+ int cpu, rc = 0;
518+
519+ cpu_notifier_register_begin();
520+
521+ for_each_online_cpu(cpu) {
522+ rc = detect_cache_attributes(cpu);
523+ if (rc)
524+ goto out;
525+ rc = cache_add_dev(cpu);
526+ if (rc) {
527+ free_cache_attributes(cpu);
528+ pr_err("error populating cacheinfo..cpu%d\n", cpu);
529+ goto out;
530+ }
531+ }
532+ __hotcpu_notifier(cacheinfo_cpu_callback, 0);
533+
534+out:
535+ cpu_notifier_register_done();
536+ return rc;
537+}
538+
539+device_initcall(cacheinfo_sysfs_init);
drivers/base/core.c+18−20
@@ -1021,18 +1021,6 @@ int device_add(struct device *dev) · 1020 unmodified lines
10211021 if (error)
10221022 goto attrError;
10231023
1024− if (MAJOR(dev->devt)) {
1025− error = device_create_file(dev, &dev_attr_dev);
1026− if (error)
1027− goto ueventattrError;
1028−
1029− error = device_create_sys_dev_entry(dev);
1030− if (error)
1031− goto devtattrError;
1032−
1033− devtmpfs_create_node(dev);
1034− }
1035−
10361024 error = device_add_class_symlinks(dev);
10371025 if (error)
10381026 goto SymlinkError;
@@ -1047,6 +1035,18 @@ int device_add(struct device *dev) · 8 unmodified lines
10471035 goto DPMError;
10481036 device_pm_add(dev);
10491037
1038+ if (MAJOR(dev->devt)) {
1039+ error = device_create_file(dev, &dev_attr_dev);
1040+ if (error)
1041+ goto DevAttrError;
1042+
1043+ error = device_create_sys_dev_entry(dev);
1044+ if (error)
1045+ goto SysEntryError;
1046+
1047+ devtmpfs_create_node(dev);
1048+ }
1049+
10501050 /* Notify clients of device addition. This call must come
10511051 * after dpm_sysfs_add() and before kobject_uevent().
10521052 */
@@ -1076,6 +1076,12 @@ int device_add(struct device *dev) · 23 unmodified lines
10761076 done:
10771077 put_device(dev);
10781078 return error;
1079+ SysEntryError:
1080+ if (MAJOR(dev->devt))
1081+ device_remove_file(dev, &dev_attr_dev);
1082+ DevAttrError:
1083+ device_pm_remove(dev);
1084+ dpm_sysfs_remove(dev);
10791085 DPMError:
10801086 bus_remove_device(dev);
10811087 BusError:
@@ -1083,14 +1089,6 @@ done: · 1 unmodified line
10831089 AttrsError:
10841090 device_remove_class_symlinks(dev);
10851091 SymlinkError:
1086− if (MAJOR(dev->devt))
1087− devtmpfs_delete_node(dev);
1088− if (MAJOR(dev->devt))
1089− device_remove_sys_dev_entry(dev);
1090− devtattrError:
1091− if (MAJOR(dev->devt))
1092− device_remove_file(dev, &dev_attr_dev);
1093− ueventattrError:
10941092 device_remove_file(dev, &dev_attr_uevent);
10951093 attrError:
10961094 kobject_uevent(&dev->kobj, KOBJ_REMOVE);
drivers/base/cpu.c+55−4
@@ -207,11 +207,8 @@ static ssize_t show_cpus_attr(struct device *dev, · 206 unmodified lines
207207 char *buf)
208208 {
209209 struct cpu_attr *ca = container_of(attr, struct cpu_attr, attr);
210− int n = cpulist_scnprintf(buf, PAGE_SIZE-2, *(ca->map));
211210
212− buf[n++] = '\n';
213− buf[n] = '\0';
214− return n;
211+ return cpumap_print_to_pagebuf(true, buf, *ca->map);
215212 }
216213
217214 #define _CPU_ATTR(name, map) \
@@ -366,6 +363,60 @@ struct device *get_cpu_device(unsigned cpu) · 148 unmodified lines
366363 }
367364 EXPORT_SYMBOL_GPL(get_cpu_device);
368365
366+static void device_create_release(struct device *dev)
367+{
368+ kfree(dev);
369+}
370+
371+static struct device *
372+__cpu_device_create(struct device *parent, void *drvdata,
373+ const struct attribute_group **groups,
374+ const char *fmt, va_list args)
375+{
376+ struct device *dev = NULL;
377+ int retval = -ENODEV;
378+
379+ dev = kzalloc(sizeof(*dev), GFP_KERNEL);
380+ if (!dev) {
381+ retval = -ENOMEM;
382+ goto error;
383+ }
384+
385+ device_initialize(dev);
386+ dev->parent = parent;
387+ dev->groups = groups;
388+ dev->release = device_create_release;
389+ dev_set_drvdata(dev, drvdata);
390+
391+ retval = kobject_set_name_vargs(&dev->kobj, fmt, args);
392+ if (retval)
393+ goto error;
394+
395+ retval = device_add(dev);
396+ if (retval)
397+ goto error;
398+
399+ return dev;
400+
401+error:
402+ put_device(dev);
403+ return ERR_PTR(retval);
404+}
405+
406+struct device *cpu_device_create(struct device *parent, void *drvdata,
407+ const struct attribute_group **groups,
408+ const char *fmt, ...)
409+{
410+ va_list vargs;
411+ struct device *dev;
412+
413+ va_start(vargs, fmt);
414+ dev = __cpu_device_create(parent, drvdata, groups, fmt, vargs);
415+ va_end(vargs);
416+ return dev;
417+}
418+EXPORT_SYMBOL_GPL(cpu_device_create);
419+
369420 #ifdef CONFIG_GENERIC_CPU_AUTOPROBE
370421 static DEVICE_ATTR(modalias, 0444, print_cpu_modalias, NULL);
371422 #endif
drivers/base/devcoredump.c+48−8
@@ -31,6 +31,11 @@ · 30 unmodified lines
3131 #include <linux/fs.h>
3232 #include <linux/workqueue.h>
3333
34+static struct class devcd_class;
35+
36+/* global disable flag, for security purposes */
37+static bool devcd_disabled;
38+
3439 /* if data isn't read by userspace after 5 minutes then delete it */
3540 #define DEVCD_TIMEOUT (HZ * 60 * 5)
3641
@@ -121,11 +126,51 @@ static const struct attribute_group *devcd_dev_groups[] = { · 84 unmodified lines
121126 &devcd_dev_group, NULL,
122127 };
123128
129+static int devcd_free(struct device *dev, void *data)
130+{
131+ struct devcd_entry *devcd = dev_to_devcd(dev);
132+
133+ flush_delayed_work(&devcd->del_wk);
134+ return 0;
135+}
136+
137+static ssize_t disabled_show(struct class *class, struct class_attribute *attr,
138+ char *buf)
139+{
140+ return sprintf(buf, "%d\n", devcd_disabled);
141+}
142+
143+static ssize_t disabled_store(struct class *class, struct class_attribute *attr,
144+ const char *buf, size_t count)
145+{
146+ long tmp = simple_strtol(buf, NULL, 10);
147+
148+ /*
149+ * This essentially makes the attribute write-once, since you can't
150+ * go back to not having it disabled. This is intentional, it serves
151+ * as a system lockdown feature.
152+ */
153+ if (tmp != 1)
154+ return -EINVAL;
155+
156+ devcd_disabled = true;
157+
158+ class_for_each_device(&devcd_class, NULL, NULL, devcd_free);
159+
160+ return count;
161+}
162+
163+static struct class_attribute devcd_class_attrs[] = {
164+ __ATTR_RW(disabled),
165+ __ATTR_NULL
166+};
167+
124168 static struct class devcd_class = {
125169 .name = "devcoredump",
126170 .owner = THIS_MODULE,
127171 .dev_release = devcd_dev_release,
128172 .dev_groups = devcd_dev_groups,
173+ .class_attrs = devcd_class_attrs,
129174 };
130175
131176 static ssize_t devcd_readv(char *buffer, loff_t offset, size_t count,
@@ -192,6 +237,9 @@ void dev_coredumpm(struct device *dev, struct module *owner, · 60 unmodified lines
192237 struct devcd_entry *devcd;
193238 struct device *existing;
194239
240+ if (devcd_disabled)
241+ goto free;
242+
195243 existing = class_find_device(&devcd_class, NULL, dev,
196244 devcd_match_failing);
197245 if (existing) {
@@ -249,14 +297,6 @@ static int __init devcoredump_init(void) · 51 unmodified lines
249297 }
250298 __initcall(devcoredump_init);
251299
252−static int devcd_free(struct device *dev, void *data)
253−{
254− struct devcd_entry *devcd = dev_to_devcd(dev);
255−
256− flush_delayed_work(&devcd->del_wk);
257− return 0;
258−}
259−
260300 static void __exit devcoredump_exit(void)
261301 {
262302 class_for_each_device(&devcd_class, NULL, NULL, devcd_free);
drivers/base/firmware_class.c+3−4
@@ -591,8 +591,7 @@ static int fw_map_pages_buf(struct firmware_buf *buf) · 590 unmodified lines
591591 if (!buf->is_paged_buf)
592592 return 0;
593593
594− if (buf->data)
595− vunmap(buf->data);
594+ vunmap(buf->data);
596595 buf->data = vmap(buf->pages, buf->nr_pages, 0, PAGE_KERNEL_RO);
597596 if (!buf->data)
598597 return -ENOMEM;
@@ -925,7 +924,7 @@ static int _request_firmware_load(struct firmware_priv *fw_priv, · 326 unmodified lines
925924 kobject_uevent(&fw_priv->dev.kobj, KOBJ_ADD);
926925 }
927926
928− wait_for_completion(&buf->completion);
927+ retval = wait_for_completion_interruptible(&buf->completion);
929928
930929 cancel_delayed_work_sync(&fw_priv->timeout_work);
931930 if (is_fw_load_aborted(buf))
@@ -1004,7 +1003,7 @@ static int sync_cached_firmware_buf(struct firmware_buf *buf) · 72 unmodified lines
10041003 break;
10051004 }
10061005 mutex_unlock(&fw_lock);
1007− wait_for_completion(&buf->completion);
1006+ ret = wait_for_completion_interruptible(&buf->completion);
10081007 mutex_lock(&fw_lock);
10091008 }
10101009 mutex_unlock(&fw_lock);
drivers/base/node.c+4−10
@@ -25,32 +25,26 @@ static struct bus_type node_subsys = { · 24 unmodified lines
2525 };
2626
2727
28−static ssize_t node_read_cpumap(struct device *dev, int type, char *buf)
28+static ssize_t node_read_cpumap(struct device *dev, bool list, char *buf)
2929 {
3030 struct node *node_dev = to_node(dev);
3131 const struct cpumask *mask = cpumask_of_node(node_dev->dev.id);
32− int len;
3332
3433 /* 2008/04/07: buf currently PAGE_SIZE, need 9 chars per 32 bits. */
3534 BUILD_BUG_ON((NR_CPUS/32 * 9) > (PAGE_SIZE-1));
3635
37− len = type?
38− cpulist_scnprintf(buf, PAGE_SIZE-2, mask) :
39− cpumask_scnprintf(buf, PAGE_SIZE-2, mask);
40− buf[len++] = '\n';
41− buf[len] = '\0';
42− return len;
36+ return cpumap_print_to_pagebuf(list, buf, mask);
4337 }
4438
4539 static inline ssize_t node_read_cpumask(struct device *dev,
4640 struct device_attribute *attr, char *buf)
4741 {
48− return node_read_cpumap(dev, 0, buf);
42+ return node_read_cpumap(dev, false, buf);
4943 }
5044 static inline ssize_t node_read_cpulist(struct device *dev,
5145 struct device_attribute *attr, char *buf)
5246 {
53− return node_read_cpumap(dev, 1, buf);
47+ return node_read_cpumap(dev, true, buf);
5448 }
5549
5650 static DEVICE_ATTR(cpumap, S_IRUGO, node_read_cpumask, NULL);
drivers/base/platform.c+12−10
@@ -580,9 +580,10 @@ void platform_driver_unregister(struct platform_driver *drv) · 579 unmodified lines
580580 EXPORT_SYMBOL_GPL(platform_driver_unregister);
581581
582582 /**
583− * platform_driver_probe - register driver for non-hotpluggable device
583+ * __platform_driver_probe - register driver for non-hotpluggable device
584584 * @drv: platform driver structure
585585 * @probe: the driver probe routine, probably from an __init section
586+ * @module: module which will be the owner of the driver
586587 *
587588 * Use this instead of platform_driver_register() when you know the device
588589 * is not hotpluggable and has already been registered, and you want to
@@ -598,8 +599,8 @@ EXPORT_SYMBOL_GPL(platform_driver_unregister); · 9 unmodified lines
598599 * Returns zero if the driver registered and bound to a device, else returns
599600 * a negative error code and with the driver not registered.
600601 */
601−int __init_or_module platform_driver_probe(struct platform_driver *drv,
602− int (*probe)(struct platform_device *))
602+int __init_or_module __platform_driver_probe(struct platform_driver *drv,
603+ int (*probe)(struct platform_device *), struct module *module)
603604 {
604605 int retval, code;
605606
@@ -614,7 +615,7 @@ int __init_or_module platform_driver_probe(struct platform_driver *drv, · 8 unmodified lines
614615
615616 /* temporary section violation during probe() */
616617 drv->probe = probe;
617− retval = code = platform_driver_register(drv);
618+ retval = code = __platform_driver_register(drv, module);
618619
619620 /*
620621 * Fixup that section violation, being paranoid about code scanning
@@ -633,27 +634,28 @@ int __init_or_module platform_driver_probe(struct platform_driver *drv, · 12 unmodified lines
633634 platform_driver_unregister(drv);
634635 return retval;
635636 }
636−EXPORT_SYMBOL_GPL(platform_driver_probe);
637+EXPORT_SYMBOL_GPL(__platform_driver_probe);
637638
638639 /**
639− * platform_create_bundle - register driver and create corresponding device
640+ * __platform_create_bundle - register driver and create corresponding device
640641 * @driver: platform driver structure
641642 * @probe: the driver probe routine, probably from an __init section
642643 * @res: set of resources that needs to be allocated for the device
643644 * @n_res: number of resources
644645 * @data: platform specific data for this platform device
645646 * @size: size of platform specific data
647+ * @module: module which will be the owner of the driver
646648 *
647649 * Use this in legacy-style modules that probe hardware directly and
648650 * register a single platform device and corresponding platform driver.
649651 *
650652 * Returns &struct platform_device pointer on success, or ERR_PTR() on error.
651653 */
652−struct platform_device * __init_or_module platform_create_bundle(
654+struct platform_device * __init_or_module __platform_create_bundle(
653655 struct platform_driver *driver,
654656 int (*probe)(struct platform_device *),
655657 struct resource *res, unsigned int n_res,
656− const void *data, size_t size)
658+ const void *data, size_t size, struct module *module)
657659 {
658660 struct platform_device *pdev;
659661 int error;
@@ -676,7 +678,7 @@ struct platform_device * __init_or_module platform_create_bundle( · 16 unmodified lines
676678 if (error)
677679 goto err_pdev_put;
678680
679− error = platform_driver_probe(driver, probe);
681+ error = __platform_driver_probe(driver, probe, module);
680682 if (error)
681683 goto err_pdev_del;
682684
@@ -689,7 +691,7 @@ err_pdev_put: · 6 unmodified lines
689691 err_out:
690692 return ERR_PTR(error);
691693 }
692−EXPORT_SYMBOL_GPL(platform_create_bundle);
694+EXPORT_SYMBOL_GPL(__platform_create_bundle);
693695
694696 /* modalias support enables more hands-off userspace setup:
695697 * (a) environment variable lets new-style hotplug events work once system is
drivers/base/topology.c+24−47
@@ -29,75 +29,52 @@ · 28 unmodified lines
2929 #include <linux/hardirq.h>
3030 #include <linux/topology.h>
3131
32−#define define_one_ro_named(_name, _func) \
33− static DEVICE_ATTR(_name, 0444, _func, NULL)
34−
35−#define define_one_ro(_name) \
36− static DEVICE_ATTR(_name, 0444, show_##_name, NULL)
37−
3832 #define define_id_show_func(name) \
39−static ssize_t show_##name(struct device *dev, \
33+static ssize_t name##_show(struct device *dev, \
4034 struct device_attribute *attr, char *buf) \
4135 { \
4236 return sprintf(buf, "%d\n", topology_##name(dev->id)); \
4337 }
4438
45−#if defined(topology_thread_cpumask) || defined(topology_core_cpumask) || \
46− defined(topology_book_cpumask)
47−static ssize_t show_cpumap(int type, const struct cpumask *mask, char *buf)
48−{
49− ptrdiff_t len = PTR_ALIGN(buf + PAGE_SIZE - 1, PAGE_SIZE) - buf;
50− int n = 0;
51−
52− if (len > 1) {
53− n = type?
54− cpulist_scnprintf(buf, len-2, mask) :
55− cpumask_scnprintf(buf, len-2, mask);
56− buf[n++] = '\n';
57− buf[n] = '\0';
58− }
59− return n;
60−}
61−#endif
62−
63−#define define_siblings_show_map(name) \
64−static ssize_t show_##name(struct device *dev, \
39+#define define_siblings_show_map(name, mask) \
40+static ssize_t name##_show(struct device *dev, \
6541 struct device_attribute *attr, char *buf) \
6642 { \
67− return show_cpumap(0, topology_##name(dev->id), buf); \
43+ return cpumap_print_to_pagebuf(false, buf, topology_##mask(dev->id));\
6844 }
6945
70−#define define_siblings_show_list(name) \
71−static ssize_t show_##name##_list(struct device *dev, \
72− struct device_attribute *attr, \
73− char *buf) \
46+#define define_siblings_show_list(name, mask) \
47+static ssize_t name##_list_show(struct device *dev, \
48+ struct device_attribute *attr, \
49+ char *buf) \
7450 { \
75− return show_cpumap(1, topology_##name(dev->id), buf); \
51+ return cpumap_print_to_pagebuf(true, buf, topology_##mask(dev->id));\
7652 }
7753
78−#define define_siblings_show_func(name) \
79− define_siblings_show_map(name); define_siblings_show_list(name)
54+#define define_siblings_show_func(name, mask) \
55+ define_siblings_show_map(name, mask); \
56+ define_siblings_show_list(name, mask)
8057
8158 define_id_show_func(physical_package_id);
82−define_one_ro(physical_package_id);
59+static DEVICE_ATTR_RO(physical_package_id);
8360
8461 define_id_show_func(core_id);
85−define_one_ro(core_id);
62+static DEVICE_ATTR_RO(core_id);
8663
87−define_siblings_show_func(thread_cpumask);
88−define_one_ro_named(thread_siblings, show_thread_cpumask);
89−define_one_ro_named(thread_siblings_list, show_thread_cpumask_list);
64+define_siblings_show_func(thread_siblings, thread_cpumask);
65+static DEVICE_ATTR_RO(thread_siblings);
66+static DEVICE_ATTR_RO(thread_siblings_list);
9067
91−define_siblings_show_func(core_cpumask);
92−define_one_ro_named(core_siblings, show_core_cpumask);
93−define_one_ro_named(core_siblings_list, show_core_cpumask_list);
68+define_siblings_show_func(core_siblings, core_cpumask);
69+static DEVICE_ATTR_RO(core_siblings);
70+static DEVICE_ATTR_RO(core_siblings_list);
9471
9572 #ifdef CONFIG_SCHED_BOOK
9673 define_id_show_func(book_id);
97−define_one_ro(book_id);
98−define_siblings_show_func(book_cpumask);
99−define_one_ro_named(book_siblings, show_book_cpumask);
100−define_one_ro_named(book_siblings_list, show_book_cpumask_list);
74+static DEVICE_ATTR_RO(book_id);
75+define_siblings_show_func(book_siblings, book_cpumask);
76+static DEVICE_ATTR_RO(book_siblings);
77+static DEVICE_ATTR_RO(book_siblings_list);
10178 #endif
10279
10380 static struct attribute *default_attrs[] = {
drivers/block/amiflop.c+0−1
@@ -1864,7 +1864,6 @@ static int __exit amiga_floppy_remove(struct platform_device *pdev) · 1863 unmodified lines
18641864 static struct platform_driver amiga_floppy_driver = {
18651865 .driver = {
18661866 .name = "amiga-floppy",
1867− .owner = THIS_MODULE,
18681867 },
18691868 };
18701869
drivers/block/mg_disk.c+0−1
@@ -1082,7 +1082,6 @@ static struct platform_driver mg_disk_driver = { · 1081 unmodified lines
10821082 .remove = mg_remove,
10831083 .driver = {
10841084 .name = MG_DEV_NAME,
1085− .owner = THIS_MODULE,
10861085 .pm = &mg_pm,
10871086 }
10881087 };
drivers/block/swim.c+0−1
@@ -971,7 +971,6 @@ static struct platform_driver swim_driver = { · 970 unmodified lines
971971 .remove = swim_remove,
972972 .driver = {
973973 .name = CARDNAME,
974− .owner = THIS_MODULE,
975974 },
976975 };
977976
drivers/bluetooth/btwilink.c+0−1
@@ -349,7 +349,6 @@ static struct platform_driver btwilink_driver = { · 348 unmodified lines
349349 .remove = bt_ti_remove,
350350 .driver = {
351351 .name = "btwilink",
352− .owner = THIS_MODULE,
353352 },
354353 };
355354
drivers/bus/brcmstb_gisb.c+0−1
@@ -389,7 +389,6 @@ static const struct dev_pm_ops brcmstb_gisb_arb_pm_ops = { · 388 unmodified lines
389389 static struct platform_driver brcmstb_gisb_arb_driver = {
390390 .driver = {
391391 .name = "brcm-gisb-arb",
392− .owner = THIS_MODULE,
393392 .of_match_table = brcmstb_gisb_arb_of_match,
394393 .pm = &brcmstb_gisb_arb_pm_ops,
395394 },
drivers/bus/imx-weim.c+0−1
@@ -206,7 +206,6 @@ static int __init weim_probe(struct platform_device *pdev) · 205 unmodified lines
206206 static struct platform_driver weim_driver = {
207207 .driver = {
208208 .name = "imx-weim",
209− .owner = THIS_MODULE,
210209 .of_match_table = weim_id_table,
211210 },
212211 };
drivers/bus/omap-ocp2scp.c+0−1
@@ -77,7 +77,6 @@ static struct platform_driver omap_ocp2scp_driver = { · 76 unmodified lines
7777 .remove = omap_ocp2scp_remove,
7878 .driver = {
7979 .name = "omap-ocp2scp",
80− .owner = THIS_MODULE,
8180 .of_match_table = of_match_ptr(omap_ocp2scp_id_table),
8281 },
8382 };
drivers/bus/omap_l3_noc.c+0−1
@@ -358,7 +358,6 @@ static struct platform_driver omap_l3_driver = { · 357 unmodified lines
358358 .probe = omap_l3_probe,
359359 .driver = {
360360 .name = "omap_l3_noc",
361− .owner = THIS_MODULE,
362361 .pm = L3_DEV_PM_OPS,
363362 .of_match_table = of_match_ptr(l3_noc_match),
364363 },
drivers/char/hw_random/atmel-rng.c+0−1
@@ -134,7 +134,6 @@ static struct platform_driver atmel_trng_driver = { · 133 unmodified lines
134134 .remove = atmel_trng_remove,
135135 .driver = {
136136 .name = "atmel-trng",
137− .owner = THIS_MODULE,
138137 #ifdef CONFIG_PM
139138 .pm = &atmel_trng_pm_ops,
140139 #endif /* CONFIG_PM */
drivers/char/hw_random/bcm2835-rng.c+0−1
@@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_rng_of_match); · 98 unmodified lines
9999 static struct platform_driver bcm2835_rng_driver = {
100100 .driver = {
101101 .name = "bcm2835-rng",
102− .owner = THIS_MODULE,
103102 .of_match_table = bcm2835_rng_of_match,
104103 },
105104 .probe = bcm2835_rng_probe,
drivers/char/hw_random/bcm63xx-rng.c+0−1
@@ -162,7 +162,6 @@ static struct platform_driver bcm63xx_rng_driver = { · 161 unmodified lines
162162 .remove = bcm63xx_rng_remove,
163163 .driver = {
164164 .name = "bcm63xx-rng",
165− .owner = THIS_MODULE,
166165 },
167166 };
168167
drivers/char/hw_random/exynos-rng.c+0−1
@@ -169,7 +169,6 @@ static UNIVERSAL_DEV_PM_OPS(exynos_rng_pm_ops, exynos_rng_runtime_suspend, · 168 unmodified lines
169169 static struct platform_driver exynos_rng_driver = {
170170 .driver = {
171171 .name = "exynos-rng",
172− .owner = THIS_MODULE,
173172 .pm = &exynos_rng_pm_ops,
174173 },
175174 .probe = exynos_rng_probe,
drivers/char/hw_random/msm-rng.c+0−1
@@ -185,7 +185,6 @@ static struct platform_driver msm_rng_driver = { · 184 unmodified lines
185185 .remove = msm_rng_remove,
186186 .driver = {
187187 .name = KBUILD_MODNAME,
188− .owner = THIS_MODULE,
189188 .of_match_table = of_match_ptr(msm_rng_of_match),
190189 }
191190 };
drivers/char/hw_random/mxc-rnga.c+0−1
@@ -206,7 +206,6 @@ static int __exit mxc_rnga_remove(struct platform_device *pdev) · 205 unmodified lines
206206 static struct platform_driver mxc_rnga_driver = {
207207 .driver = {
208208 .name = "mxc_rnga",
209− .owner = THIS_MODULE,
210209 },
211210 .remove = __exit_p(mxc_rnga_remove),
212211 };
drivers/char/hw_random/n2-drv.c+0−1
@@ -750,7 +750,6 @@ MODULE_DEVICE_TABLE(of, n2rng_match); · 749 unmodified lines
750750 static struct platform_driver n2rng_driver = {
751751 .driver = {
752752 .name = "n2rng",
753− .owner = THIS_MODULE,
754753 .of_match_table = n2rng_match,
755754 },
756755 .probe = n2rng_probe,
drivers/char/hw_random/octeon-rng.c+0−1
@@ -117,7 +117,6 @@ static int __exit octeon_rng_remove(struct platform_device *pdev) · 116 unmodified lines
117117 static struct platform_driver octeon_rng_driver = {
118118 .driver = {
119119 .name = "octeon_rng",
120− .owner = THIS_MODULE,
121120 },
122121 .probe = octeon_rng_probe,
123122 .remove = __exit_p(octeon_rng_remove),
drivers/char/hw_random/omap-rng.c+0−1
@@ -456,7 +456,6 @@ static SIMPLE_DEV_PM_OPS(omap_rng_pm, omap_rng_suspend, omap_rng_resume); · 455 unmodified lines
456456 static struct platform_driver omap_rng_driver = {
457457 .driver = {
458458 .name = "omap_rng",
459− .owner = THIS_MODULE,
460459 .pm = OMAP_RNG_PM,
461460 .of_match_table = of_match_ptr(omap_rng_of_match),
462461 },
drivers/char/hw_random/omap3-rom-rng.c+0−1
@@ -126,7 +126,6 @@ static int omap3_rom_rng_remove(struct platform_device *pdev) · 125 unmodified lines
126126 static struct platform_driver omap3_rom_rng_driver = {
127127 .driver = {
128128 .name = "omap3-rom-rng",
129− .owner = THIS_MODULE,
130129 },
131130 .probe = omap3_rom_rng_probe,
132131 .remove = omap3_rom_rng_remove,
drivers/char/hw_random/pasemi-rng.c+0−1
@@ -142,7 +142,6 @@ static struct of_device_id rng_match[] = { · 141 unmodified lines
142142 static struct platform_driver rng_driver = {
143143 .driver = {
144144 .name = "pasemi-rng",
145− .owner = THIS_MODULE,
146145 .of_match_table = rng_match,
147146 },
148147 .probe = rng_probe,
drivers/char/hw_random/ppc4xx-rng.c+0−1
@@ -133,7 +133,6 @@ static struct of_device_id ppc4xx_rng_match[] = { · 132 unmodified lines
133133 static struct platform_driver ppc4xx_rng_driver = {
134134 .driver = {
135135 .name = MODULE_NAME,
136− .owner = THIS_MODULE,
137136 .of_match_table = ppc4xx_rng_match,
138137 },
139138 .probe = ppc4xx_rng_probe,
drivers/char/hw_random/timeriomem-rng.c+0−1
@@ -200,7 +200,6 @@ MODULE_DEVICE_TABLE(of, timeriomem_rng_match); · 199 unmodified lines
200200 static struct platform_driver timeriomem_rng_driver = {
201201 .driver = {
202202 .name = "timeriomem_rng",
203− .owner = THIS_MODULE,
204203 .of_match_table = timeriomem_rng_match,
205204 },
206205 .probe = timeriomem_rng_probe,
drivers/char/hw_random/tx4939-rng.c+0−1
@@ -158,7 +158,6 @@ static int __exit tx4939_rng_remove(struct platform_device *dev) · 157 unmodified lines
158158 static struct platform_driver tx4939_rng_driver = {
159159 .driver = {
160160 .name = "tx4939-rng",
161− .owner = THIS_MODULE,
162161 },
163162 .remove = tx4939_rng_remove,
164163 };
drivers/char/ipmi/ipmi_si_intf.c+0−1
@@ -2788,7 +2788,6 @@ static struct of_device_id ipmi_match[] = · 2787 unmodified lines
27882788 static struct platform_driver ipmi_driver = {
27892789 .driver = {
27902790 .name = DEVICE_NAME,
2791− .owner = THIS_MODULE,
27922791 .of_match_table = ipmi_match,
27932792 },
27942793 .probe = ipmi_probe,
drivers/char/sonypi.c+0−1
@@ -1482,7 +1482,6 @@ static void sonypi_shutdown(struct platform_device *dev) · 1481 unmodified lines
14821482 static struct platform_driver sonypi_driver = {
14831483 .driver = {
14841484 .name = "sonypi",
1485− .owner = THIS_MODULE,
14861485 .pm = SONYPI_PM,
14871486 },
14881487 .probe = sonypi_probe,
drivers/char/tb0219.c+0−1
@@ -337,7 +337,6 @@ static struct platform_driver tb0219_device_driver = { · 336 unmodified lines
337337 .remove = tb0219_remove,
338338 .driver = {
339339 .name = "TB0219",
340− .owner = THIS_MODULE,
341340 },
342341 };
343342
drivers/char/tpm/tpm_atmel.c+0−1
@@ -152,7 +152,6 @@ static SIMPLE_DEV_PM_OPS(tpm_atml_pm, tpm_pm_suspend, tpm_pm_resume); · 151 unmodified lines
152152 static struct platform_driver atml_drv = {
153153 .driver = {
154154 .name = "tpm_atmel",
155− .owner = THIS_MODULE,
156155 .pm = &tpm_atml_pm,
157156 },
158157 };
drivers/char/tpm/tpm_nsc.c+0−1
@@ -258,7 +258,6 @@ static SIMPLE_DEV_PM_OPS(tpm_nsc_pm, tpm_pm_suspend, tpm_pm_resume); · 257 unmodified lines
258258 static struct platform_driver nsc_drv = {
259259 .driver = {
260260 .name = "tpm_nsc",
261− .owner = THIS_MODULE,
262261 .pm = &tpm_nsc_pm,
263262 },
264263 };
drivers/char/tpm/tpm_tis.c+0−1
@@ -837,7 +837,6 @@ MODULE_PARM_DESC(hid, "Set additional specific HID for this driver to probe"); · 836 unmodified lines
837837 static struct platform_driver tis_drv = {
838838 .driver = {
839839 .name = "tpm_tis",
840− .owner = THIS_MODULE,
841840 .pm = &tpm_tis_pm,
842841 },
843842 };
drivers/char/xillybus/xillybus_of.c+0−1
@@ -179,7 +179,6 @@ static struct platform_driver xillybus_platform_driver = { · 178 unmodified lines
179179 .remove = xilly_drv_remove,
180180 .driver = {
181181 .name = xillyname,
182− .owner = THIS_MODULE,
183182 .of_match_table = xillybus_of_match,
184183 },
185184 };
drivers/clk/clk-axm5516.c+0−1
@@ -593,7 +593,6 @@ static struct platform_driver axmclk_driver = { · 592 unmodified lines
593593 .remove = axmclk_remove,
594594 .driver = {
595595 .name = "clk-axm5516",
596− .owner = THIS_MODULE,
597596 .of_match_table = axmclk_match_table,
598597 },
599598 };
drivers/clk/clk-ppc-corenet.c+0−1
@@ -294,7 +294,6 @@ static const struct of_device_id ppc_clk_ids[] __initconst = { · 293 unmodified lines
294294 static struct platform_driver ppc_corenet_clk_driver __initdata = {
295295 .driver = {
296296 .name = "ppc_corenet_clock",
297− .owner = THIS_MODULE,
298297 .of_match_table = ppc_clk_ids,
299298 },
300299 .probe = ppc_corenet_clk_probe,
drivers/clk/clk-s2mps11.c+0−1
@@ -312,7 +312,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_clk_id); · 311 unmodified lines
312312 static struct platform_driver s2mps11_clk_driver = {
313313 .driver = {
314314 .name = "s2mps11-clk",
315− .owner = THIS_MODULE,
316315 },
317316 .probe = s2mps11_clk_probe,
318317 .remove = s2mps11_clk_remove,
drivers/clk/qcom/gcc-apq8084.c+0−1
@@ -3589,7 +3589,6 @@ static struct platform_driver gcc_apq8084_driver = { · 3588 unmodified lines
35893589 .remove = gcc_apq8084_remove,
35903590 .driver = {
35913591 .name = "gcc-apq8084",
3592− .owner = THIS_MODULE,
35933592 .of_match_table = gcc_apq8084_match_table,
35943593 },
35953594 };
drivers/clk/qcom/gcc-ipq806x.c+0−1
@@ -2431,7 +2431,6 @@ static struct platform_driver gcc_ipq806x_driver = { · 2430 unmodified lines
24312431 .remove = gcc_ipq806x_remove,
24322432 .driver = {
24332433 .name = "gcc-ipq806x",
2434− .owner = THIS_MODULE,
24352434 .of_match_table = gcc_ipq806x_match_table,
24362435 },
24372436 };
drivers/clk/qcom/gcc-msm8660.c+0−1
@@ -2744,7 +2744,6 @@ static struct platform_driver gcc_msm8660_driver = { · 2743 unmodified lines
27442744 .remove = gcc_msm8660_remove,
27452745 .driver = {
27462746 .name = "gcc-msm8660",
2747− .owner = THIS_MODULE,
27482747 .of_match_table = gcc_msm8660_match_table,
27492748 },
27502749 };
drivers/clk/qcom/gcc-msm8960.c+0−1
@@ -3519,7 +3519,6 @@ static struct platform_driver gcc_msm8960_driver = { · 3518 unmodified lines
35193519 .remove = gcc_msm8960_remove,
35203520 .driver = {
35213521 .name = "gcc-msm8960",
3522− .owner = THIS_MODULE,
35233522 .of_match_table = gcc_msm8960_match_table,
35243523 },
35253524 };
drivers/clk/qcom/gcc-msm8974.c+0−1
@@ -2737,7 +2737,6 @@ static struct platform_driver gcc_msm8974_driver = { · 2736 unmodified lines
27372737 .remove = gcc_msm8974_remove,
27382738 .driver = {
27392739 .name = "gcc-msm8974",
2740− .owner = THIS_MODULE,
27412740 .of_match_table = gcc_msm8974_match_table,
27422741 },
27432742 };
drivers/clk/samsung/clk-exynos-audss.c+0−1
@@ -223,7 +223,6 @@ static int exynos_audss_clk_remove(struct platform_device *pdev) · 222 unmodified lines
223223 static struct platform_driver exynos_audss_clk_driver = {
224224 .driver = {
225225 .name = "exynos-audss-clk",
226− .owner = THIS_MODULE,
227226 .of_match_table = exynos_audss_clk_of_match,
228227 },
229228 .probe = exynos_audss_clk_probe,
drivers/clk/samsung/clk-s5pv210-audss.c+0−1
@@ -216,7 +216,6 @@ static const struct of_device_id s5pv210_audss_clk_of_match[] = { · 215 unmodified lines
216216 static struct platform_driver s5pv210_audss_clk_driver = {
217217 .driver = {
218218 .name = "s5pv210-audss-clk",
219− .owner = THIS_MODULE,
220219 .of_match_table = s5pv210_audss_clk_of_match,
221220 },
222221 .probe = s5pv210_audss_clk_probe,
drivers/clk/ux500/abx500-clk.c+0−1
@@ -121,7 +121,6 @@ static int abx500_clk_probe(struct platform_device *pdev) · 120 unmodified lines
121121 static struct platform_driver abx500_clk_driver = {
122122 .driver = {
123123 .name = "abx500-clk",
124− .owner = THIS_MODULE,
125124 },
126125 .probe = abx500_clk_probe,
127126 };
drivers/clk/x86/clk-lpt.c+0−1
@@ -42,7 +42,6 @@ static int lpt_clk_probe(struct platform_device *pdev) · 41 unmodified lines
4242 static struct platform_driver lpt_clk_driver = {
4343 .driver = {
4444 .name = "clk-lpt",
45− .owner = THIS_MODULE,
4645 },
4746 .probe = lpt_clk_probe,
4847 };
drivers/cpufreq/arm_big_little_dt.c+0−1
@@ -106,7 +106,6 @@ static int generic_bL_remove(struct platform_device *pdev) · 105 unmodified lines
106106 static struct platform_driver generic_bL_platdrv = {
107107 .driver = {
108108 .name = "arm-bL-cpufreq-dt",
109− .owner = THIS_MODULE,
110109 },
111110 .probe = generic_bL_probe,
112111 .remove = generic_bL_remove,
drivers/cpufreq/cpufreq-dt.c+0−1
@@ -400,7 +400,6 @@ static int dt_cpufreq_remove(struct platform_device *pdev) · 399 unmodified lines
400400 static struct platform_driver dt_cpufreq_platdrv = {
401401 .driver = {
402402 .name = "cpufreq-dt",
403− .owner = THIS_MODULE,
404403 },
405404 .probe = dt_cpufreq_probe,
406405 .remove = dt_cpufreq_remove,
drivers/cpufreq/davinci-cpufreq.c+0−1
@@ -169,7 +169,6 @@ static int __exit davinci_cpufreq_remove(struct platform_device *pdev) · 168 unmodified lines
169169 static struct platform_driver davinci_cpufreq_driver = {
170170 .driver = {
171171 .name = "cpufreq-davinci",
172− .owner = THIS_MODULE,
173172 },
174173 .remove = __exit_p(davinci_cpufreq_remove),
175174 };
drivers/cpufreq/dbx500-cpufreq.c+0−1
@@ -69,7 +69,6 @@ static int dbx500_cpufreq_probe(struct platform_device *pdev) · 68 unmodified lines
6969 static struct platform_driver dbx500_cpufreq_plat_driver = {
7070 .driver = {
7171 .name = "cpufreq-ux500",
72− .owner = THIS_MODULE,
7372 },
7473 .probe = dbx500_cpufreq_probe,
7574 };
drivers/cpufreq/exynos-cpufreq.c+0−1
@@ -211,7 +211,6 @@ err_vdd_arm: · 210 unmodified lines
211211 static struct platform_driver exynos_cpufreq_platdrv = {
212212 .driver = {
213213 .name = "exynos-cpufreq",
214− .owner = THIS_MODULE,
215214 },
216215 .probe = exynos_cpufreq_probe,
217216 };
drivers/cpufreq/exynos5440-cpufreq.c+0−1
@@ -442,7 +442,6 @@ static int exynos_cpufreq_remove(struct platform_device *pdev) · 441 unmodified lines
442442 static struct platform_driver exynos_cpufreq_platdrv = {
443443 .driver = {
444444 .name = "exynos5440-cpufreq",
445− .owner = THIS_MODULE,
446445 .of_match_table = exynos_cpufreq_match,
447446 },
448447 .probe = exynos_cpufreq_probe,
drivers/cpufreq/imx6q-cpufreq.c+0−1
@@ -357,7 +357,6 @@ static int imx6q_cpufreq_remove(struct platform_device *pdev) · 356 unmodified lines
357357 static struct platform_driver imx6q_cpufreq_platdrv = {
358358 .driver = {
359359 .name = "imx6q-cpufreq",
360− .owner = THIS_MODULE,
361360 },
362361 .probe = imx6q_cpufreq_probe,
363362 .remove = imx6q_cpufreq_remove,
drivers/cpufreq/integrator-cpufreq.c+0−1
@@ -226,7 +226,6 @@ static const struct of_device_id integrator_cpufreq_match[] = { · 225 unmodified lines
226226 static struct platform_driver integrator_cpufreq_driver = {
227227 .driver = {
228228 .name = "integrator-cpufreq",
229− .owner = THIS_MODULE,
230229 .of_match_table = integrator_cpufreq_match,
231230 },
232231 .remove = __exit_p(integrator_cpufreq_remove),
drivers/cpufreq/kirkwood-cpufreq.c+0−1
@@ -183,7 +183,6 @@ static struct platform_driver kirkwood_cpufreq_platform_driver = { · 182 unmodified lines
183183 .remove = kirkwood_cpufreq_remove,
184184 .driver = {
185185 .name = "kirkwood-cpufreq",
186− .owner = THIS_MODULE,
187186 },
188187 };
189188
drivers/cpufreq/loongson2_cpufreq.c+0−1
@@ -130,7 +130,6 @@ MODULE_DEVICE_TABLE(platform, platform_device_ids); · 129 unmodified lines
130130 static struct platform_driver platform_driver = {
131131 .driver = {
132132 .name = "loongson2_cpufreq",
133− .owner = THIS_MODULE,
134133 },
135134 .id_table = platform_device_ids,
136135 };
drivers/cpufreq/omap-cpufreq.c+0−1
@@ -195,7 +195,6 @@ static int omap_cpufreq_remove(struct platform_device *pdev) · 194 unmodified lines
195195 static struct platform_driver omap_cpufreq_platdrv = {
196196 .driver = {
197197 .name = "omap-cpufreq",
198− .owner = THIS_MODULE,
199198 },
200199 .probe = omap_cpufreq_probe,
201200 .remove = omap_cpufreq_remove,
drivers/cpufreq/s5pv210-cpufreq.c+0−1
@@ -656,7 +656,6 @@ static int s5pv210_cpufreq_probe(struct platform_device *pdev) · 655 unmodified lines
656656 static struct platform_driver s5pv210_cpufreq_platdrv = {
657657 .driver = {
658658 .name = "s5pv210-cpufreq",
659− .owner = THIS_MODULE,
660659 },
661660 .probe = s5pv210_cpufreq_probe,
662661 };
drivers/cpufreq/spear-cpufreq.c+0−1
@@ -236,7 +236,6 @@ out_put_node: · 235 unmodified lines
236236 static struct platform_driver spear_cpufreq_platdrv = {
237237 .driver = {
238238 .name = "spear-cpufreq",
239− .owner = THIS_MODULE,
240239 },
241240 .probe = spear_cpufreq_probe,
242241 };
drivers/cpufreq/vexpress-spc-cpufreq.c+0−1
@@ -60,7 +60,6 @@ static int ve_spc_cpufreq_remove(struct platform_device *pdev) · 59 unmodified lines
6060 static struct platform_driver ve_spc_cpufreq_platdrv = {
6161 .driver = {
6262 .name = "vexpress-spc-cpufreq",
63− .owner = THIS_MODULE,
6463 },
6564 .probe = ve_spc_cpufreq_probe,
6665 .remove = ve_spc_cpufreq_remove,
drivers/cpuidle/cpuidle-at91.c+0−1
@@ -60,7 +60,6 @@ static int at91_cpuidle_probe(struct platform_device *dev) · 59 unmodified lines
6060 static struct platform_driver at91_cpuidle_driver = {
6161 .driver = {
6262 .name = "cpuidle-at91",
63− .owner = THIS_MODULE,
6463 },
6564 .probe = at91_cpuidle_probe,
6665 };
drivers/cpuidle/cpuidle-calxeda.c+0−1
@@ -72,7 +72,6 @@ static int calxeda_cpuidle_probe(struct platform_device *pdev) · 71 unmodified lines
7272 static struct platform_driver calxeda_cpuidle_plat_driver = {
7373 .driver = {
7474 .name = "cpuidle-calxeda",
75− .owner = THIS_MODULE,
7675 },
7776 .probe = calxeda_cpuidle_probe,
7877 };
drivers/cpuidle/cpuidle-clps711x.c+0−1
@@ -54,7 +54,6 @@ static int __init clps711x_cpuidle_probe(struct platform_device *pdev) · 53 unmodified lines
5454 static struct platform_driver clps711x_cpuidle_driver = {
5555 .driver = {
5656 .name = CLPS711X_CPUIDLE_NAME,
57− .owner = THIS_MODULE,
5857 },
5958 };
6059 module_platform_driver_probe(clps711x_cpuidle_driver, clps711x_cpuidle_probe);
drivers/cpuidle/cpuidle-exynos.c+0−1
@@ -74,7 +74,6 @@ static struct platform_driver exynos_cpuidle_driver = { · 73 unmodified lines
7474 .probe = exynos_cpuidle_probe,
7575 .driver = {
7676 .name = "exynos_cpuidle",
77− .owner = THIS_MODULE,
7877 },
7978 };
8079
drivers/cpuidle/cpuidle-kirkwood.c+0−1
@@ -77,7 +77,6 @@ static struct platform_driver kirkwood_cpuidle_driver = { · 76 unmodified lines
7777 .remove = kirkwood_cpuidle_remove,
7878 .driver = {
7979 .name = "kirkwood_cpuidle",
80− .owner = THIS_MODULE,
8180 },
8281 };
8382
drivers/cpuidle/cpuidle-mvebu-v7.c+0−3
@@ -114,7 +114,6 @@ static int mvebu_v7_cpuidle_probe(struct platform_device *pdev) · 113 unmodified lines
114114 static struct platform_driver armadaxp_cpuidle_plat_driver = {
115115 .driver = {
116116 .name = "cpuidle-armada-xp",
117− .owner = THIS_MODULE,
118117 },
119118 .probe = mvebu_v7_cpuidle_probe,
120119 };
@@ -124,7 +123,6 @@ module_platform_driver(armadaxp_cpuidle_plat_driver); · 3 unmodified lines
124123 static struct platform_driver armada370_cpuidle_plat_driver = {
125124 .driver = {
126125 .name = "cpuidle-armada-370",
127− .owner = THIS_MODULE,
128126 },
129127 .probe = mvebu_v7_cpuidle_probe,
130128 };
@@ -134,7 +132,6 @@ module_platform_driver(armada370_cpuidle_plat_driver); · 3 unmodified lines
134132 static struct platform_driver armada38x_cpuidle_plat_driver = {
135133 .driver = {
136134 .name = "cpuidle-armada-38x",
137− .owner = THIS_MODULE,
138135 },
139136 .probe = mvebu_v7_cpuidle_probe,
140137 };
drivers/cpuidle/cpuidle-ux500.c+0−1
@@ -122,7 +122,6 @@ static int dbx500_cpuidle_probe(struct platform_device *pdev) · 121 unmodified lines
122122 static struct platform_driver dbx500_cpuidle_plat_driver = {
123123 .driver = {
124124 .name = "cpuidle-dbx500",
125− .owner = THIS_MODULE,
126125 },
127126 .probe = dbx500_cpuidle_probe,
128127 };
drivers/cpuidle/cpuidle-zynq.c+0−1
@@ -71,7 +71,6 @@ static int zynq_cpuidle_probe(struct platform_device *pdev) · 70 unmodified lines
7171 static struct platform_driver zynq_cpuidle_driver = {
7272 .driver = {
7373 .name = "cpuidle-zynq",
74− .owner = THIS_MODULE,
7574 },
7675 .probe = zynq_cpuidle_probe,
7776 };
drivers/crypto/amcc/crypto4xx_core.c+0−1
@@ -1288,7 +1288,6 @@ static const struct of_device_id crypto4xx_match[] = { · 1287 unmodified lines
12881288 static struct platform_driver crypto4xx_driver = {
12891289 .driver = {
12901290 .name = "crypto4xx",
1291− .owner = THIS_MODULE,
12921291 .of_match_table = crypto4xx_match,
12931292 },
12941293 .probe = crypto4xx_probe,
drivers/crypto/atmel-aes.c+0−1
@@ -1473,7 +1473,6 @@ static struct platform_driver atmel_aes_driver = { · 1472 unmodified lines
14731473 .remove = atmel_aes_remove,
14741474 .driver = {
14751475 .name = "atmel_aes",
1476− .owner = THIS_MODULE,
14771476 .of_match_table = of_match_ptr(atmel_aes_dt_ids),
14781477 },
14791478 };
drivers/crypto/atmel-sha.c+0−1
@@ -1529,7 +1529,6 @@ static struct platform_driver atmel_sha_driver = { · 1528 unmodified lines
15291529 .remove = atmel_sha_remove,
15301530 .driver = {
15311531 .name = "atmel_sha",
1532− .owner = THIS_MODULE,
15331532 .of_match_table = of_match_ptr(atmel_sha_dt_ids),
15341533 },
15351534 };
drivers/crypto/atmel-tdes.c+0−1
@@ -1524,7 +1524,6 @@ static struct platform_driver atmel_tdes_driver = { · 1523 unmodified lines
15241524 .remove = atmel_tdes_remove,
15251525 .driver = {
15261526 .name = "atmel_tdes",
1527− .owner = THIS_MODULE,
15281527 .of_match_table = of_match_ptr(atmel_tdes_dt_ids),
15291528 },
15301529 };
drivers/crypto/bfin_crc.c+0−1
@@ -724,7 +724,6 @@ static struct platform_driver bfin_crypto_crc_driver = { · 723 unmodified lines
724724 .resume = bfin_crypto_crc_resume,
725725 .driver = {
726726 .name = DRIVER_NAME,
727− .owner = THIS_MODULE,
728727 },
729728 };
730729
drivers/crypto/caam/ctrl.c+0−1
@@ -720,7 +720,6 @@ MODULE_DEVICE_TABLE(of, caam_match); · 719 unmodified lines
720720 static struct platform_driver caam_driver = {
721721 .driver = {
722722 .name = "caam",
723− .owner = THIS_MODULE,
724723 .of_match_table = caam_match,
725724 },
726725 .probe = caam_probe,
drivers/crypto/caam/jr.c+0−1
@@ -511,7 +511,6 @@ MODULE_DEVICE_TABLE(of, caam_jr_match); · 510 unmodified lines
511511 static struct platform_driver caam_jr_driver = {
512512 .driver = {
513513 .name = "caam_jr",
514− .owner = THIS_MODULE,
515514 .of_match_table = caam_jr_match,
516515 },
517516 .probe = caam_jr_probe,
drivers/crypto/ccp/ccp-platform.c+0−1
@@ -208,7 +208,6 @@ static const struct of_device_id ccp_platform_ids[] = { · 207 unmodified lines
208208 static struct platform_driver ccp_platform_driver = {
209209 .driver = {
210210 .name = "AMD Cryptographic Coprocessor",
211− .owner = THIS_MODULE,
212211 .of_match_table = ccp_platform_ids,
213212 },
214213 .probe = ccp_platform_probe,
drivers/crypto/mv_cesa.c+0−1
@@ -1180,7 +1180,6 @@ static struct platform_driver marvell_crypto = { · 1179 unmodified lines
11801180 .probe = mv_probe,
11811181 .remove = mv_remove,
11821182 .driver = {
1183− .owner = THIS_MODULE,
11841183 .name = "mv_crypto",
11851184 .of_match_table = mv_cesa_of_match_table,
11861185 },
drivers/crypto/mxs-dcp.c+0−1
@@ -1090,7 +1090,6 @@ static struct platform_driver mxs_dcp_driver = { · 1089 unmodified lines
10901090 .remove = mxs_dcp_remove,
10911091 .driver = {
10921092 .name = "mxs-dcp",
1093− .owner = THIS_MODULE,
10941093 .of_match_table = mxs_dcp_dt_ids,
10951094 },
10961095 };
drivers/crypto/n2_core.c+0−2
@@ -2210,7 +2210,6 @@ MODULE_DEVICE_TABLE(of, n2_crypto_match); · 2209 unmodified lines
22102210 static struct platform_driver n2_crypto_driver = {
22112211 .driver = {
22122212 .name = "n2cp",
2213− .owner = THIS_MODULE,
22142213 .of_match_table = n2_crypto_match,
22152214 },
22162215 .probe = n2_crypto_probe,
@@ -2238,7 +2237,6 @@ MODULE_DEVICE_TABLE(of, n2_mau_match); · 21 unmodified lines
22382237 static struct platform_driver n2_mau_driver = {
22392238 .driver = {
22402239 .name = "ncp",
2241− .owner = THIS_MODULE,
22422240 .of_match_table = n2_mau_match,
22432241 },
22442242 .probe = n2_mau_probe,
drivers/crypto/omap-aes.c+0−1
@@ -1314,7 +1314,6 @@ static struct platform_driver omap_aes_driver = { · 1313 unmodified lines
13141314 .remove = omap_aes_remove,
13151315 .driver = {
13161316 .name = "omap-aes",
1317− .owner = THIS_MODULE,
13181317 .pm = &omap_aes_pm_ops,
13191318 .of_match_table = omap_aes_of_match,
13201319 },
drivers/crypto/omap-des.c+0−1
@@ -1222,7 +1222,6 @@ static struct platform_driver omap_des_driver = { · 1221 unmodified lines
12221222 .remove = omap_des_remove,
12231223 .driver = {
12241224 .name = "omap-des",
1225− .owner = THIS_MODULE,
12261225 .pm = &omap_des_pm_ops,
12271226 .of_match_table = of_match_ptr(omap_des_of_match),
12281227 },
drivers/crypto/omap-sham.c+0−1
@@ -2029,7 +2029,6 @@ static struct platform_driver omap_sham_driver = { · 2028 unmodified lines
20292029 .remove = omap_sham_remove,
20302030 .driver = {
20312031 .name = "omap-sham",
2032− .owner = THIS_MODULE,
20332032 .pm = &omap_sham_pm_ops,
20342033 .of_match_table = omap_sham_of_match,
20352034 },
drivers/crypto/qce/core.c+0−1
@@ -273,7 +273,6 @@ static struct platform_driver qce_crypto_driver = { · 272 unmodified lines
273273 .probe = qce_crypto_probe,
274274 .remove = qce_crypto_remove,
275275 .driver = {
276− .owner = THIS_MODULE,
277276 .name = KBUILD_MODNAME,
278277 .of_match_table = qce_crypto_of_match,
279278 },
drivers/crypto/s5p-sss.c+0−1
@@ -745,7 +745,6 @@ static struct platform_driver s5p_aes_crypto = { · 744 unmodified lines
745745 .probe = s5p_aes_probe,
746746 .remove = s5p_aes_remove,
747747 .driver = {
748− .owner = THIS_MODULE,
749748 .name = "s5p-secss",
750749 .of_match_table = s5p_sss_dt_match,
751750 },
drivers/crypto/sahara.c+0−1
@@ -1656,7 +1656,6 @@ static struct platform_driver sahara_driver = { · 1655 unmodified lines
16561656 .remove = sahara_remove,
16571657 .driver = {
16581658 .name = SAHARA_NAME,
1659− .owner = THIS_MODULE,
16601659 .of_match_table = sahara_dt_ids,
16611660 },
16621661 .id_table = sahara_platform_ids,
drivers/crypto/talitos.c+0−1
@@ -2811,7 +2811,6 @@ MODULE_DEVICE_TABLE(of, talitos_match); · 2810 unmodified lines
28112811 static struct platform_driver talitos_driver = {
28122812 .driver = {
28132813 .name = "talitos",
2814− .owner = THIS_MODULE,
28152814 .of_match_table = talitos_match,
28162815 },
28172816 .probe = talitos_probe,
drivers/crypto/ux500/cryp/cryp_core.c+0−1
@@ -1783,7 +1783,6 @@ static struct platform_driver cryp_driver = { · 1782 unmodified lines
17831783 .remove = ux500_cryp_remove,
17841784 .shutdown = ux500_cryp_shutdown,
17851785 .driver = {
1786− .owner = THIS_MODULE,
17871786 .name = "cryp1",
17881787 .of_match_table = ux500_cryp_match,
17891788 .pm = &ux500_cryp_pm,
drivers/crypto/ux500/hash/hash_core.c+0−1
@@ -1964,7 +1964,6 @@ static struct platform_driver hash_driver = { · 1963 unmodified lines
19641964 .remove = ux500_hash_remove,
19651965 .shutdown = ux500_hash_shutdown,
19661966 .driver = {
1967− .owner = THIS_MODULE,
19681967 .name = "hash1",
19691968 .of_match_table = ux500_hash_match,
19701969 .pm = &ux500_hash_pm,
drivers/devfreq/exynos/exynos4_bus.c+0−1
@@ -1034,7 +1034,6 @@ static struct platform_driver exynos4_busfreq_driver = { · 1033 unmodified lines
10341034 .id_table = exynos4_busfreq_id,
10351035 .driver = {
10361036 .name = "exynos4-busfreq",
1037− .owner = THIS_MODULE,
10381037 .pm = &exynos4_busfreq_pm_ops,
10391038 },
10401039 };
drivers/devfreq/exynos/exynos5_bus.c+0−1
@@ -393,7 +393,6 @@ static struct platform_driver exynos5_busfreq_int_driver = { · 392 unmodified lines
393393 .remove = exynos5_busfreq_int_remove,
394394 .driver = {
395395 .name = "exynos5-bus-int",
396− .owner = THIS_MODULE,
397396 .pm = &exynos5_busfreq_int_pm_ops,
398397 },
399398 };
drivers/dma/bestcomm/bestcomm.c+0−1
@@ -495,7 +495,6 @@ static struct platform_driver mpc52xx_bcom_of_platform_driver = { · 494 unmodified lines
495495 .remove = mpc52xx_bcom_remove,
496496 .driver = {
497497 .name = DRIVER_NAME,
498− .owner = THIS_MODULE,
499498 .of_match_table = mpc52xx_bcom_of_match,
500499 },
501500 };
drivers/dma/edma.c+0−1
@@ -1092,7 +1092,6 @@ static struct platform_driver edma_driver = { · 1091 unmodified lines
10921092 .remove = edma_remove,
10931093 .driver = {
10941094 .name = "edma-dma-engine",
1095− .owner = THIS_MODULE,
10961095 },
10971096 };
10981097
drivers/dma/fsl-edma.c+0−1
@@ -966,7 +966,6 @@ MODULE_DEVICE_TABLE(of, fsl_edma_dt_ids); · 965 unmodified lines
966966 static struct platform_driver fsl_edma_driver = {
967967 .driver = {
968968 .name = "fsl-edma",
969− .owner = THIS_MODULE,
970969 .of_match_table = fsl_edma_dt_ids,
971970 },
972971 .probe = fsl_edma_probe,
drivers/dma/fsldma.c+0−1
@@ -1539,7 +1539,6 @@ static const struct of_device_id fsldma_of_ids[] = { · 1538 unmodified lines
15391539 static struct platform_driver fsldma_of_driver = {
15401540 .driver = {
15411541 .name = "fsl-elo-dma",
1542− .owner = THIS_MODULE,
15431542 .of_match_table = fsldma_of_ids,
15441543 #ifdef CONFIG_PM
15451544 .pm = &fsldma_pm_ops,
drivers/dma/imx-dma.c+0−1
@@ -1236,7 +1236,6 @@ static int imxdma_remove(struct platform_device *pdev) · 1235 unmodified lines
12361236 static struct platform_driver imxdma_driver = {
12371237 .driver = {
12381238 .name = "imx-dma",
1239− .owner = THIS_MODULE,
12401239 .of_match_table = imx_dma_of_dev_id,
12411240 },
12421241 .id_table = imx_dma_devtype,
drivers/dma/ipu/ipu_idmac.c+0−1
@@ -1783,7 +1783,6 @@ static int ipu_remove(struct platform_device *pdev) · 1782 unmodified lines
17831783 static struct platform_driver ipu_platform_driver = {
17841784 .driver = {
17851785 .name = "ipu-core",
1786− .owner = THIS_MODULE,
17871786 },
17881787 .remove = ipu_remove,
17891788 };
drivers/dma/moxart-dma.c+0−1
@@ -677,7 +677,6 @@ static struct platform_driver moxart_driver = { · 676 unmodified lines
677677 .remove = moxart_remove,
678678 .driver = {
679679 .name = "moxart-dma-engine",
680− .owner = THIS_MODULE,
681680 .of_match_table = moxart_dma_match,
682681 },
683682 };
drivers/dma/mv_xor.c+0−1
@@ -1269,7 +1269,6 @@ static struct platform_driver mv_xor_driver = { · 1268 unmodified lines
12691269 .probe = mv_xor_probe,
12701270 .remove = mv_xor_remove,
12711271 .driver = {
1272− .owner = THIS_MODULE,
12731272 .name = MV_XOR_NAME,
12741273 .of_match_table = of_match_ptr(mv_xor_dt_ids),
12751274 },
drivers/dma/omap-dma.c+0−1
@@ -1231,7 +1231,6 @@ static struct platform_driver omap_dma_driver = { · 1230 unmodified lines
12311231 .remove = omap_dma_remove,
12321232 .driver = {
12331233 .name = "omap-dma-engine",
1234− .owner = THIS_MODULE,
12351234 .of_match_table = of_match_ptr(omap_dma_match),
12361235 },
12371236 };
drivers/dma/ppc4xx/adma.c+0−1
@@ -4579,7 +4579,6 @@ static struct platform_driver ppc440spe_adma_driver = { · 4578 unmodified lines
45794579 .remove = ppc440spe_adma_remove,
45804580 .driver = {
45814581 .name = "PPC440SP(E)-ADMA",
4582− .owner = THIS_MODULE,
45834582 .of_match_table = ppc440spe_adma_of_match,
45844583 },
45854584 };
drivers/dma/sa11x0-dma.c+0−1
@@ -1063,7 +1063,6 @@ static const struct dev_pm_ops sa11x0_dma_pm_ops = { · 1062 unmodified lines
10631063 static struct platform_driver sa11x0_dma_driver = {
10641064 .driver = {
10651065 .name = "sa11x0-dma",
1066− .owner = THIS_MODULE,
10671066 .pm = &sa11x0_dma_pm_ops,
10681067 },
10691068 .probe = sa11x0_dma_probe,
drivers/dma/sh/shdmac.c+0−1
@@ -923,7 +923,6 @@ static int sh_dmae_remove(struct platform_device *pdev) · 922 unmodified lines
923923
924924 static struct platform_driver sh_dmae_driver = {
925925 .driver = {
926− .owner = THIS_MODULE,
927926 .pm = &sh_dmae_pm,
928927 .name = SH_DMAE_DRV_NAME,
929928 .of_match_table = sh_dmae_of_match,
drivers/dma/sirf-dma.c+0−1
@@ -934,7 +934,6 @@ static struct platform_driver sirfsoc_dma_driver = { · 933 unmodified lines
934934 .remove = sirfsoc_dma_remove,
935935 .driver = {
936936 .name = DRV_NAME,
937− .owner = THIS_MODULE,
938937 .pm = &sirfsoc_dma_pm_ops,
939938 .of_match_table = sirfsoc_dma_match,
940939 },
drivers/dma/ste_dma40.c+0−1
@@ -3750,7 +3750,6 @@ static const struct of_device_id d40_match[] = { · 3749 unmodified lines
37503750
37513751 static struct platform_driver d40_driver = {
37523752 .driver = {
3753− .owner = THIS_MODULE,
37543753 .name = D40_NAME,
37553754 .pm = &dma40_pm_ops,
37563755 .of_match_table = d40_match,
drivers/edac/cell_edac.c+0−1
@@ -245,7 +245,6 @@ static int cell_edac_remove(struct platform_device *pdev) · 244 unmodified lines
245245 static struct platform_driver cell_edac_driver = {
246246 .driver = {
247247 .name = "cbe-mic",
248− .owner = THIS_MODULE,
249248 },
250249 .probe = cell_edac_probe,
251250 .remove = cell_edac_remove,
drivers/edac/mpc85xx_edac.c+0−2
@@ -715,7 +715,6 @@ static struct platform_driver mpc85xx_l2_err_driver = { · 714 unmodified lines
715715 .remove = mpc85xx_l2_err_remove,
716716 .driver = {
717717 .name = "mpc85xx_l2_err",
718− .owner = THIS_MODULE,
719718 .of_match_table = mpc85xx_l2_err_of_match,
720719 },
721720 };
@@ -1215,7 +1214,6 @@ static struct platform_driver mpc85xx_mc_err_driver = { · 493 unmodified lines
12151214 .remove = mpc85xx_mc_err_remove,
12161215 .driver = {
12171216 .name = "mpc85xx_mc_err",
1218− .owner = THIS_MODULE,
12191217 .of_match_table = mpc85xx_mc_err_of_match,
12201218 },
12211219 };
drivers/edac/ppc4xx_edac.c+0−1
@@ -204,7 +204,6 @@ static struct platform_driver ppc4xx_edac_driver = { · 203 unmodified lines
204204 .probe = ppc4xx_edac_probe,
205205 .remove = ppc4xx_edac_remove,
206206 .driver = {
207− .owner = THIS_MODULE,
208207 .name = PPC4XX_EDAC_MODULE_NAME,
209208 .of_match_table = ppc4xx_edac_match,
210209 },
drivers/edac/tile_edac.c+0−1
@@ -199,7 +199,6 @@ static int tile_edac_mc_remove(struct platform_device *pdev) · 198 unmodified lines
199199 static struct platform_driver tile_edac_mc_driver = {
200200 .driver = {
201201 .name = DRV_NAME,
202− .owner = THIS_MODULE,
203202 },
204203 .probe = tile_edac_mc_probe,
205204 .remove = tile_edac_mc_remove,
drivers/extcon/extcon-adc-jack.c+0−1
@@ -182,7 +182,6 @@ static struct platform_driver adc_jack_driver = { · 181 unmodified lines
182182 .remove = adc_jack_remove,
183183 .driver = {
184184 .name = "adc-jack",
185− .owner = THIS_MODULE,
186185 },
187186 };
188187
drivers/extcon/extcon-arizona.c+0−1
@@ -1469,7 +1469,6 @@ static int arizona_extcon_remove(struct platform_device *pdev) · 1468 unmodified lines
14691469 static struct platform_driver arizona_extcon_driver = {
14701470 .driver = {
14711471 .name = "arizona-extcon",
1472− .owner = THIS_MODULE,
14731472 },
14741473 .probe = arizona_extcon_probe,
14751474 .remove = arizona_extcon_remove,
drivers/extcon/extcon-gpio.c+0−1
@@ -181,7 +181,6 @@ static struct platform_driver gpio_extcon_driver = { · 180 unmodified lines
181181 .remove = gpio_extcon_remove,
182182 .driver = {
183183 .name = "extcon-gpio",
184− .owner = THIS_MODULE,
185184 .pm = &gpio_extcon_pm_ops,
186185 },
187186 };
drivers/extcon/extcon-max14577.c+0−1
@@ -807,7 +807,6 @@ MODULE_DEVICE_TABLE(platform, max14577_muic_id); · 806 unmodified lines
807807 static struct platform_driver max14577_muic_driver = {
808808 .driver = {
809809 .name = "max14577-muic",
810− .owner = THIS_MODULE,
811810 },
812811 .probe = max14577_muic_probe,
813812 .remove = max14577_muic_remove,
drivers/extcon/extcon-max77693.c+0−1
@@ -1301,7 +1301,6 @@ static int max77693_muic_remove(struct platform_device *pdev) · 1300 unmodified lines
13011301 static struct platform_driver max77693_muic_driver = {
13021302 .driver = {
13031303 .name = DEV_NAME,
1304− .owner = THIS_MODULE,
13051304 },
13061305 .probe = max77693_muic_probe,
13071306 .remove = max77693_muic_remove,
drivers/extcon/extcon-max8997.c+0−1
@@ -792,7 +792,6 @@ static int max8997_muic_remove(struct platform_device *pdev) · 791 unmodified lines
792792 static struct platform_driver max8997_muic_driver = {
793793 .driver = {
794794 .name = DEV_NAME,
795− .owner = THIS_MODULE,
796795 },
797796 .probe = max8997_muic_probe,
798797 .remove = max8997_muic_remove,
drivers/extcon/extcon-palmas.c+0−1
@@ -291,7 +291,6 @@ static struct platform_driver palmas_usb_driver = { · 290 unmodified lines
291291 .driver = {
292292 .name = "palmas-usb",
293293 .of_match_table = of_palmas_match_tbl,
294− .owner = THIS_MODULE,
295294 .pm = &palmas_pm_ops,
296295 },
297296 };
drivers/firmware/dcdbas.c+0−1
@@ -578,7 +578,6 @@ static int dcdbas_remove(struct platform_device *dev) · 577 unmodified lines
578578 static struct platform_driver dcdbas_driver = {
579579 .driver = {
580580 .name = DRIVER_NAME,
581− .owner = THIS_MODULE,
582581 },
583582 .probe = dcdbas_probe,
584583 .remove = dcdbas_remove,
drivers/gpio/gpio-adp5520.c+0−1
@@ -177,7 +177,6 @@ static int adp5520_gpio_remove(struct platform_device *pdev) · 176 unmodified lines
177177 static struct platform_driver adp5520_gpio_driver = {
178178 .driver = {
179179 .name = "adp5520-gpio",
180− .owner = THIS_MODULE,
181180 },
182181 .probe = adp5520_gpio_probe,
183182 .remove = adp5520_gpio_remove,
drivers/gpio/gpio-bcm-kona.c+0−1
@@ -668,7 +668,6 @@ err_irq_domain: · 667 unmodified lines
668668 static struct platform_driver bcm_kona_gpio_driver = {
669669 .driver = {
670670 .name = "bcm-kona-gpio",
671− .owner = THIS_MODULE,
672671 .of_match_table = bcm_kona_gpio_of_match,
673672 },
674673 .probe = bcm_kona_gpio_probe,
drivers/gpio/gpio-clps711x.c+0−1
@@ -87,7 +87,6 @@ MODULE_DEVICE_TABLE(of, clps711x_gpio_ids); · 86 unmodified lines
8787 static struct platform_driver clps711x_gpio_driver = {
8888 .driver = {
8989 .name = "clps711x-gpio",
90− .owner = THIS_MODULE,
9190 .of_match_table = of_match_ptr(clps711x_gpio_ids),
9291 },
9392 .probe = clps711x_gpio_probe,
drivers/gpio/gpio-crystalcove.c+0−1
@@ -379,7 +379,6 @@ static struct platform_driver crystalcove_gpio_driver = { · 378 unmodified lines
379379 .remove = crystalcove_gpio_remove,
380380 .driver = {
381381 .name = "crystal_cove_gpio",
382− .owner = THIS_MODULE,
383382 },
384383 };
385384
drivers/gpio/gpio-cs5535.c+0−1
@@ -367,7 +367,6 @@ static int cs5535_gpio_remove(struct platform_device *pdev) · 366 unmodified lines
367367 static struct platform_driver cs5535_gpio_driver = {
368368 .driver = {
369369 .name = DRV_NAME,
370− .owner = THIS_MODULE,
371370 },
372371 .probe = cs5535_gpio_probe,
373372 .remove = cs5535_gpio_remove,
drivers/gpio/gpio-da9052.c+0−1
@@ -246,7 +246,6 @@ static struct platform_driver da9052_gpio_driver = { · 245 unmodified lines
246246 .remove = da9052_gpio_remove,
247247 .driver = {
248248 .name = "da9052-gpio",
249− .owner = THIS_MODULE,
250249 },
251250 };
252251
drivers/gpio/gpio-da9055.c+0−1
@@ -183,7 +183,6 @@ static struct platform_driver da9055_gpio_driver = { · 182 unmodified lines
183183 .remove = da9055_gpio_remove,
184184 .driver = {
185185 .name = "da9055-gpio",
186− .owner = THIS_MODULE,
187186 },
188187 };
189188
drivers/gpio/gpio-davinci.c+0−1
@@ -614,7 +614,6 @@ static struct platform_driver davinci_gpio_driver = { · 613 unmodified lines
614614 .probe = davinci_gpio_probe,
615615 .driver = {
616616 .name = "davinci_gpio",
617− .owner = THIS_MODULE,
618617 .of_match_table = of_match_ptr(davinci_gpio_ids),
619618 },
620619 };
drivers/gpio/gpio-dwapb.c+0−1
@@ -703,7 +703,6 @@ static SIMPLE_DEV_PM_OPS(dwapb_gpio_pm_ops, dwapb_gpio_suspend, · 702 unmodified lines
703703 static struct platform_driver dwapb_gpio_driver = {
704704 .driver = {
705705 .name = "gpio-dwapb",
706− .owner = THIS_MODULE,
707706 .pm = &dwapb_gpio_pm_ops,
708707 .of_match_table = of_match_ptr(dwapb_of_match),
709708 },
drivers/gpio/gpio-em.c+0−1
@@ -423,7 +423,6 @@ static struct platform_driver em_gio_device_driver = { · 422 unmodified lines
423423 .driver = {
424424 .name = "em_gio",
425425 .of_match_table = em_gio_dt_ids,
426− .owner = THIS_MODULE,
427426 }
428427 };
429428
drivers/gpio/gpio-ep93xx.c+0−1
@@ -374,7 +374,6 @@ static int ep93xx_gpio_probe(struct platform_device *pdev) · 373 unmodified lines
374374 static struct platform_driver ep93xx_gpio_driver = {
375375 .driver = {
376376 .name = "gpio-ep93xx",
377− .owner = THIS_MODULE,
378377 },
379378 .probe = ep93xx_gpio_probe,
380379 };
drivers/gpio/gpio-f7188x.c+0−1
@@ -417,7 +417,6 @@ err: · 416 unmodified lines
417417
418418 static struct platform_driver f7188x_gpio_driver = {
419419 .driver = {
420− .owner = THIS_MODULE,
421420 .name = DRVNAME,
422421 },
423422 .probe = f7188x_gpio_probe,
drivers/gpio/gpio-ge.c+0−1
@@ -120,7 +120,6 @@ static int __init gef_gpio_probe(struct platform_device *pdev) · 119 unmodified lines
120120 static struct platform_driver gef_gpio_driver = {
121121 .driver = {
122122 .name = "gef-gpio",
123− .owner = THIS_MODULE,
124123 .of_match_table = gef_gpio_ids,
125124 },
126125 };
drivers/gpio/gpio-grgpio.c+0−1
@@ -491,7 +491,6 @@ MODULE_DEVICE_TABLE(of, grgpio_match); · 490 unmodified lines
491491 static struct platform_driver grgpio_driver = {
492492 .driver = {
493493 .name = "grgpio",
494− .owner = THIS_MODULE,
495494 .of_match_table = grgpio_match,
496495 },
497496 .probe = grgpio_probe,
drivers/gpio/gpio-ich.c+0−1
@@ -526,7 +526,6 @@ static int ichx_gpio_remove(struct platform_device *pdev) · 525 unmodified lines
526526
527527 static struct platform_driver ichx_gpio_driver = {
528528 .driver = {
529− .owner = THIS_MODULE,
530529 .name = DRV_NAME,
531530 },
532531 .probe = ichx_gpio_probe,
drivers/gpio/gpio-iop.c+0−1
@@ -120,7 +120,6 @@ static int iop3xx_gpio_probe(struct platform_device *pdev) · 119 unmodified lines
120120 static struct platform_driver iop3xx_gpio_driver = {
121121 .driver = {
122122 .name = "gpio-iop",
123− .owner = THIS_MODULE,
124123 },
125124 .probe = iop3xx_gpio_probe,
126125 };
drivers/gpio/gpio-janz-ttl.c+0−1
@@ -203,7 +203,6 @@ static int ttl_remove(struct platform_device *pdev) · 202 unmodified lines
203203 static struct platform_driver ttl_driver = {
204204 .driver = {
205205 .name = DRV_NAME,
206− .owner = THIS_MODULE,
207206 },
208207 .probe = ttl_probe,
209208 .remove = ttl_remove,
drivers/gpio/gpio-kempld.c+0−1
@@ -206,7 +206,6 @@ static int kempld_gpio_remove(struct platform_device *pdev) · 205 unmodified lines
206206 static struct platform_driver kempld_gpio_driver = {
207207 .driver = {
208208 .name = "kempld-gpio",
209− .owner = THIS_MODULE,
210209 },
211210 .probe = kempld_gpio_probe,
212211 .remove = kempld_gpio_remove,
drivers/gpio/gpio-lp3943.c+0−1
@@ -231,7 +231,6 @@ static struct platform_driver lp3943_gpio_driver = { · 230 unmodified lines
231231 .remove = lp3943_gpio_remove,
232232 .driver = {
233233 .name = "lp3943-gpio",
234− .owner = THIS_MODULE,
235234 .of_match_table = lp3943_gpio_of_match,
236235 },
237236 };
drivers/gpio/gpio-lpc32xx.c+0−1
@@ -569,7 +569,6 @@ static const struct of_device_id lpc32xx_gpio_of_match[] = { · 568 unmodified lines
569569 static struct platform_driver lpc32xx_gpio_driver = {
570570 .driver = {
571571 .name = "lpc32xx-gpio",
572− .owner = THIS_MODULE,
573572 .of_match_table = of_match_ptr(lpc32xx_gpio_of_match),
574573 },
575574 .probe = lpc32xx_gpio_probe,
drivers/gpio/gpio-lynxpoint.c+0−1
@@ -450,7 +450,6 @@ static struct platform_driver lp_gpio_driver = { · 449 unmodified lines
450450 .remove = lp_gpio_remove,
451451 .driver = {
452452 .name = "lp_gpio",
453− .owner = THIS_MODULE,
454453 .pm = &lp_gpio_pm_ops,
455454 .acpi_match_table = ACPI_PTR(lynxpoint_gpio_acpi_match),
456455 },
drivers/gpio/gpio-mm-lantiq.c+0−1
@@ -145,7 +145,6 @@ static struct platform_driver ltq_mm_driver = { · 144 unmodified lines
145145 .probe = ltq_mm_probe,
146146 .driver = {
147147 .name = "gpio-mm-ltq",
148− .owner = THIS_MODULE,
149148 .of_match_table = ltq_mm_match,
150149 },
151150 };
drivers/gpio/gpio-moxart.c+0−1
@@ -142,7 +142,6 @@ static const struct of_device_id moxart_gpio_match[] = { · 141 unmodified lines
142142 static struct platform_driver moxart_gpio_driver = {
143143 .driver = {
144144 .name = "moxart-gpio",
145− .owner = THIS_MODULE,
146145 .of_match_table = moxart_gpio_match,
147146 },
148147 .probe = moxart_gpio_probe,
drivers/gpio/gpio-mpc5200.c+0−2
@@ -192,7 +192,6 @@ static const struct of_device_id mpc52xx_wkup_gpiochip_match[] = { · 191 unmodified lines
192192 static struct platform_driver mpc52xx_wkup_gpiochip_driver = {
193193 .driver = {
194194 .name = "mpc5200-gpio-wkup",
195− .owner = THIS_MODULE,
196195 .of_match_table = mpc52xx_wkup_gpiochip_match,
197196 },
198197 .probe = mpc52xx_wkup_gpiochip_probe,
@@ -347,7 +346,6 @@ static const struct of_device_id mpc52xx_simple_gpiochip_match[] = { · 148 unmodified lines
347346 static struct platform_driver mpc52xx_simple_gpiochip_driver = {
348347 .driver = {
349348 .name = "mpc5200-gpio",
350− .owner = THIS_MODULE,
351349 .of_match_table = mpc52xx_simple_gpiochip_match,
352350 },
353351 .probe = mpc52xx_simple_gpiochip_probe,
drivers/gpio/gpio-msic.c+0−1
@@ -321,7 +321,6 @@ err: · 320 unmodified lines
321321 static struct platform_driver platform_msic_gpio_driver = {
322322 .driver = {
323323 .name = "msic_gpio",
324− .owner = THIS_MODULE,
325324 },
326325 .probe = platform_msic_gpio_probe,
327326 };
drivers/gpio/gpio-msm-v1.c+0−1
@@ -701,7 +701,6 @@ MODULE_DEVICE_TABLE(platform, gpio_msm_v1_device_ids); · 700 unmodified lines
701701 static struct platform_driver gpio_msm_v1_driver = {
702702 .driver = {
703703 .name = "gpio-msm-v1",
704− .owner = THIS_MODULE,
705704 },
706705 .probe = gpio_msm_v1_probe,
707706 .id_table = gpio_msm_v1_device_ids,
drivers/gpio/gpio-msm-v2.c+0−1
@@ -450,7 +450,6 @@ static struct platform_driver msm_gpio_driver = { · 449 unmodified lines
450450 .remove = msm_gpio_remove,
451451 .driver = {
452452 .name = "msmgpio",
453− .owner = THIS_MODULE,
454453 .of_match_table = msm_gpio_of_match,
455454 },
456455 };
drivers/gpio/gpio-mvebu.c+0−1
@@ -828,7 +828,6 @@ static int mvebu_gpio_probe(struct platform_device *pdev) · 827 unmodified lines
828828 static struct platform_driver mvebu_gpio_driver = {
829829 .driver = {
830830 .name = "mvebu-gpio",
831− .owner = THIS_MODULE,
832831 .of_match_table = mvebu_gpio_of_match,
833832 },
834833 .probe = mvebu_gpio_probe,
drivers/gpio/gpio-mxc.c+0−1
@@ -496,7 +496,6 @@ out_bgio: · 495 unmodified lines
496496 static struct platform_driver mxc_gpio_driver = {
497497 .driver = {
498498 .name = "gpio-mxc",
499− .owner = THIS_MODULE,
500499 .of_match_table = mxc_gpio_dt_ids,
501500 },
502501 .probe = mxc_gpio_probe,
drivers/gpio/gpio-mxs.c+0−1
@@ -351,7 +351,6 @@ out_irqdesc_free: · 350 unmodified lines
351351 static struct platform_driver mxs_gpio_driver = {
352352 .driver = {
353353 .name = "gpio-mxs",
354− .owner = THIS_MODULE,
355354 .of_match_table = mxs_gpio_dt_ids,
356355 },
357356 .probe = mxs_gpio_probe,
drivers/gpio/gpio-octeon.c+0−1
@@ -144,7 +144,6 @@ MODULE_DEVICE_TABLE(of, octeon_gpio_match); · 143 unmodified lines
144144 static struct platform_driver octeon_gpio_driver = {
145145 .driver = {
146146 .name = "octeon_gpio",
147− .owner = THIS_MODULE,
148147 .of_match_table = octeon_gpio_match,
149148 },
150149 .probe = octeon_gpio_probe,
drivers/gpio/gpio-rc5t583.c+0−1
@@ -155,7 +155,6 @@ static int rc5t583_gpio_remove(struct platform_device *pdev) · 154 unmodified lines
155155 static struct platform_driver rc5t583_gpio_driver = {
156156 .driver = {
157157 .name = "rc5t583-gpio",
158− .owner = THIS_MODULE,
159158 },
160159 .probe = rc5t583_gpio_probe,
161160 .remove = rc5t583_gpio_remove,
drivers/gpio/gpio-sch.c+0−1
@@ -250,7 +250,6 @@ static int sch_gpio_remove(struct platform_device *pdev) · 249 unmodified lines
250250 static struct platform_driver sch_gpio_driver = {
251251 .driver = {
252252 .name = "sch_gpio",
253− .owner = THIS_MODULE,
254253 },
255254 .probe = sch_gpio_probe,
256255 .remove = sch_gpio_remove,
drivers/gpio/gpio-spear-spics.c+0−1
@@ -191,7 +191,6 @@ MODULE_DEVICE_TABLE(of, spics_gpio_of_match); · 190 unmodified lines
191191 static struct platform_driver spics_gpio_driver = {
192192 .probe = spics_gpio_probe,
193193 .driver = {
194− .owner = THIS_MODULE,
195194 .name = "spear-spics-gpio",
196195 .of_match_table = spics_gpio_of_match,
197196 },
drivers/gpio/gpio-sta2x11.c+0−1
@@ -429,7 +429,6 @@ err_free_descs: · 428 unmodified lines
429429 static struct platform_driver sta2x11_gpio_platform_driver = {
430430 .driver = {
431431 .name = "sta2x11-gpio",
432− .owner = THIS_MODULE,
433432 },
434433 .probe = gsta_probe,
435434 };
drivers/gpio/gpio-stp-xway.c+0−1
@@ -283,7 +283,6 @@ static struct platform_driver xway_stp_driver = { · 282 unmodified lines
283283 .probe = xway_stp_probe,
284284 .driver = {
285285 .name = "gpio-stp-xway",
286− .owner = THIS_MODULE,
287286 .of_match_table = xway_stp_match,
288287 },
289288 };
drivers/gpio/gpio-syscon.c+0−1
@@ -253,7 +253,6 @@ static int syscon_gpio_remove(struct platform_device *pdev) · 252 unmodified lines
253253 static struct platform_driver syscon_gpio_driver = {
254254 .driver = {
255255 .name = "gpio-syscon",
256− .owner = THIS_MODULE,
257256 .of_match_table = syscon_gpio_ids,
258257 },
259258 .probe = syscon_gpio_probe,
drivers/gpio/gpio-tb10x.c+0−1
@@ -311,7 +311,6 @@ static struct platform_driver tb10x_gpio_driver = { · 310 unmodified lines
311311 .driver = {
312312 .name = "tb10x-gpio",
313313 .of_match_table = tb10x_gpio_dt_ids,
314− .owner = THIS_MODULE,
315314 }
316315 };
317316
drivers/gpio/gpio-tegra.c+0−1
@@ -528,7 +528,6 @@ static int tegra_gpio_probe(struct platform_device *pdev) · 527 unmodified lines
528528 static struct platform_driver tegra_gpio_driver = {
529529 .driver = {
530530 .name = "tegra-gpio",
531− .owner = THIS_MODULE,
532531 .pm = &tegra_gpio_pm_ops,
533532 .of_match_table = tegra_gpio_of_match,
534533 },
drivers/gpio/gpio-timberdale.c+0−1
@@ -330,7 +330,6 @@ static int timbgpio_remove(struct platform_device *pdev) · 329 unmodified lines
330330 static struct platform_driver timbgpio_platform_driver = {
331331 .driver = {
332332 .name = DRIVER_NAME,
333− .owner = THIS_MODULE,
334333 },
335334 .probe = timbgpio_probe,
336335 .remove = timbgpio_remove,
drivers/gpio/gpio-tps65912.c+0−1
@@ -124,7 +124,6 @@ static int tps65912_gpio_remove(struct platform_device *pdev) · 123 unmodified lines
124124 static struct platform_driver tps65912_gpio_driver = {
125125 .driver = {
126126 .name = "tps65912-gpio",
127− .owner = THIS_MODULE,
128127 },
129128 .probe = tps65912_gpio_probe,
130129 .remove = tps65912_gpio_remove,
drivers/gpio/gpio-ts5500.c+0−1
@@ -452,7 +452,6 @@ MODULE_DEVICE_TABLE(platform, ts5500_dio_ids); · 451 unmodified lines
452452 static struct platform_driver ts5500_dio_driver = {
453453 .driver = {
454454 .name = "ts5500-dio",
455− .owner = THIS_MODULE,
456455 },
457456 .probe = ts5500_dio_probe,
458457 .remove = ts5500_dio_remove,
drivers/gpio/gpio-twl4030.c+0−1
@@ -605,7 +605,6 @@ MODULE_ALIAS("platform:twl4030_gpio"); · 604 unmodified lines
605605 static struct platform_driver gpio_twl4030_driver = {
606606 .driver = {
607607 .name = "twl4030_gpio",
608− .owner = THIS_MODULE,
609608 .of_match_table = twl_gpio_match,
610609 },
611610 .probe = gpio_twl4030_probe,
drivers/gpio/gpio-twl6040.c+0−1
@@ -121,7 +121,6 @@ MODULE_ALIAS("platform:twl6040-gpo"); · 120 unmodified lines
121121 static struct platform_driver gpo_twl6040_driver = {
122122 .driver = {
123123 .name = "twl6040-gpo",
124− .owner = THIS_MODULE,
125124 },
126125 .probe = gpo_twl6040_probe,
127126 .remove = gpo_twl6040_remove,
drivers/gpio/gpio-tz1090-pdc.c+0−1
@@ -230,7 +230,6 @@ static struct of_device_id tz1090_pdc_gpio_of_match[] = { · 229 unmodified lines
230230 static struct platform_driver tz1090_pdc_gpio_driver = {
231231 .driver = {
232232 .name = "tz1090-pdc-gpio",
233− .owner = THIS_MODULE,
234233 .of_match_table = tz1090_pdc_gpio_of_match,
235234 },
236235 .probe = tz1090_pdc_gpio_probe,
drivers/gpio/gpio-tz1090.c+0−1
@@ -593,7 +593,6 @@ static struct of_device_id tz1090_gpio_of_match[] = { · 592 unmodified lines
593593 static struct platform_driver tz1090_gpio_driver = {
594594 .driver = {
595595 .name = "tz1090-gpio",
596− .owner = THIS_MODULE,
597596 .of_match_table = tz1090_gpio_of_match,
598597 },
599598 .probe = tz1090_gpio_probe,
drivers/gpio/gpio-vr41xx.c+0−1
@@ -591,7 +591,6 @@ static struct platform_driver giu_device_driver = { · 590 unmodified lines
591591 .remove = giu_remove,
592592 .driver = {
593593 .name = "GIU",
594− .owner = THIS_MODULE,
595594 },
596595 };
597596
drivers/gpio/gpio-vx855.c+0−1
@@ -306,7 +306,6 @@ static int vx855gpio_remove(struct platform_device *pdev) · 305 unmodified lines
306306 static struct platform_driver vx855gpio_driver = {
307307 .driver = {
308308 .name = MODULE_NAME,
309− .owner = THIS_MODULE,
310309 },
311310 .probe = vx855gpio_probe,
312311 .remove = vx855gpio_remove,
drivers/gpio/gpio-xgene.c+0−1
@@ -229,7 +229,6 @@ MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); · 228 unmodified lines
229229 static struct platform_driver xgene_gpio_driver = {
230230 .driver = {
231231 .name = "xgene-gpio",
232− .owner = THIS_MODULE,
233232 .of_match_table = xgene_gpio_of_match,
234233 .pm = XGENE_GPIO_PM_OPS,
235234 },
drivers/gpio/gpio-xtensa.c+0−1
@@ -157,7 +157,6 @@ static int xtensa_gpio_probe(struct platform_device *pdev) · 156 unmodified lines
157157 static struct platform_driver xtensa_gpio_driver = {
158158 .driver = {
159159 .name = "xtensa-gpio",
160− .owner = THIS_MODULE,
161160 },
162161 .probe = xtensa_gpio_probe,
163162 };
drivers/gpio/gpio-zevio.c+0−1
@@ -212,7 +212,6 @@ MODULE_DEVICE_TABLE(of, zevio_gpio_of_match); · 211 unmodified lines
212212 static struct platform_driver zevio_gpio_driver = {
213213 .driver = {
214214 .name = "gpio-zevio",
215− .owner = THIS_MODULE,
216215 .of_match_table = zevio_gpio_of_match,
217216 },
218217 .probe = zevio_gpio_probe,
drivers/gpu/drm/armada/armada_drv.c+0−1
@@ -486,7 +486,6 @@ static struct platform_driver armada_drm_platform_driver = { · 485 unmodified lines
486486 .remove = armada_drm_remove,
487487 .driver = {
488488 .name = "armada-drm",
489− .owner = THIS_MODULE,
490489 },
491490 .id_table = armada_drm_platform_ids,
492491 };
drivers/gpu/drm/exynos/exynos_drm_drv.c+0−1
@@ -736,7 +736,6 @@ static struct platform_driver exynos_drm_platform_driver = { · 735 unmodified lines
736736 .probe = exynos_drm_platform_probe,
737737 .remove = exynos_drm_platform_remove,
738738 .driver = {
739− .owner = THIS_MODULE,
740739 .name = "exynos-drm",
741740 .pm = &exynos_drm_pm_ops,
742741 },
drivers/gpu/drm/msm/msm_drv.c+0−1
@@ -987,7 +987,6 @@ static struct platform_driver msm_platform_driver = { · 986 unmodified lines
987987 .probe = msm_pdev_probe,
988988 .remove = msm_pdev_remove,
989989 .driver = {
990− .owner = THIS_MODULE,
991990 .name = "msm",
992991 .of_match_table = dt_match,
993992 .pm = &msm_pm_ops,
drivers/gpu/drm/omapdrm/omap_drv.c+0−1
@@ -718,7 +718,6 @@ static const struct dev_pm_ops omapdrm_pm_ops = { · 717 unmodified lines
718718 static struct platform_driver pdev = {
719719 .driver = {
720720 .name = DRIVER_NAME,
721− .owner = THIS_MODULE,
722721 #ifdef CONFIG_PM
723722 .pm = &omapdrm_pm_ops,
724723 #endif
drivers/gpu/drm/panel/panel-simple.c+0−1
@@ -708,7 +708,6 @@ static void panel_simple_platform_shutdown(struct platform_device *pdev) · 707 unmodified lines
708708 static struct platform_driver panel_simple_platform_driver = {
709709 .driver = {
710710 .name = "panel-simple",
711− .owner = THIS_MODULE,
712711 .of_match_table = platform_of_match,
713712 },
714713 .probe = panel_simple_platform_probe,
drivers/gpu/drm/rcar-du/rcar_du_drv.c+0−1
@@ -330,7 +330,6 @@ static struct platform_driver rcar_du_platform_driver = { · 329 unmodified lines
330330 .probe = rcar_du_probe,
331331 .remove = rcar_du_remove,
332332 .driver = {
333− .owner = THIS_MODULE,
334333 .name = "rcar-du",
335334 .pm = &rcar_du_pm_ops,
336335 .of_match_table = rcar_du_of_table,
drivers/gpu/drm/shmobile/shmob_drm_drv.c+0−1
@@ -348,7 +348,6 @@ static struct platform_driver shmob_drm_platform_driver = { · 347 unmodified lines
348348 .probe = shmob_drm_probe,
349349 .remove = shmob_drm_remove,
350350 .driver = {
351− .owner = THIS_MODULE,
352351 .name = "shmob-drm",
353352 .pm = &shmob_drm_pm_ops,
354353 },
drivers/gpu/drm/sti/sti_compositor.c+0−1
@@ -267,7 +267,6 @@ static int sti_compositor_remove(struct platform_device *pdev) · 266 unmodified lines
267267 static struct platform_driver sti_compositor_driver = {
268268 .driver = {
269269 .name = "sti-compositor",
270− .owner = THIS_MODULE,
271270 .of_match_table = compositor_of_match,
272271 },
273272 .probe = sti_compositor_probe,
drivers/gpu/drm/sti/sti_drm_drv.c+0−2
@@ -184,7 +184,6 @@ static struct platform_driver sti_drm_master_driver = { · 183 unmodified lines
184184 .probe = sti_drm_master_probe,
185185 .remove = sti_drm_master_remove,
186186 .driver = {
187− .owner = THIS_MODULE,
188187 .name = DRIVER_NAME "__master",
189188 },
190189 };
@@ -228,7 +227,6 @@ static struct platform_driver sti_drm_platform_driver = { · 37 unmodified lines
228227 .probe = sti_drm_platform_probe,
229228 .remove = sti_drm_platform_remove,
230229 .driver = {
231− .owner = THIS_MODULE,
232230 .name = DRIVER_NAME,
233231 .of_match_table = sti_drm_dt_ids,
234232 },
drivers/gpu/drm/tilcdc/tilcdc_drv.c+0−1
@@ -645,7 +645,6 @@ static struct platform_driver tilcdc_platform_driver = { · 644 unmodified lines
645645 .probe = tilcdc_pdev_probe,
646646 .remove = tilcdc_pdev_remove,
647647 .driver = {
648− .owner = THIS_MODULE,
649648 .name = "tilcdc",
650649 .pm = &tilcdc_pm_ops,
651650 .of_match_table = tilcdc_of_match,
drivers/hsi/controllers/omap_ssi.c+0−1
@@ -610,7 +610,6 @@ static struct platform_driver ssi_pdriver = { · 609 unmodified lines
610610 .remove = __exit_p(ssi_remove),
611611 .driver = {
612612 .name = "omap_ssi",
613− .owner = THIS_MODULE,
614613 .pm = DEV_PM_OPS,
615614 .of_match_table = omap_ssi_of_match,
616615 },
drivers/hsi/controllers/omap_ssi_port.c+0−1
@@ -1385,7 +1385,6 @@ static struct platform_driver ssi_port_pdriver = { · 1384 unmodified lines
13851385 .remove = __exit_p(ssi_port_remove),
13861386 .driver = {
13871387 .name = "omap_ssi_port",
1388− .owner = THIS_MODULE,
13891388 .of_match_table = omap_ssi_port_of_match,
13901389 .pm = DEV_PM_OPS,
13911390 },
drivers/hwmon/abituguru.c+0−1
@@ -1547,7 +1547,6 @@ static SIMPLE_DEV_PM_OPS(abituguru_pm, abituguru_suspend, abituguru_resume); · 1546 unmodified lines
15471547
15481548 static struct platform_driver abituguru_driver = {
15491549 .driver = {
1550− .owner = THIS_MODULE,
15511550 .name = ABIT_UGURU_NAME,
15521551 .pm = ABIT_UGURU_PM,
15531552 },
drivers/hwmon/abituguru3.c+0−1
@@ -1167,7 +1167,6 @@ static SIMPLE_DEV_PM_OPS(abituguru3_pm, abituguru3_suspend, abituguru3_resume); · 1166 unmodified lines
11671167
11681168 static struct platform_driver abituguru3_driver = {
11691169 .driver = {
1170− .owner = THIS_MODULE,
11711170 .name = ABIT_UGURU3_NAME,
11721171 .pm = ABIT_UGURU3_PM
11731172 },
drivers/hwmon/abx500.c+0−1
@@ -474,7 +474,6 @@ static const struct of_device_id abx500_temp_match[] = { · 473 unmodified lines
474474
475475 static struct platform_driver abx500_temp_driver = {
476476 .driver = {
477− .owner = THIS_MODULE,
478477 .name = "abx500-temp",
479478 .of_match_table = of_match_ptr(abx500_temp_match),
480479 },
drivers/hwmon/applesmc.c+0−1
@@ -676,7 +676,6 @@ static struct platform_driver applesmc_driver = { · 675 unmodified lines
676676 .probe = applesmc_probe,
677677 .driver = {
678678 .name = "applesmc",
679− .owner = THIS_MODULE,
680679 .pm = &applesmc_pm_ops,
681680 },
682681 };
drivers/hwmon/coretemp.c+0−1
@@ -596,7 +596,6 @@ static int coretemp_remove(struct platform_device *pdev) · 595 unmodified lines
596596
597597 static struct platform_driver coretemp_driver = {
598598 .driver = {
599− .owner = THIS_MODULE,
600599 .name = DRVNAME,
601600 },
602601 .probe = coretemp_probe,
drivers/hwmon/da9052-hwmon.c+0−1
@@ -282,7 +282,6 @@ static struct platform_driver da9052_hwmon_driver = { · 281 unmodified lines
282282 .probe = da9052_hwmon_probe,
283283 .driver = {
284284 .name = "da9052-hwmon",
285− .owner = THIS_MODULE,
286285 },
287286 };
288287
drivers/hwmon/da9055-hwmon.c+0−1
@@ -286,7 +286,6 @@ static struct platform_driver da9055_hwmon_driver = { · 285 unmodified lines
286286 .probe = da9055_hwmon_probe,
287287 .driver = {
288288 .name = "da9055-hwmon",
289− .owner = THIS_MODULE,
290289 },
291290 };
292291
drivers/hwmon/dme1737.c+0−1
@@ -2732,7 +2732,6 @@ static int dme1737_isa_remove(struct platform_device *pdev) · 2731 unmodified lines
27322732
27332733 static struct platform_driver dme1737_isa_driver = {
27342734 .driver = {
2735− .owner = THIS_MODULE,
27362735 .name = "dme1737",
27372736 },
27382737 .probe = dme1737_isa_probe,
drivers/hwmon/f71805f.c+0−1
@@ -1503,7 +1503,6 @@ static int f71805f_remove(struct platform_device *pdev) · 1502 unmodified lines
15031503
15041504 static struct platform_driver f71805f_driver = {
15051505 .driver = {
1506− .owner = THIS_MODULE,
15071506 .name = DRVNAME,
15081507 },
15091508 .probe = f71805f_probe,
drivers/hwmon/f71882fg.c+0−1
@@ -369,7 +369,6 @@ static int f71882fg_remove(struct platform_device *pdev); · 368 unmodified lines
369369
370370 static struct platform_driver f71882fg_driver = {
371371 .driver = {
372− .owner = THIS_MODULE,
373372 .name = DRVNAME,
374373 },
375374 .probe = f71882fg_probe,
drivers/hwmon/i5k_amb.c+0−1
@@ -581,7 +581,6 @@ static int i5k_amb_remove(struct platform_device *pdev) · 580 unmodified lines
581581
582582 static struct platform_driver i5k_amb_driver = {
583583 .driver = {
584− .owner = THIS_MODULE,
585584 .name = DRVNAME,
586585 },
587586 .probe = i5k_amb_probe,
drivers/hwmon/ibmpowernv.c+0−1
@@ -313,7 +313,6 @@ static struct platform_driver ibmpowernv_driver = { · 312 unmodified lines
313313 .probe = ibmpowernv_probe,
314314 .id_table = opal_sensor_driver_ids,
315315 .driver = {
316− .owner = THIS_MODULE,
317316 .name = DRVNAME,
318317 },
319318 };
drivers/hwmon/iio_hwmon.c+0−1
@@ -177,7 +177,6 @@ MODULE_DEVICE_TABLE(of, iio_hwmon_of_match); · 176 unmodified lines
177177 static struct platform_driver __refdata iio_hwmon_driver = {
178178 .driver = {
179179 .name = "iio_hwmon",
180− .owner = THIS_MODULE,
181180 .of_match_table = iio_hwmon_of_match,
182181 },
183182 .probe = iio_hwmon_probe,
drivers/hwmon/it87.c+0−1
@@ -498,7 +498,6 @@ static void it87_init_device(struct platform_device *pdev); · 497 unmodified lines
498498
499499 static struct platform_driver it87_driver = {
500500 .driver = {
501− .owner = THIS_MODULE,
502501 .name = DRVNAME,
503502 },
504503 .probe = it87_probe,
drivers/hwmon/jz4740-hwmon.c+0−1
@@ -172,7 +172,6 @@ static struct platform_driver jz4740_hwmon_driver = { · 171 unmodified lines
172172 .remove = jz4740_hwmon_remove,
173173 .driver = {
174174 .name = "jz4740-hwmon",
175− .owner = THIS_MODULE,
176175 },
177176 };
178177
drivers/hwmon/lm78.c+0−1
@@ -836,7 +836,6 @@ static int lm78_isa_probe(struct platform_device *pdev) · 835 unmodified lines
836836
837837 static struct platform_driver lm78_isa_driver = {
838838 .driver = {
839− .owner = THIS_MODULE,
840839 .name = "lm78",
841840 },
842841 .probe = lm78_isa_probe,
drivers/hwmon/max197.c+0−1
@@ -334,7 +334,6 @@ MODULE_DEVICE_TABLE(platform, max197_device_ids); · 333 unmodified lines
334334 static struct platform_driver max197_driver = {
335335 .driver = {
336336 .name = "max197",
337− .owner = THIS_MODULE,
338337 },
339338 .probe = max197_probe,
340339 .remove = max197_remove,
drivers/hwmon/mc13783-adc.c+0−1
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(platform, mc13783_adc_idtable); · 266 unmodified lines
267267 static struct platform_driver mc13783_adc_driver = {
268268 .remove = mc13783_adc_remove,
269269 .driver = {
270− .owner = THIS_MODULE,
271270 .name = DRIVER_NAME,
272271 },
273272 .id_table = mc13783_adc_idtable,
drivers/hwmon/menf21bmc_hwmon.c+0−1
@@ -219,7 +219,6 @@ static struct platform_driver menf21bmc_hwmon = { · 218 unmodified lines
219219 .probe = menf21bmc_hwmon_probe,
220220 .driver = {
221221 .name = DRV_NAME,
222− .owner = THIS_MODULE,
223222 },
224223 };
225224
drivers/hwmon/nct6683.c+0−1
@@ -1282,7 +1282,6 @@ static const struct dev_pm_ops nct6683_dev_pm_ops = { · 1281 unmodified lines
12821282
12831283 static struct platform_driver nct6683_driver = {
12841284 .driver = {
1285− .owner = THIS_MODULE,
12861285 .name = DRVNAME,
12871286 .pm = NCT6683_DEV_PM_OPS,
12881287 },
drivers/hwmon/nct6775.c+0−1
@@ -4080,7 +4080,6 @@ static const struct dev_pm_ops nct6775_dev_pm_ops = { · 4079 unmodified lines
40804080
40814081 static struct platform_driver nct6775_driver = {
40824082 .driver = {
4083− .owner = THIS_MODULE,
40844083 .name = DRVNAME,
40854084 .pm = NCT6775_DEV_PM_OPS,
40864085 },
drivers/hwmon/ntc_thermistor.c+0−1
@@ -609,7 +609,6 @@ static int ntc_thermistor_remove(struct platform_device *pdev) · 608 unmodified lines
609609 static struct platform_driver ntc_thermistor_driver = {
610610 .driver = {
611611 .name = "ntc-thermistor",
612− .owner = THIS_MODULE,
613612 .of_match_table = of_match_ptr(ntc_match),
614613 },
615614 .probe = ntc_thermistor_probe,
drivers/hwmon/pc87360.c+0−1
@@ -244,7 +244,6 @@ static struct pc87360_data *pc87360_update_device(struct device *dev); · 243 unmodified lines
244244
245245 static struct platform_driver pc87360_driver = {
246246 .driver = {
247− .owner = THIS_MODULE,
248247 .name = "pc87360",
249248 },
250249 .probe = pc87360_probe,
drivers/hwmon/pc87427.c+0−1
@@ -1153,7 +1153,6 @@ static int pc87427_remove(struct platform_device *pdev) · 1152 unmodified lines
11531153
11541154 static struct platform_driver pc87427_driver = {
11551155 .driver = {
1156− .owner = THIS_MODULE,
11571156 .name = DRVNAME,
11581157 },
11591158 .probe = pc87427_probe,
drivers/hwmon/s3c-hwmon.c+0−1
@@ -378,7 +378,6 @@ static int s3c_hwmon_remove(struct platform_device *dev) · 377 unmodified lines
378378 static struct platform_driver s3c_hwmon_driver = {
379379 .driver = {
380380 .name = "s3c-hwmon",
381− .owner = THIS_MODULE,
382381 },
383382 .probe = s3c_hwmon_probe,
384383 .remove = s3c_hwmon_remove,
drivers/hwmon/sch5627.c+0−1
@@ -591,7 +591,6 @@ error: · 590 unmodified lines
591591
592592 static struct platform_driver sch5627_driver = {
593593 .driver = {
594− .owner = THIS_MODULE,
595594 .name = DRVNAME,
596595 },
597596 .probe = sch5627_probe,
drivers/hwmon/sch5636.c+0−1
@@ -521,7 +521,6 @@ error: · 520 unmodified lines
521521
522522 static struct platform_driver sch5636_driver = {
523523 .driver = {
524− .owner = THIS_MODULE,
525524 .name = DRVNAME,
526525 },
527526 .probe = sch5636_probe,
drivers/hwmon/sht15.c+0−1
@@ -1087,7 +1087,6 @@ MODULE_DEVICE_TABLE(platform, sht15_device_ids); · 1086 unmodified lines
10871087 static struct platform_driver sht15_driver = {
10881088 .driver = {
10891089 .name = "sht15",
1090− .owner = THIS_MODULE,
10911090 },
10921091 .probe = sht15_probe,
10931092 .remove = sht15_remove,
drivers/hwmon/sis5595.c+0−1
@@ -215,7 +215,6 @@ static void sis5595_init_device(struct sis5595_data *data); · 214 unmodified lines
215215
216216 static struct platform_driver sis5595_driver = {
217217 .driver = {
218− .owner = THIS_MODULE,
219218 .name = "sis5595",
220219 },
221220 .probe = sis5595_probe,
drivers/hwmon/smsc47b397.c+0−1
@@ -219,7 +219,6 @@ static int smsc47b397_probe(struct platform_device *pdev); · 218 unmodified lines
219219
220220 static struct platform_driver smsc47b397_driver = {
221221 .driver = {
222− .owner = THIS_MODULE,
223222 .name = DRVNAME,
224223 },
225224 .probe = smsc47b397_probe,
drivers/hwmon/smsc47m1.c+0−1
@@ -849,7 +849,6 @@ static int __exit smsc47m1_remove(struct platform_device *pdev) · 848 unmodified lines
849849
850850 static struct platform_driver smsc47m1_driver = {
851851 .driver = {
852− .owner = THIS_MODULE,
853852 .name = DRVNAME,
854853 },
855854 .remove = __exit_p(smsc47m1_remove),
drivers/hwmon/twl4030-madc-hwmon.c+0−1
@@ -107,7 +107,6 @@ static struct platform_driver twl4030_madc_hwmon_driver = { · 106 unmodified lines
107107 .probe = twl4030_madc_hwmon_probe,
108108 .driver = {
109109 .name = "twl4030_madc_hwmon",
110− .owner = THIS_MODULE,
111110 },
112111 };
113112
drivers/hwmon/ultra45_env.c+0−1
@@ -314,7 +314,6 @@ MODULE_DEVICE_TABLE(of, env_match); · 313 unmodified lines
314314 static struct platform_driver env_driver = {
315315 .driver = {
316316 .name = "ultra45_env",
317− .owner = THIS_MODULE,
318317 .of_match_table = env_match,
319318 },
320319 .probe = env_probe,
drivers/hwmon/vexpress.c+0−1
@@ -247,7 +247,6 @@ static struct platform_driver vexpress_hwmon_driver = { · 246 unmodified lines
247247 .probe = vexpress_hwmon_probe,
248248 .driver = {
249249 .name = DRVNAME,
250− .owner = THIS_MODULE,
251250 .of_match_table = vexpress_hwmon_of_match,
252251 },
253252 };
drivers/hwmon/via-cputemp.c+0−1
@@ -205,7 +205,6 @@ static int via_cputemp_remove(struct platform_device *pdev) · 204 unmodified lines
205205
206206 static struct platform_driver via_cputemp_driver = {
207207 .driver = {
208− .owner = THIS_MODULE,
209208 .name = DRVNAME,
210209 },
211210 .probe = via_cputemp_probe,
drivers/hwmon/via686a.c+0−1
@@ -670,7 +670,6 @@ static const struct attribute_group via686a_group = { · 669 unmodified lines
670670
671671 static struct platform_driver via686a_driver = {
672672 .driver = {
673− .owner = THIS_MODULE,
674673 .name = "via686a",
675674 },
676675 .probe = via686a_probe,
drivers/hwmon/vt1211.c+0−1
@@ -1233,7 +1233,6 @@ static int vt1211_remove(struct platform_device *pdev) · 1232 unmodified lines
12331233
12341234 static struct platform_driver vt1211_driver = {
12351235 .driver = {
1236− .owner = THIS_MODULE,
12371236 .name = DRVNAME,
12381237 },
12391238 .probe = vt1211_probe,
drivers/hwmon/vt8231.c+0−1
@@ -759,7 +759,6 @@ static const struct attribute_group vt8231_group = { · 758 unmodified lines
759759
760760 static struct platform_driver vt8231_driver = {
761761 .driver = {
762− .owner = THIS_MODULE,
763762 .name = "vt8231",
764763 },
765764 .probe = vt8231_probe,
drivers/hwmon/w83627ehf.c+0−1
@@ -2705,7 +2705,6 @@ static const struct dev_pm_ops w83627ehf_dev_pm_ops = { · 2704 unmodified lines
27052705
27062706 static struct platform_driver w83627ehf_driver = {
27072707 .driver = {
2708− .owner = THIS_MODULE,
27092708 .name = DRVNAME,
27102709 .pm = W83627EHF_DEV_PM_OPS,
27112710 },
drivers/hwmon/w83627hf.c+0−1
@@ -474,7 +474,6 @@ static const struct dev_pm_ops w83627hf_dev_pm_ops = { · 473 unmodified lines
474474
475475 static struct platform_driver w83627hf_driver = {
476476 .driver = {
477− .owner = THIS_MODULE,
478477 .name = DRVNAME,
479478 .pm = W83627HF_DEV_PM_OPS,
480479 },
drivers/hwmon/w83781d.c+0−1
@@ -1839,7 +1839,6 @@ w83781d_isa_remove(struct platform_device *pdev) · 1838 unmodified lines
18391839
18401840 static struct platform_driver w83781d_isa_driver = {
18411841 .driver = {
1842− .owner = THIS_MODULE,
18431842 .name = "w83781d",
18441843 },
18451844 .probe = w83781d_isa_probe,
drivers/hwmon/wm831x-hwmon.c+0−1
@@ -154,7 +154,6 @@ static struct platform_driver wm831x_hwmon_driver = { · 153 unmodified lines
154154 .probe = wm831x_hwmon_probe,
155155 .driver = {
156156 .name = "wm831x-hwmon",
157− .owner = THIS_MODULE,
158157 },
159158 };
160159
drivers/hwmon/wm8350-hwmon.c+0−1
@@ -93,7 +93,6 @@ static struct platform_driver wm8350_hwmon_driver = { · 92 unmodified lines
9393 .probe = wm8350_hwmon_probe,
9494 .driver = {
9595 .name = "wm8350-hwmon",
96− .owner = THIS_MODULE,
9796 },
9897 };
9998
drivers/hwspinlock/omap_hwspinlock.c+0−1
@@ -179,7 +179,6 @@ static struct platform_driver omap_hwspinlock_driver = { · 178 unmodified lines
179179 .remove = omap_hwspinlock_remove,
180180 .driver = {
181181 .name = "omap_hwspinlock",
182− .owner = THIS_MODULE,
183182 },
184183 };
185184
drivers/hwspinlock/u8500_hsem.c+0−1
@@ -175,7 +175,6 @@ static struct platform_driver u8500_hsem_driver = { · 174 unmodified lines
175175 .remove = u8500_hsem_remove,
176176 .driver = {
177177 .name = "u8500_hsem",
178− .owner = THIS_MODULE,
179178 },
180179 };
181180
drivers/i2c/busses/i2c-at91.c+0−1
@@ -880,7 +880,6 @@ static struct platform_driver at91_twi_driver = { · 879 unmodified lines
880880 .id_table = at91_twi_devtypes,
881881 .driver = {
882882 .name = "at91_i2c",
883− .owner = THIS_MODULE,
884883 .of_match_table = of_match_ptr(atmel_twi_dt_ids),
885884 .pm = at91_twi_pm_ops,
886885 },
drivers/i2c/busses/i2c-au1550.c+0−1
@@ -413,7 +413,6 @@ static const struct dev_pm_ops i2c_au1550_pmops = { · 412 unmodified lines
413413 static struct platform_driver au1xpsc_smbus_driver = {
414414 .driver = {
415415 .name = "au1xpsc_smbus",
416− .owner = THIS_MODULE,
417416 .pm = AU1XPSC_SMBUS_PMOPS,
418417 },
419418 .probe = i2c_au1550_probe,
drivers/i2c/busses/i2c-bcm-kona.c+0−1
@@ -895,7 +895,6 @@ MODULE_DEVICE_TABLE(of, bcm_kona_i2c_of_match); · 894 unmodified lines
895895 static struct platform_driver bcm_kona_i2c_driver = {
896896 .driver = {
897897 .name = "bcm-kona-i2c",
898− .owner = THIS_MODULE,
899898 .of_match_table = bcm_kona_i2c_of_match,
900899 },
901900 .probe = bcm_kona_i2c_probe,
drivers/i2c/busses/i2c-bcm2835.c+0−1
@@ -313,7 +313,6 @@ static struct platform_driver bcm2835_i2c_driver = { · 312 unmodified lines
313313 .remove = bcm2835_i2c_remove,
314314 .driver = {
315315 .name = "i2c-bcm2835",
316− .owner = THIS_MODULE,
317316 .of_match_table = bcm2835_i2c_of_match,
318317 },
319318 };
drivers/i2c/busses/i2c-bfin-twi.c+0−1
@@ -717,7 +717,6 @@ static struct platform_driver i2c_bfin_twi_driver = { · 716 unmodified lines
717717 .remove = i2c_bfin_twi_remove,
718718 .driver = {
719719 .name = "i2c-bfin-twi",
720− .owner = THIS_MODULE,
721720 .pm = I2C_BFIN_TWI_PM_OPS,
722721 },
723722 };
drivers/i2c/busses/i2c-cadence.c+0−1
@@ -901,7 +901,6 @@ MODULE_DEVICE_TABLE(of, cdns_i2c_of_match); · 900 unmodified lines
901901 static struct platform_driver cdns_i2c_drv = {
902902 .driver = {
903903 .name = DRIVER_NAME,
904− .owner = THIS_MODULE,
905904 .of_match_table = cdns_i2c_of_match,
906905 .pm = &cdns_i2c_dev_pm_ops,
907906 },
drivers/i2c/busses/i2c-cbus-gpio.c+0−1
@@ -287,7 +287,6 @@ static struct platform_driver cbus_i2c_driver = { · 286 unmodified lines
287287 .probe = cbus_i2c_probe,
288288 .remove = cbus_i2c_remove,
289289 .driver = {
290− .owner = THIS_MODULE,
291290 .name = "i2c-cbus-gpio",
292291 .of_match_table = of_match_ptr(i2c_cbus_dt_ids),
293292 },
drivers/i2c/busses/i2c-cpm.c+0−1
@@ -716,7 +716,6 @@ static struct platform_driver cpm_i2c_driver = { · 715 unmodified lines
716716 .remove = cpm_i2c_remove,
717717 .driver = {
718718 .name = "fsl-i2c-cpm",
719− .owner = THIS_MODULE,
720719 .of_match_table = cpm_i2c_match,
721720 },
722721 };
drivers/i2c/busses/i2c-davinci.c+0−1
@@ -789,7 +789,6 @@ static struct platform_driver davinci_i2c_driver = { · 788 unmodified lines
789789 .remove = davinci_i2c_remove,
790790 .driver = {
791791 .name = "i2c_davinci",
792− .owner = THIS_MODULE,
793792 .pm = davinci_i2c_pm_ops,
794793 .of_match_table = davinci_i2c_of_match,
795794 },
drivers/i2c/busses/i2c-designware-platdrv.c+0−1
@@ -327,7 +327,6 @@ static struct platform_driver dw_i2c_driver = { · 326 unmodified lines
327327 .remove = dw_i2c_remove,
328328 .driver = {
329329 .name = "i2c_designware",
330− .owner = THIS_MODULE,
331330 .of_match_table = of_match_ptr(dw_i2c_of_match),
332331 .acpi_match_table = ACPI_PTR(dw_i2c_acpi_match),
333332 .pm = &dw_i2c_dev_pm_ops,
drivers/i2c/busses/i2c-efm32.c+0−1
@@ -473,7 +473,6 @@ static struct platform_driver efm32_i2c_driver = { · 472 unmodified lines
473473
474474 .driver = {
475475 .name = DRIVER_NAME,
476− .owner = THIS_MODULE,
477476 .of_match_table = efm32_i2c_dt_ids,
478477 },
479478 };
drivers/i2c/busses/i2c-exynos5.c+0−1
@@ -861,7 +861,6 @@ static struct platform_driver exynos5_i2c_driver = { · 860 unmodified lines
861861 .probe = exynos5_i2c_probe,
862862 .remove = exynos5_i2c_remove,
863863 .driver = {
864− .owner = THIS_MODULE,
865864 .name = "exynos5-hsi2c",
866865 .pm = &exynos5_i2c_dev_pm_ops,
867866 .of_match_table = exynos5_i2c_match,
drivers/i2c/busses/i2c-gpio.c+0−1
@@ -260,7 +260,6 @@ MODULE_DEVICE_TABLE(of, i2c_gpio_dt_ids); · 259 unmodified lines
260260 static struct platform_driver i2c_gpio_driver = {
261261 .driver = {
262262 .name = "i2c-gpio",
263− .owner = THIS_MODULE,
264263 .of_match_table = of_match_ptr(i2c_gpio_dt_ids),
265264 },
266265 .probe = i2c_gpio_probe,
drivers/i2c/busses/i2c-highlander.c+0−1
@@ -456,7 +456,6 @@ static int highlander_i2c_remove(struct platform_device *pdev) · 455 unmodified lines
456456 static struct platform_driver highlander_i2c_driver = {
457457 .driver = {
458458 .name = "i2c-highlander",
459− .owner = THIS_MODULE,
460459 },
461460
462461 .probe = highlander_i2c_probe,
drivers/i2c/busses/i2c-ibm_iic.c+0−1
@@ -802,7 +802,6 @@ static const struct of_device_id ibm_iic_match[] = { · 801 unmodified lines
802802 static struct platform_driver ibm_iic_driver = {
803803 .driver = {
804804 .name = "ibm-iic",
805− .owner = THIS_MODULE,
806805 .of_match_table = ibm_iic_match,
807806 },
808807 .probe = iic_probe,
drivers/i2c/busses/i2c-imx.c+0−1
@@ -1098,7 +1098,6 @@ static struct platform_driver i2c_imx_driver = { · 1097 unmodified lines
10981098 .remove = i2c_imx_remove,
10991099 .driver = {
11001100 .name = DRIVER_NAME,
1101− .owner = THIS_MODULE,
11021101 .of_match_table = i2c_imx_dt_ids,
11031102 },
11041103 .id_table = imx_i2c_devtype,
drivers/i2c/busses/i2c-iop3xx.c+0−1
@@ -516,7 +516,6 @@ static struct platform_driver iop3xx_i2c_driver = { · 515 unmodified lines
516516 .probe = iop3xx_i2c_probe,
517517 .remove = iop3xx_i2c_remove,
518518 .driver = {
519− .owner = THIS_MODULE,
520519 .name = "IOP3xx-I2C",
521520 },
522521 };
drivers/i2c/busses/i2c-isch.c+0−1
@@ -309,7 +309,6 @@ static int smbus_sch_remove(struct platform_device *pdev) · 308 unmodified lines
309309 static struct platform_driver smbus_sch_driver = {
310310 .driver = {
311311 .name = "isch_smbus",
312− .owner = THIS_MODULE,
313312 },
314313 .probe = smbus_sch_probe,
315314 .remove = smbus_sch_remove,
drivers/i2c/busses/i2c-kempld.c+0−1
@@ -394,7 +394,6 @@ static int kempld_i2c_resume(struct platform_device *pdev) · 393 unmodified lines
394394 static struct platform_driver kempld_i2c_driver = {
395395 .driver = {
396396 .name = "kempld-i2c",
397− .owner = THIS_MODULE,
398397 },
399398 .probe = kempld_i2c_probe,
400399 .remove = kempld_i2c_remove,
drivers/i2c/busses/i2c-mpc.c+0−1
@@ -813,7 +813,6 @@ static struct platform_driver mpc_i2c_driver = { · 812 unmodified lines
813813 .probe = fsl_i2c_probe,
814814 .remove = fsl_i2c_remove,
815815 .driver = {
816− .owner = THIS_MODULE,
817816 .name = DRV_NAME,
818817 .of_match_table = mpc_i2c_of_match,
819818 .pm = MPC_I2C_PM_OPS,
drivers/i2c/busses/i2c-mv64xxx.c+0−1
@@ -925,7 +925,6 @@ static struct platform_driver mv64xxx_i2c_driver = { · 924 unmodified lines
925925 .probe = mv64xxx_i2c_probe,
926926 .remove = mv64xxx_i2c_remove,
927927 .driver = {
928− .owner = THIS_MODULE,
929928 .name = MV64XXX_I2C_CTLR_NAME,
930929 .of_match_table = mv64xxx_i2c_of_match_table,
931930 },
drivers/i2c/busses/i2c-mxs.c+0−1
@@ -893,7 +893,6 @@ static int mxs_i2c_remove(struct platform_device *pdev) · 892 unmodified lines
893893 static struct platform_driver mxs_i2c_driver = {
894894 .driver = {
895895 .name = DRIVER_NAME,
896− .owner = THIS_MODULE,
897896 .of_match_table = mxs_i2c_dt_ids,
898897 },
899898 .probe = mxs_i2c_probe,
drivers/i2c/busses/i2c-ocores.c+0−1
@@ -480,7 +480,6 @@ static struct platform_driver ocores_i2c_driver = { · 479 unmodified lines
480480 .probe = ocores_i2c_probe,
481481 .remove = ocores_i2c_remove,
482482 .driver = {
483− .owner = THIS_MODULE,
484483 .name = "ocores-i2c",
485484 .of_match_table = ocores_i2c_match,
486485 .pm = OCORES_I2C_PM,
drivers/i2c/busses/i2c-octeon.c+0−1
@@ -623,7 +623,6 @@ static struct platform_driver octeon_i2c_driver = { · 622 unmodified lines
623623 .probe = octeon_i2c_probe,
624624 .remove = octeon_i2c_remove,
625625 .driver = {
626− .owner = THIS_MODULE,
627626 .name = DRV_NAME,
628627 .of_match_table = octeon_i2c_match,
629628 },
drivers/i2c/busses/i2c-omap.c+0−1
@@ -1453,7 +1453,6 @@ static struct platform_driver omap_i2c_driver = { · 1452 unmodified lines
14531453 .remove = omap_i2c_remove,
14541454 .driver = {
14551455 .name = "omap_i2c",
1456− .owner = THIS_MODULE,
14571456 .pm = OMAP_I2C_PM_OPS,
14581457 .of_match_table = of_match_ptr(omap_i2c_of_match),
14591458 },
drivers/i2c/busses/i2c-parport-light.c+0−1
@@ -183,7 +183,6 @@ static int i2c_parport_remove(struct platform_device *pdev) · 182 unmodified lines
183183
184184 static struct platform_driver i2c_parport_driver = {
185185 .driver = {
186− .owner = THIS_MODULE,
187186 .name = DRVNAME,
188187 },
189188 .probe = i2c_parport_probe,
drivers/i2c/busses/i2c-pca-platform.c+0−1
@@ -280,7 +280,6 @@ static struct platform_driver i2c_pca_pf_driver = { · 279 unmodified lines
280280 .remove = i2c_pca_pf_remove,
281281 .driver = {
282282 .name = "i2c-pca-platform",
283− .owner = THIS_MODULE,
284283 },
285284 };
286285
drivers/i2c/busses/i2c-pmcmsp.c+0−1
@@ -624,7 +624,6 @@ static struct platform_driver pmcmsptwi_driver = { · 623 unmodified lines
624624 .remove = pmcmsptwi_remove,
625625 .driver = {
626626 .name = DRV_NAME,
627− .owner = THIS_MODULE,
628627 },
629628 };
630629
drivers/i2c/busses/i2c-pnx.c+0−1
@@ -751,7 +751,6 @@ MODULE_DEVICE_TABLE(of, i2c_pnx_of_match); · 750 unmodified lines
751751 static struct platform_driver i2c_pnx_driver = {
752752 .driver = {
753753 .name = "pnx-i2c",
754− .owner = THIS_MODULE,
755754 .of_match_table = of_match_ptr(i2c_pnx_of_match),
756755 .pm = PNX_I2C_PM,
757756 },
drivers/i2c/busses/i2c-puv3.c+0−1
@@ -270,7 +270,6 @@ static struct platform_driver puv3_i2c_driver = { · 269 unmodified lines
270270 .remove = puv3_i2c_remove,
271271 .driver = {
272272 .name = "PKUnity-v3-I2C",
273− .owner = THIS_MODULE,
274273 .pm = PUV3_I2C_PM,
275274 }
276275 };
drivers/i2c/busses/i2c-pxa.c+0−1
@@ -1333,7 +1333,6 @@ static struct platform_driver i2c_pxa_driver = { · 1332 unmodified lines
13331333 .remove = i2c_pxa_remove,
13341334 .driver = {
13351335 .name = "pxa2xx-i2c",
1336− .owner = THIS_MODULE,
13371336 .pm = I2C_PXA_DEV_PM_OPS,
13381337 .of_match_table = i2c_pxa_dt_ids,
13391338 },
drivers/i2c/busses/i2c-qup.c+0−1
@@ -764,7 +764,6 @@ static struct platform_driver qup_i2c_driver = { · 763 unmodified lines
764764 .remove = qup_i2c_remove,
765765 .driver = {
766766 .name = "i2c_qup",
767− .owner = THIS_MODULE,
768767 .pm = &qup_i2c_qup_pm_ops,
769768 .of_match_table = qup_i2c_dt_match,
770769 },
drivers/i2c/busses/i2c-rcar.c+0−1
@@ -726,7 +726,6 @@ MODULE_DEVICE_TABLE(platform, rcar_i2c_id_table); · 725 unmodified lines
726726 static struct platform_driver rcar_i2c_driver = {
727727 .driver = {
728728 .name = "i2c-rcar",
729− .owner = THIS_MODULE,
730729 .of_match_table = rcar_i2c_dt_ids,
731730 },
732731 .probe = rcar_i2c_probe,
drivers/i2c/busses/i2c-riic.c+0−1
@@ -414,7 +414,6 @@ static struct platform_driver riic_i2c_driver = { · 413 unmodified lines
414414 .remove = riic_i2c_remove,
415415 .driver = {
416416 .name = "i2c-riic",
417− .owner = THIS_MODULE,
418417 .of_match_table = riic_i2c_dt_ids,
419418 },
420419 };
drivers/i2c/busses/i2c-rk3x.c+0−1
@@ -980,7 +980,6 @@ static struct platform_driver rk3x_i2c_driver = { · 979 unmodified lines
980980 .probe = rk3x_i2c_probe,
981981 .remove = rk3x_i2c_remove,
982982 .driver = {
983− .owner = THIS_MODULE,
984983 .name = "rk3x-i2c",
985984 .of_match_table = rk3x_i2c_match,
986985 },
drivers/i2c/busses/i2c-s3c2410.c+0−1
@@ -1330,7 +1330,6 @@ static struct platform_driver s3c24xx_i2c_driver = { · 1329 unmodified lines
13301330 .remove = s3c24xx_i2c_remove,
13311331 .id_table = s3c24xx_driver_ids,
13321332 .driver = {
1333− .owner = THIS_MODULE,
13341333 .name = "s3c-i2c",
13351334 .pm = S3C24XX_DEV_PM_OPS,
13361335 .of_match_table = of_match_ptr(s3c24xx_i2c_match),
drivers/i2c/busses/i2c-sh7760.c+0−1
@@ -552,7 +552,6 @@ static int sh7760_i2c_remove(struct platform_device *pdev) · 551 unmodified lines
552552 static struct platform_driver sh7760_i2c_drv = {
553553 .driver = {
554554 .name = SH7760_I2C_DEVNAME,
555− .owner = THIS_MODULE,
556555 },
557556 .probe = sh7760_i2c_probe,
558557 .remove = sh7760_i2c_remove,
drivers/i2c/busses/i2c-sh_mobile.c+0−1
@@ -973,7 +973,6 @@ static const struct dev_pm_ops sh_mobile_i2c_dev_pm_ops = { · 972 unmodified lines
973973 static struct platform_driver sh_mobile_i2c_driver = {
974974 .driver = {
975975 .name = "i2c-sh_mobile",
976− .owner = THIS_MODULE,
977976 .pm = &sh_mobile_i2c_dev_pm_ops,
978977 .of_match_table = sh_mobile_i2c_dt_ids,
979978 },
drivers/i2c/busses/i2c-simtec.c+0−1
@@ -154,7 +154,6 @@ static int simtec_i2c_remove(struct platform_device *dev) · 153 unmodified lines
154154 static struct platform_driver simtec_i2c_driver = {
155155 .driver = {
156156 .name = "simtec-i2c",
157− .owner = THIS_MODULE,
158157 },
159158 .probe = simtec_i2c_probe,
160159 .remove = simtec_i2c_remove,
drivers/i2c/busses/i2c-sirf.c+0−1
@@ -451,7 +451,6 @@ MODULE_DEVICE_TABLE(of, sirfsoc_i2c_of_match); · 450 unmodified lines
451451 static struct platform_driver i2c_sirfsoc_driver = {
452452 .driver = {
453453 .name = "sirfsoc_i2c",
454− .owner = THIS_MODULE,
455454 #ifdef CONFIG_PM
456455 .pm = &i2c_sirfsoc_pm_ops,
457456 #endif
drivers/i2c/busses/i2c-st.c+0−1
@@ -863,7 +863,6 @@ MODULE_DEVICE_TABLE(of, st_i2c_match); · 862 unmodified lines
863863 static struct platform_driver st_i2c_driver = {
864864 .driver = {
865865 .name = "st-i2c",
866− .owner = THIS_MODULE,
867866 .of_match_table = st_i2c_match,
868867 .pm = ST_I2C_PM,
869868 },
drivers/i2c/busses/i2c-stu300.c+0−1
@@ -981,7 +981,6 @@ static const struct of_device_id stu300_dt_match[] = { · 980 unmodified lines
981981 static struct platform_driver stu300_i2c_driver = {
982982 .driver = {
983983 .name = NAME,
984− .owner = THIS_MODULE,
985984 .pm = STU300_I2C_PM,
986985 .of_match_table = stu300_dt_match,
987986 },
drivers/i2c/busses/i2c-sun6i-p2wi.c+0−1
@@ -332,7 +332,6 @@ static struct platform_driver p2wi_driver = { · 331 unmodified lines
332332 .probe = p2wi_probe,
333333 .remove = p2wi_remove,
334334 .driver = {
335− .owner = THIS_MODULE,
336335 .name = "i2c-sunxi-p2wi",
337336 .of_match_table = p2wi_of_match_table,
338337 },
drivers/i2c/busses/i2c-tegra.c+0−1
@@ -893,7 +893,6 @@ static struct platform_driver tegra_i2c_driver = { · 892 unmodified lines
893893 .remove = tegra_i2c_remove,
894894 .driver = {
895895 .name = "tegra-i2c",
896− .owner = THIS_MODULE,
897896 .of_match_table = tegra_i2c_of_match,
898897 .pm = TEGRA_I2C_PM,
899898 },
drivers/i2c/busses/i2c-versatile.c+0−1
@@ -138,7 +138,6 @@ static struct platform_driver i2c_versatile_driver = { · 137 unmodified lines
138138 .remove = i2c_versatile_remove,
139139 .driver = {
140140 .name = "versatile-i2c",
141− .owner = THIS_MODULE,
142141 .of_match_table = i2c_versatile_match,
143142 },
144143 };
drivers/i2c/busses/i2c-wmt.c+0−1
@@ -462,7 +462,6 @@ static struct platform_driver wmt_i2c_driver = { · 461 unmodified lines
462462 .remove = wmt_i2c_remove,
463463 .driver = {
464464 .name = "wmt-i2c",
465− .owner = THIS_MODULE,
466465 .of_match_table = wmt_i2c_dt_ids,
467466 },
468467 };
drivers/i2c/busses/i2c-xiic.c+0−1
@@ -815,7 +815,6 @@ static struct platform_driver xiic_i2c_driver = { · 814 unmodified lines
815815 .probe = xiic_i2c_probe,
816816 .remove = xiic_i2c_remove,
817817 .driver = {
818− .owner = THIS_MODULE,
819818 .name = DRIVER_NAME,
820819 .of_match_table = of_match_ptr(xiic_of_match),
821820 },
drivers/i2c/busses/i2c-xlr.c+0−1
@@ -263,7 +263,6 @@ static struct platform_driver xlr_i2c_driver = { · 262 unmodified lines
263263 .remove = xlr_i2c_remove,
264264 .driver = {
265265 .name = "xlr-i2cbus",
266− .owner = THIS_MODULE,
267266 },
268267 };
269268
drivers/i2c/busses/scx200_acb.c+0−1
@@ -544,7 +544,6 @@ static int scx200_remove(struct platform_device *pdev) · 543 unmodified lines
544544 static struct platform_driver scx200_pci_driver = {
545545 .driver = {
546546 .name = "cs5535-smb",
547− .owner = THIS_MODULE,
548547 },
549548 .probe = scx200_probe,
550549 .remove = scx200_remove,
drivers/i2c/muxes/i2c-arb-gpio-challenge.c+0−1
@@ -235,7 +235,6 @@ static struct platform_driver i2c_arbitrator_driver = { · 234 unmodified lines
235235 .probe = i2c_arbitrator_probe,
236236 .remove = i2c_arbitrator_remove,
237237 .driver = {
238− .owner = THIS_MODULE,
239238 .name = "i2c-arb-gpio-challenge",
240239 .of_match_table = i2c_arbitrator_of_match,
241240 },
drivers/i2c/muxes/i2c-mux-gpio.c+0−1
@@ -280,7 +280,6 @@ static struct platform_driver i2c_mux_gpio_driver = { · 279 unmodified lines
280280 .probe = i2c_mux_gpio_probe,
281281 .remove = i2c_mux_gpio_remove,
282282 .driver = {
283− .owner = THIS_MODULE,
284283 .name = "i2c-mux-gpio",
285284 .of_match_table = i2c_mux_gpio_of_match,
286285 },
drivers/i2c/muxes/i2c-mux-pinctrl.c+0−1
@@ -264,7 +264,6 @@ MODULE_DEVICE_TABLE(of, i2c_mux_pinctrl_of_match); · 263 unmodified lines
264264 static struct platform_driver i2c_mux_pinctrl_driver = {
265265 .driver = {
266266 .name = "i2c-mux-pinctrl",
267− .owner = THIS_MODULE,
268267 .of_match_table = of_match_ptr(i2c_mux_pinctrl_of_match),
269268 },
270269 .probe = i2c_mux_pinctrl_probe,
drivers/ide/au1xxx-ide.c+0−1
@@ -586,7 +586,6 @@ static int au_ide_remove(struct platform_device *dev) · 585 unmodified lines
586586 static struct platform_driver au1200_ide_driver = {
587587 .driver = {
588588 .name = "au1200-ide",
589− .owner = THIS_MODULE,
590589 },
591590 .probe = au_ide_probe,
592591 .remove = au_ide_remove,
drivers/ide/gayle.c+0−1
@@ -179,7 +179,6 @@ static struct platform_driver amiga_gayle_ide_driver = { · 178 unmodified lines
179179 .remove = __exit_p(amiga_gayle_ide_remove),
180180 .driver = {
181181 .name = "amiga-gayle-ide",
182− .owner = THIS_MODULE,
183182 },
184183 };
185184
drivers/ide/ide_platform.c+0−1
@@ -125,7 +125,6 @@ static int plat_ide_remove(struct platform_device *pdev) · 124 unmodified lines
125125 static struct platform_driver platform_ide_driver = {
126126 .driver = {
127127 .name = "pata_platform",
128− .owner = THIS_MODULE,
129128 },
130129 .probe = plat_ide_probe,
131130 .remove = plat_ide_remove,
drivers/ide/palm_bk3710.c+0−1
@@ -386,7 +386,6 @@ MODULE_ALIAS("platform:palm_bk3710"); · 385 unmodified lines
386386 static struct platform_driver platform_bk_driver = {
387387 .driver = {
388388 .name = "palm_bk3710",
389− .owner = THIS_MODULE,
390389 },
391390 };
392391
drivers/ide/tx4938ide.c+0−1
@@ -198,7 +198,6 @@ static int __exit tx4938ide_remove(struct platform_device *pdev) · 197 unmodified lines
198198 static struct platform_driver tx4938ide_driver = {
199199 .driver = {
200200 .name = "tx4938ide",
201− .owner = THIS_MODULE,
202201 },
203202 .remove = __exit_p(tx4938ide_remove),
204203 };
drivers/ide/tx4939ide.c+0−1
@@ -618,7 +618,6 @@ static int tx4939ide_resume(struct platform_device *dev) · 617 unmodified lines
618618 static struct platform_driver tx4939ide_driver = {
619619 .driver = {
620620 .name = MODNAME,
621− .owner = THIS_MODULE,
622621 },
623622 .remove = __exit_p(tx4939ide_remove),
624623 .resume = tx4939ide_resume,
drivers/iio/adc/rockchip_saradc.c+0−1
@@ -307,7 +307,6 @@ static struct platform_driver rockchip_saradc_driver = { · 306 unmodified lines
307307 .remove = rockchip_saradc_remove,
308308 .driver = {
309309 .name = "rockchip-saradc",
310− .owner = THIS_MODULE,
311310 .of_match_table = rockchip_saradc_match,
312311 .pm = &rockchip_saradc_pm_ops,
313312 },
drivers/input/keyboard/adp5520-keys.c+0−1
@@ -184,7 +184,6 @@ static int adp5520_keys_remove(struct platform_device *pdev) · 183 unmodified lines
184184 static struct platform_driver adp5520_keys_driver = {
185185 .driver = {
186186 .name = "adp5520-keys",
187− .owner = THIS_MODULE,
188187 },
189188 .probe = adp5520_keys_probe,
190189 .remove = adp5520_keys_remove,
drivers/input/keyboard/amikbd.c+0−1
@@ -255,7 +255,6 @@ static struct platform_driver amikbd_driver = { · 254 unmodified lines
255255 .remove = __exit_p(amikbd_remove),
256256 .driver = {
257257 .name = "amiga-keyboard",
258− .owner = THIS_MODULE,
259258 },
260259 };
261260
drivers/input/keyboard/bf54x-keys.c+0−1
@@ -385,7 +385,6 @@ static int bfin_kpad_resume(struct platform_device *pdev) · 384 unmodified lines
385385 static struct platform_driver bfin_kpad_device_driver = {
386386 .driver = {
387387 .name = DRV_NAME,
388− .owner = THIS_MODULE,
389388 },
390389 .probe = bfin_kpad_probe,
391390 .remove = bfin_kpad_remove,
drivers/input/keyboard/clps711x-keypad.c+0−1
@@ -194,7 +194,6 @@ MODULE_DEVICE_TABLE(of, clps711x_keypad_of_match); · 193 unmodified lines
194194 static struct platform_driver clps711x_keypad_driver = {
195195 .driver = {
196196 .name = "clps711x-keypad",
197− .owner = THIS_MODULE,
198197 .of_match_table = clps711x_keypad_of_match,
199198 },
200199 .probe = clps711x_keypad_probe,
drivers/input/keyboard/davinci_keyscan.c+0−1
@@ -322,7 +322,6 @@ static int davinci_ks_remove(struct platform_device *pdev) · 321 unmodified lines
322322 static struct platform_driver davinci_ks_driver = {
323323 .driver = {
324324 .name = "davinci_keyscan",
325− .owner = THIS_MODULE,
326325 },
327326 .remove = davinci_ks_remove,
328327 };
drivers/input/keyboard/ep93xx_keypad.c+0−1
@@ -373,7 +373,6 @@ static int ep93xx_keypad_remove(struct platform_device *pdev) · 372 unmodified lines
373373 static struct platform_driver ep93xx_keypad_driver = {
374374 .driver = {
375375 .name = "ep93xx-keypad",
376− .owner = THIS_MODULE,
377376 .pm = &ep93xx_keypad_pm_ops,
378377 },
379378 .probe = ep93xx_keypad_probe,
drivers/input/keyboard/goldfish_events.c+0−1
@@ -181,7 +181,6 @@ static int events_probe(struct platform_device *pdev) · 180 unmodified lines
181181 static struct platform_driver events_driver = {
182182 .probe = events_probe,
183183 .driver = {
184− .owner = THIS_MODULE,
185184 .name = "goldfish_events",
186185 },
187186 };
drivers/input/keyboard/gpio_keys.c+0−1
@@ -835,7 +835,6 @@ static struct platform_driver gpio_keys_device_driver = { · 834 unmodified lines
835835 .remove = gpio_keys_remove,
836836 .driver = {
837837 .name = "gpio-keys",
838− .owner = THIS_MODULE,
839838 .pm = &gpio_keys_pm_ops,
840839 .of_match_table = of_match_ptr(gpio_keys_of_match),
841840 }
drivers/input/keyboard/gpio_keys_polled.c+0−1
@@ -297,7 +297,6 @@ static struct platform_driver gpio_keys_polled_driver = { · 296 unmodified lines
297297 .probe = gpio_keys_polled_probe,
298298 .driver = {
299299 .name = DRV_NAME,
300− .owner = THIS_MODULE,
301300 .of_match_table = gpio_keys_polled_of_match,
302301 },
303302 };
drivers/input/keyboard/imx_keypad.c+0−1
@@ -580,7 +580,6 @@ static SIMPLE_DEV_PM_OPS(imx_kbd_pm_ops, imx_kbd_suspend, imx_kbd_resume); · 579 unmodified lines
580580 static struct platform_driver imx_keypad_driver = {
581581 .driver = {
582582 .name = "imx-keypad",
583− .owner = THIS_MODULE,
584583 .pm = &imx_kbd_pm_ops,
585584 .of_match_table = of_match_ptr(imx_keypad_of_match),
586585 },
drivers/input/keyboard/jornada680_kbd.c+0−1
@@ -237,7 +237,6 @@ static int jornada680kbd_probe(struct platform_device *pdev) · 236 unmodified lines
237237 static struct platform_driver jornada680kbd_driver = {
238238 .driver = {
239239 .name = "jornada680_kbd",
240− .owner = THIS_MODULE,
241240 },
242241 .probe = jornada680kbd_probe,
243242 };
drivers/input/keyboard/jornada720_kbd.c+0−1
@@ -167,7 +167,6 @@ MODULE_ALIAS("platform:jornada720_kbd"); · 166 unmodified lines
167167 static struct platform_driver jornada720_kbd_driver = {
168168 .driver = {
169169 .name = "jornada720_kbd",
170− .owner = THIS_MODULE,
171170 },
172171 .probe = jornada720_kbd_probe,
173172 .remove = jornada720_kbd_remove,
drivers/input/keyboard/lpc32xx-keys.c+0−1
@@ -381,7 +381,6 @@ static struct platform_driver lpc32xx_kscan_driver = { · 380 unmodified lines
381381 .remove = lpc32xx_kscan_remove,
382382 .driver = {
383383 .name = DRV_NAME,
384− .owner = THIS_MODULE,
385384 .pm = &lpc32xx_kscan_pm_ops,
386385 .of_match_table = lpc32xx_kscan_match,
387386 }
drivers/input/keyboard/matrix_keypad.c+0−1
@@ -565,7 +565,6 @@ static struct platform_driver matrix_keypad_driver = { · 564 unmodified lines
565565 .remove = matrix_keypad_remove,
566566 .driver = {
567567 .name = "matrix-keypad",
568− .owner = THIS_MODULE,
569568 .pm = &matrix_keypad_pm_ops,
570569 .of_match_table = of_match_ptr(matrix_keypad_dt_match),
571570 },
drivers/input/keyboard/nomadik-ske-keypad.c+0−1
@@ -425,7 +425,6 @@ static SIMPLE_DEV_PM_OPS(ske_keypad_dev_pm_ops, · 424 unmodified lines
425425 static struct platform_driver ske_keypad_driver = {
426426 .driver = {
427427 .name = "nmk-ske-keypad",
428− .owner = THIS_MODULE,
429428 .pm = &ske_keypad_dev_pm_ops,
430429 },
431430 .remove = ske_keypad_remove,
drivers/input/keyboard/nspire-keypad.c+0−1
@@ -268,7 +268,6 @@ MODULE_DEVICE_TABLE(of, nspire_keypad_dt_match); · 267 unmodified lines
268268 static struct platform_driver nspire_keypad_driver = {
269269 .driver = {
270270 .name = "nspire-keypad",
271− .owner = THIS_MODULE,
272271 .of_match_table = nspire_keypad_dt_match,
273272 },
274273 .probe = nspire_keypad_probe,
drivers/input/keyboard/omap-keypad.c+0−1
@@ -383,7 +383,6 @@ static struct platform_driver omap_kp_driver = { · 382 unmodified lines
383383 .resume = omap_kp_resume,
384384 .driver = {
385385 .name = "omap-keypad",
386− .owner = THIS_MODULE,
387386 },
388387 };
389388 module_platform_driver(omap_kp_driver);
drivers/input/keyboard/omap4-keypad.c+0−1
@@ -460,7 +460,6 @@ static struct platform_driver omap4_keypad_driver = { · 459 unmodified lines
460460 .remove = omap4_keypad_remove,
461461 .driver = {
462462 .name = "omap4-keypad",
463− .owner = THIS_MODULE,
464463 .pm = &omap4_keypad_pm_ops,
465464 .of_match_table = omap_keypad_dt_match,
466465 },
drivers/input/keyboard/pmic8xxx-keypad.c+0−1
@@ -687,7 +687,6 @@ static struct platform_driver pmic8xxx_kp_driver = { · 686 unmodified lines
687687 .probe = pmic8xxx_kp_probe,
688688 .driver = {
689689 .name = "pm8xxx-keypad",
690− .owner = THIS_MODULE,
691690 .pm = &pm8xxx_kp_pm_ops,
692691 .of_match_table = pm8xxx_match_table,
693692 },
drivers/input/keyboard/pxa27x_keypad.c+0−1
@@ -881,7 +881,6 @@ static struct platform_driver pxa27x_keypad_driver = { · 880 unmodified lines
881881 .driver = {
882882 .name = "pxa27x-keypad",
883883 .of_match_table = of_match_ptr(pxa27x_keypad_dt_match),
884− .owner = THIS_MODULE,
885884 .pm = &pxa27x_keypad_pm_ops,
886885 },
887886 };
drivers/input/keyboard/pxa930_rotary.c+0−1
@@ -189,7 +189,6 @@ static int pxa930_rotary_remove(struct platform_device *pdev) · 188 unmodified lines
189189 static struct platform_driver pxa930_rotary_driver = {
190190 .driver = {
191191 .name = "pxa930-rotary",
192− .owner = THIS_MODULE,
193192 },
194193 .probe = pxa930_rotary_probe,
195194 .remove = pxa930_rotary_remove,
drivers/input/keyboard/samsung-keypad.c+0−1
@@ -602,7 +602,6 @@ static struct platform_driver samsung_keypad_driver = { · 601 unmodified lines
602602 .remove = samsung_keypad_remove,
603603 .driver = {
604604 .name = "samsung-keypad",
605− .owner = THIS_MODULE,
606605 .of_match_table = of_match_ptr(samsung_keypad_dt_match),
607606 .pm = &samsung_keypad_pm_ops,
608607 },
drivers/input/keyboard/spear-keyboard.c+0−1
@@ -385,7 +385,6 @@ static struct platform_driver spear_kbd_driver = { · 384 unmodified lines
385385 .remove = spear_kbd_remove,
386386 .driver = {
387387 .name = "keyboard",
388− .owner = THIS_MODULE,
389388 .pm = &spear_kbd_pm_ops,
390389 .of_match_table = of_match_ptr(spear_kbd_id_table),
391390 },
drivers/input/keyboard/tc3589x-keypad.c+0−1
@@ -505,7 +505,6 @@ static SIMPLE_DEV_PM_OPS(tc3589x_keypad_dev_pm_ops, · 504 unmodified lines
505505 static struct platform_driver tc3589x_keypad_driver = {
506506 .driver = {
507507 .name = "tc3589x-keypad",
508− .owner = THIS_MODULE,
509508 .pm = &tc3589x_keypad_dev_pm_ops,
510509 },
511510 .probe = tc3589x_keypad_probe,
drivers/input/keyboard/tegra-kbc.c+0−1
@@ -822,7 +822,6 @@ static struct platform_driver tegra_kbc_driver = { · 821 unmodified lines
822822 .probe = tegra_kbc_probe,
823823 .driver = {
824824 .name = "tegra-kbc",
825− .owner = THIS_MODULE,
826825 .pm = &tegra_kbc_pm_ops,
827826 .of_match_table = tegra_kbc_of_match,
828827 },
drivers/input/keyboard/twl4030_keypad.c+0−1
@@ -459,7 +459,6 @@ static struct platform_driver twl4030_kp_driver = { · 458 unmodified lines
459459 .probe = twl4030_kp_probe,
460460 .driver = {
461461 .name = "twl4030_keypad",
462− .owner = THIS_MODULE,
463462 .of_match_table = of_match_ptr(twl4030_keypad_dt_match_table),
464463 },
465464 };
drivers/input/keyboard/w90p910_keypad.c+0−1
@@ -258,7 +258,6 @@ static struct platform_driver w90p910_keypad_driver = { · 257 unmodified lines
258258 .remove = w90p910_keypad_remove,
259259 .driver = {
260260 .name = "nuc900-kpi",
261− .owner = THIS_MODULE,
262261 },
263262 };
264263 module_platform_driver(w90p910_keypad_driver);
drivers/input/misc/88pm80x_onkey.c+0−1
@@ -153,7 +153,6 @@ static int pm80x_onkey_remove(struct platform_device *pdev) · 152 unmodified lines
153153 static struct platform_driver pm80x_onkey_driver = {
154154 .driver = {
155155 .name = "88pm80x-onkey",
156− .owner = THIS_MODULE,
157156 .pm = &pm80x_onkey_pm_ops,
158157 },
159158 .probe = pm80x_onkey_probe,
drivers/input/misc/88pm860x_onkey.c+0−1
@@ -138,7 +138,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_onkey_pm_ops, pm860x_onkey_suspend, pm860x_onkey · 137 unmodified lines
138138 static struct platform_driver pm860x_onkey_driver = {
139139 .driver = {
140140 .name = "88pm860x-onkey",
141− .owner = THIS_MODULE,
142141 .pm = &pm860x_onkey_pm_ops,
143142 },
144143 .probe = pm860x_onkey_probe,
drivers/input/misc/ab8500-ponkey.c+0−1
@@ -123,7 +123,6 @@ static const struct of_device_id ab8500_ponkey_match[] = { · 122 unmodified lines
123123 static struct platform_driver ab8500_ponkey_driver = {
124124 .driver = {
125125 .name = "ab8500-poweron-key",
126− .owner = THIS_MODULE,
127126 .of_match_table = of_match_ptr(ab8500_ponkey_match),
128127 },
129128 .probe = ab8500_ponkey_probe,
drivers/input/misc/arizona-haptics.c+0−1
@@ -225,7 +225,6 @@ static struct platform_driver arizona_haptics_driver = { · 224 unmodified lines
225225 .remove = arizona_haptics_remove,
226226 .driver = {
227227 .name = "arizona-haptics",
228− .owner = THIS_MODULE,
229228 },
230229 };
231230 module_platform_driver(arizona_haptics_driver);
drivers/input/misc/bfin_rotary.c+0−1
@@ -256,7 +256,6 @@ static struct platform_driver bfin_rotary_device_driver = { · 255 unmodified lines
256256 .remove = bfin_rotary_remove,
257257 .driver = {
258258 .name = "bfin-rotary",
259− .owner = THIS_MODULE,
260259 #ifdef CONFIG_PM
261260 .pm = &bfin_rotary_pm_ops,
262261 #endif
drivers/input/misc/cobalt_btns.c+0−1
@@ -157,7 +157,6 @@ static struct platform_driver cobalt_buttons_driver = { · 156 unmodified lines
157157 .remove = cobalt_buttons_remove,
158158 .driver = {
159159 .name = "Cobalt buttons",
160− .owner = THIS_MODULE,
161160 },
162161 };
163162 module_platform_driver(cobalt_buttons_driver);
drivers/input/misc/da9052_onkey.c+0−1
@@ -149,7 +149,6 @@ static struct platform_driver da9052_onkey_driver = { · 148 unmodified lines
149149 .remove = da9052_onkey_remove,
150150 .driver = {
151151 .name = "da9052-onkey",
152− .owner = THIS_MODULE,
153152 },
154153 };
155154 module_platform_driver(da9052_onkey_driver);
drivers/input/misc/da9055_onkey.c+0−1
@@ -157,7 +157,6 @@ static struct platform_driver da9055_onkey_driver = { · 156 unmodified lines
157157 .remove = da9055_onkey_remove,
158158 .driver = {
159159 .name = "da9055-onkey",
160− .owner = THIS_MODULE,
161160 },
162161 };
163162
drivers/input/misc/dm355evm_keys.c+0−1
@@ -263,7 +263,6 @@ static struct platform_driver dm355evm_keys_driver = { · 262 unmodified lines
263263 .probe = dm355evm_keys_probe,
264264 .remove = dm355evm_keys_remove,
265265 .driver = {
266− .owner = THIS_MODULE,
267266 .name = "dm355evm_keys",
268267 },
269268 };
drivers/input/misc/gpio-beeper.c+0−1
@@ -112,7 +112,6 @@ MODULE_DEVICE_TABLE(of, gpio_beeper_of_match); · 111 unmodified lines
112112 static struct platform_driver gpio_beeper_platform_driver = {
113113 .driver = {
114114 .name = BEEPER_MODNAME,
115− .owner = THIS_MODULE,
116115 .of_match_table = of_match_ptr(gpio_beeper_of_match),
117116 },
118117 .probe = gpio_beeper_probe,
drivers/input/misc/gpio_tilt_polled.c+0−1
@@ -199,7 +199,6 @@ static struct platform_driver gpio_tilt_polled_driver = { · 198 unmodified lines
199199 .remove = gpio_tilt_polled_remove,
200200 .driver = {
201201 .name = DRV_NAME,
202− .owner = THIS_MODULE,
203202 },
204203 };
205204
drivers/input/misc/ideapad_slidebar.c+0−1
@@ -272,7 +272,6 @@ static int ideapad_remove(struct platform_device *pdev) · 271 unmodified lines
272272 static struct platform_driver slidebar_drv = {
273273 .driver = {
274274 .name = "ideapad_slidebar",
275− .owner = THIS_MODULE,
276275 },
277276 .remove = ideapad_remove,
278277 };
drivers/input/misc/ixp4xx-beeper.c+0−1
@@ -168,7 +168,6 @@ static void ixp4xx_spkr_shutdown(struct platform_device *dev) · 167 unmodified lines
168168 static struct platform_driver ixp4xx_spkr_platform_driver = {
169169 .driver = {
170170 .name = "ixp4xx-beeper",
171− .owner = THIS_MODULE,
172171 },
173172 .probe = ixp4xx_spkr_probe,
174173 .remove = ixp4xx_spkr_remove,
drivers/input/misc/m68kspkr.c+0−1
@@ -100,7 +100,6 @@ static void m68kspkr_shutdown(struct platform_device *dev) · 99 unmodified lines
100100 static struct platform_driver m68kspkr_platform_driver = {
101101 .driver = {
102102 .name = "m68kspkr",
103− .owner = THIS_MODULE,
104103 },
105104 .probe = m68kspkr_probe,
106105 .remove = m68kspkr_remove,
drivers/input/misc/max77693-haptic.c+0−1
@@ -343,7 +343,6 @@ static SIMPLE_DEV_PM_OPS(max77693_haptic_pm_ops, · 342 unmodified lines
343343 static struct platform_driver max77693_haptic_driver = {
344344 .driver = {
345345 .name = "max77693-haptic",
346− .owner = THIS_MODULE,
347346 .pm = &max77693_haptic_pm_ops,
348347 },
349348 .probe = max77693_haptic_probe,
drivers/input/misc/max8925_onkey.c+0−1
@@ -168,7 +168,6 @@ static SIMPLE_DEV_PM_OPS(max8925_onkey_pm_ops, max8925_onkey_suspend, max8925_on · 167 unmodified lines
168168 static struct platform_driver max8925_onkey_driver = {
169169 .driver = {
170170 .name = "max8925-onkey",
171− .owner = THIS_MODULE,
172171 .pm = &max8925_onkey_pm_ops,
173172 },
174173 .probe = max8925_onkey_probe,
drivers/input/misc/max8997_haptic.c+0−1
@@ -401,7 +401,6 @@ MODULE_DEVICE_TABLE(i2c, max8997_haptic_id); · 400 unmodified lines
401401 static struct platform_driver max8997_haptic_driver = {
402402 .driver = {
403403 .name = "max8997-haptic",
404− .owner = THIS_MODULE,
405404 .pm = &max8997_haptic_pm_ops,
406405 },
407406 .probe = max8997_haptic_probe,
drivers/input/misc/mc13783-pwrbutton.c+0−1
@@ -258,7 +258,6 @@ static struct platform_driver mc13783_pwrbutton_driver = { · 257 unmodified lines
258258 .remove = mc13783_pwrbutton_remove,
259259 .driver = {
260260 .name = "mc13783-pwrbutton",
261− .owner = THIS_MODULE,
262261 },
263262 };
264263
drivers/input/misc/palmas-pwrbutton.c+0−1
@@ -319,7 +319,6 @@ static struct platform_driver palmas_pwron_driver = { · 318 unmodified lines
319319 .remove = palmas_pwron_remove,
320320 .driver = {
321321 .name = "palmas_pwrbutton",
322− .owner = THIS_MODULE,
323322 .of_match_table = of_match_ptr(of_palmas_pwr_match),
324323 .pm = &palmas_pwron_pm,
325324 },
drivers/input/misc/pcap_keys.c+0−1
@@ -121,7 +121,6 @@ static struct platform_driver pcap_keys_device_driver = { · 120 unmodified lines
121121 .remove = pcap_keys_remove,
122122 .driver = {
123123 .name = "pcap-keys",
124− .owner = THIS_MODULE,
125124 }
126125 };
127126 module_platform_driver(pcap_keys_device_driver);
drivers/input/misc/pcspkr.c+0−1
@@ -125,7 +125,6 @@ static const struct dev_pm_ops pcspkr_pm_ops = { · 124 unmodified lines
125125 static struct platform_driver pcspkr_platform_driver = {
126126 .driver = {
127127 .name = "pcspkr",
128− .owner = THIS_MODULE,
129128 .pm = &pcspkr_pm_ops,
130129 },
131130 .probe = pcspkr_probe,
drivers/input/misc/pm8xxx-vibrator.c+0−1
@@ -224,7 +224,6 @@ static struct platform_driver pm8xxx_vib_driver = { · 223 unmodified lines
224224 .probe = pm8xxx_vib_probe,
225225 .driver = {
226226 .name = "pm8xxx-vib",
227− .owner = THIS_MODULE,
228227 .pm = &pm8xxx_vib_pm_ops,
229228 .of_match_table = pm8xxx_vib_id_table,
230229 },
drivers/input/misc/pmic8xxx-pwrkey.c+0−1
@@ -195,7 +195,6 @@ static struct platform_driver pmic8xxx_pwrkey_driver = { · 194 unmodified lines
195195 .remove = pmic8xxx_pwrkey_remove,
196196 .driver = {
197197 .name = "pm8xxx-pwrkey",
198− .owner = THIS_MODULE,
199198 .pm = &pm8xxx_pwr_key_pm_ops,
200199 .of_match_table = pm8xxx_pwr_key_id_table,
201200 },
drivers/input/misc/pwm-beeper.c+0−1
@@ -187,7 +187,6 @@ static struct platform_driver pwm_beeper_driver = { · 186 unmodified lines
187187 .remove = pwm_beeper_remove,
188188 .driver = {
189189 .name = "pwm-beeper",
190− .owner = THIS_MODULE,
191190 .pm = PWM_BEEPER_PM_OPS,
192191 .of_match_table = of_match_ptr(pwm_beeper_match),
193192 },
drivers/input/misc/rb532_button.c+0−1
@@ -96,7 +96,6 @@ static struct platform_driver rb532_button_driver = { · 95 unmodified lines
9696 .remove = rb532_button_remove,
9797 .driver = {
9898 .name = DRV_NAME,
99− .owner = THIS_MODULE,
10099 },
101100 };
102101 module_platform_driver(rb532_button_driver);
drivers/input/misc/retu-pwrbutton.c+0−1
@@ -85,7 +85,6 @@ static struct platform_driver retu_pwrbutton_driver = { · 84 unmodified lines
8585 .remove = retu_pwrbutton_remove,
8686 .driver = {
8787 .name = "retu-pwrbutton",
88− .owner = THIS_MODULE,
8988 },
9089 };
9190 module_platform_driver(retu_pwrbutton_driver);
drivers/input/misc/rotary_encoder.c+0−1
@@ -325,7 +325,6 @@ static struct platform_driver rotary_encoder_driver = { · 324 unmodified lines
325325 .remove = rotary_encoder_remove,
326326 .driver = {
327327 .name = DRV_NAME,
328− .owner = THIS_MODULE,
329328 .of_match_table = of_match_ptr(rotary_encoder_of_match),
330329 }
331330 };
drivers/input/misc/sgi_btns.c+0−1
@@ -157,7 +157,6 @@ static struct platform_driver sgi_buttons_driver = { · 156 unmodified lines
157157 .remove = sgi_buttons_remove,
158158 .driver = {
159159 .name = "sgibtns",
160− .owner = THIS_MODULE,
161160 },
162161 };
163162 module_platform_driver(sgi_buttons_driver);
drivers/input/misc/sirfsoc-onkey.c+0−1
@@ -205,7 +205,6 @@ static struct platform_driver sirfsoc_pwrc_driver = { · 204 unmodified lines
205205 .remove = sirfsoc_pwrc_remove,
206206 .driver = {
207207 .name = "sirfsoc-pwrc",
208− .owner = THIS_MODULE,
209208 .pm = &sirfsoc_pwrc_pm_ops,
210209 .of_match_table = sirfsoc_pwrc_of_match,
211210 }
drivers/input/misc/soc_button_array.c+0−1
@@ -214,7 +214,6 @@ static struct platform_driver soc_button_driver = { · 213 unmodified lines
214214 .remove = soc_button_remove,
215215 .driver = {
216216 .name = KBUILD_MODNAME,
217− .owner = THIS_MODULE,
218217 .acpi_match_table = ACPI_PTR(soc_button_acpi_match),
219218 },
220219 };
drivers/input/misc/sparcspkr.c+0−2
@@ -257,7 +257,6 @@ static const struct of_device_id bbc_beep_match[] = { · 256 unmodified lines
257257 static struct platform_driver bbc_beep_driver = {
258258 .driver = {
259259 .name = "bbcbeep",
260− .owner = THIS_MODULE,
261260 .of_match_table = bbc_beep_match,
262261 },
263262 .probe = bbc_beep_probe,
@@ -337,7 +336,6 @@ static const struct of_device_id grover_beep_match[] = { · 73 unmodified lines
337336 static struct platform_driver grover_beep_driver = {
338337 .driver = {
339338 .name = "groverbeep",
340− .owner = THIS_MODULE,
341339 .of_match_table = grover_beep_match,
342340 },
343341 .probe = grover_beep_probe,
drivers/input/misc/twl4030-pwrbutton.c+0−1
@@ -102,7 +102,6 @@ static struct platform_driver twl4030_pwrbutton_driver = { · 101 unmodified lines
102102 .probe = twl4030_pwrbutton_probe,
103103 .driver = {
104104 .name = "twl4030_pwrbutton",
105− .owner = THIS_MODULE,
106105 .of_match_table = of_match_ptr(twl4030_pwrbutton_dt_match_table),
107106 },
108107 };
drivers/input/misc/twl4030-vibra.c+0−1
@@ -253,7 +253,6 @@ static struct platform_driver twl4030_vibra_driver = { · 252 unmodified lines
253253 .probe = twl4030_vibra_probe,
254254 .driver = {
255255 .name = "twl4030-vibra",
256− .owner = THIS_MODULE,
257256 .pm = &twl4030_vibra_pm_ops,
258257 },
259258 };
drivers/input/misc/twl6040-vibra.c+0−1
@@ -388,7 +388,6 @@ static struct platform_driver twl6040_vibra_driver = { · 387 unmodified lines
388388 .probe = twl6040_vibra_probe,
389389 .driver = {
390390 .name = "twl6040-vibra",
391− .owner = THIS_MODULE,
392391 .pm = &twl6040_vibra_pm_ops,
393392 },
394393 };
drivers/input/misc/wistron_btns.c+0−1
@@ -1347,7 +1347,6 @@ static const struct dev_pm_ops wistron_pm_ops = { · 1346 unmodified lines
13471347 static struct platform_driver wistron_driver = {
13481348 .driver = {
13491349 .name = "wistron-bios",
1350− .owner = THIS_MODULE,
13511350 #ifdef CONFIG_PM
13521351 .pm = &wistron_pm_ops,
13531352 #endif
drivers/input/misc/wm831x-on.c+0−1
@@ -138,7 +138,6 @@ static struct platform_driver wm831x_on_driver = { · 137 unmodified lines
138138 .remove = wm831x_on_remove,
139139 .driver = {
140140 .name = "wm831x-on",
141− .owner = THIS_MODULE,
142141 },
143142 };
144143 module_platform_driver(wm831x_on_driver);
drivers/input/mouse/amimouse.c+0−1
@@ -141,7 +141,6 @@ static struct platform_driver amimouse_driver = { · 140 unmodified lines
141141 .remove = __exit_p(amimouse_remove),
142142 .driver = {
143143 .name = "amiga-mouse",
144− .owner = THIS_MODULE,
145144 },
146145 };
147146
drivers/input/mouse/gpio_mouse.c+0−1
@@ -171,7 +171,6 @@ static struct platform_driver gpio_mouse_device_driver = { · 170 unmodified lines
171171 .remove = gpio_mouse_remove,
172172 .driver = {
173173 .name = "gpio_mouse",
174− .owner = THIS_MODULE,
175174 }
176175 };
177176 module_platform_driver(gpio_mouse_device_driver);
drivers/input/mouse/navpoint.c+0−1
@@ -355,7 +355,6 @@ static struct platform_driver navpoint_driver = { · 354 unmodified lines
355355 .remove = navpoint_remove,
356356 .driver = {
357357 .name = "navpoint",
358− .owner = THIS_MODULE,
359358 .pm = &navpoint_pm_ops,
360359 },
361360 };
drivers/input/serio/altera_ps2.c+0−1
@@ -189,7 +189,6 @@ static struct platform_driver altera_ps2_driver = { · 188 unmodified lines
189189 .remove = altera_ps2_remove,
190190 .driver = {
191191 .name = DRV_NAME,
192− .owner = THIS_MODULE,
193192 .of_match_table = of_match_ptr(altera_ps2_match),
194193 },
195194 };
drivers/input/serio/apbps2.c+0−1
@@ -214,7 +214,6 @@ MODULE_DEVICE_TABLE(of, apbps2_of_match); · 213 unmodified lines
214214 static struct platform_driver apbps2_of_driver = {
215215 .driver = {
216216 .name = "grlib-apbps2",
217− .owner = THIS_MODULE,
218217 .of_match_table = apbps2_of_match,
219218 },
220219 .probe = apbps2_of_probe,
drivers/input/serio/arc_ps2.c+0−1
@@ -266,7 +266,6 @@ MODULE_DEVICE_TABLE(of, arc_ps2_match); · 265 unmodified lines
266266 static struct platform_driver arc_ps2_driver = {
267267 .driver = {
268268 .name = "arc_ps2",
269− .owner = THIS_MODULE,
270269 .of_match_table = of_match_ptr(arc_ps2_match),
271270 },
272271 .probe = arc_ps2_probe,
drivers/input/serio/at32psif.c+0−1
@@ -352,7 +352,6 @@ static struct platform_driver psif_driver = { · 351 unmodified lines
352352 .remove = __exit_p(psif_remove),
353353 .driver = {
354354 .name = "atmel_psif",
355− .owner = THIS_MODULE,
356355 .pm = &psif_pm_ops,
357356 },
358357 };
drivers/input/serio/ct82c710.c+0−1
@@ -209,7 +209,6 @@ static int ct82c710_remove(struct platform_device *dev) · 208 unmodified lines
209209 static struct platform_driver ct82c710_driver = {
210210 .driver = {
211211 .name = "ct82c710",
212− .owner = THIS_MODULE,
213212 },
214213 .probe = ct82c710_probe,
215214 .remove = ct82c710_remove,
drivers/input/serio/i8042-sparcio.h+0−1
@@ -99,7 +99,6 @@ MODULE_DEVICE_TABLE(of, sparc_i8042_match); · 98 unmodified lines
9999 static struct platform_driver sparc_i8042_driver = {
100100 .driver = {
101101 .name = "i8042",
102− .owner = THIS_MODULE,
103102 .of_match_table = sparc_i8042_match,
104103 },
105104 .probe = sparc_i8042_probe,
drivers/input/serio/i8042.c+0−1
@@ -1463,7 +1463,6 @@ static int i8042_remove(struct platform_device *dev) · 1462 unmodified lines
14631463 static struct platform_driver i8042_driver = {
14641464 .driver = {
14651465 .name = "i8042",
1466− .owner = THIS_MODULE,
14671466 #ifdef CONFIG_PM
14681467 .pm = &i8042_pm_ops,
14691468 #endif
drivers/input/serio/maceps2.c+0−1
@@ -162,7 +162,6 @@ static int maceps2_remove(struct platform_device *dev) · 161 unmodified lines
162162 static struct platform_driver maceps2_driver = {
163163 .driver = {
164164 .name = "maceps2",
165− .owner = THIS_MODULE,
166165 },
167166 .probe = maceps2_probe,
168167 .remove = maceps2_remove,
drivers/input/serio/olpc_apsp.c+0−1
@@ -273,7 +273,6 @@ static struct platform_driver olpc_apsp_driver = { · 272 unmodified lines
273273 .remove = olpc_apsp_remove,
274274 .driver = {
275275 .name = "olpc-apsp",
276− .owner = THIS_MODULE,
277276 .of_match_table = olpc_apsp_dt_ids,
278277 },
279278 };
drivers/input/serio/q40kbd.c+0−1
@@ -186,7 +186,6 @@ static int q40kbd_remove(struct platform_device *pdev) · 185 unmodified lines
186186 static struct platform_driver q40kbd_driver = {
187187 .driver = {
188188 .name = "q40kbd",
189− .owner = THIS_MODULE,
190189 },
191190 .remove = q40kbd_remove,
192191 };
drivers/input/serio/rpckbd.c+0−1
@@ -168,7 +168,6 @@ static struct platform_driver rpckbd_driver = { · 167 unmodified lines
168168 .remove = rpckbd_remove,
169169 .driver = {
170170 .name = "kart",
171− .owner = THIS_MODULE,
172171 },
173172 };
174173 module_platform_driver(rpckbd_driver);
drivers/input/serio/xilinx_ps2.c+0−1
@@ -363,7 +363,6 @@ MODULE_DEVICE_TABLE(of, xps2_of_match); · 362 unmodified lines
363363 static struct platform_driver xps2_of_driver = {
364364 .driver = {
365365 .name = DRIVER_NAME,
366− .owner = THIS_MODULE,
367366 .of_match_table = xps2_of_match,
368367 },
369368 .probe = xps2_of_probe,
drivers/input/touchscreen/88pm860x-ts.c+0−1
@@ -292,7 +292,6 @@ static int pm860x_touch_probe(struct platform_device *pdev) · 291 unmodified lines
292292 static struct platform_driver pm860x_touch_driver = {
293293 .driver = {
294294 .name = "88pm860x-touch",
295− .owner = THIS_MODULE,
296295 },
297296 .probe = pm860x_touch_probe,
298297 };
drivers/input/touchscreen/atmel-wm97xx.c+0−1
@@ -425,7 +425,6 @@ static struct platform_driver atmel_wm97xx_driver = { · 424 unmodified lines
425425 .remove = __exit_p(atmel_wm97xx_remove),
426426 .driver = {
427427 .name = "wm97xx-touch",
428− .owner = THIS_MODULE,
429428 .pm = &atmel_wm97xx_pm_ops,
430429 },
431430 };
drivers/input/touchscreen/da9034-ts.c+0−1
@@ -357,7 +357,6 @@ static int da9034_touch_probe(struct platform_device *pdev) · 356 unmodified lines
357357 static struct platform_driver da9034_touch_driver = {
358358 .driver = {
359359 .name = "da9034-touch",
360− .owner = THIS_MODULE,
361360 },
362361 .probe = da9034_touch_probe,
363362 };
drivers/input/touchscreen/da9052_tsi.c+0−1
@@ -337,7 +337,6 @@ static struct platform_driver da9052_tsi_driver = { · 336 unmodified lines
337337 .remove = da9052_ts_remove,
338338 .driver = {
339339 .name = "da9052-tsi",
340− .owner = THIS_MODULE,
341340 },
342341 };
343342
drivers/input/touchscreen/intel-mid-touch.c+0−1
@@ -644,7 +644,6 @@ static int mrstouch_probe(struct platform_device *pdev) · 643 unmodified lines
644644 static struct platform_driver mrstouch_driver = {
645645 .driver = {
646646 .name = "pmic_touch",
647− .owner = THIS_MODULE,
648647 },
649648 .probe = mrstouch_probe,
650649 };
drivers/input/touchscreen/jornada720_ts.c+0−1
@@ -148,7 +148,6 @@ static struct platform_driver jornada720_ts_driver = { · 147 unmodified lines
148148 .probe = jornada720_ts_probe,
149149 .driver = {
150150 .name = "jornada_ts",
151− .owner = THIS_MODULE,
152151 },
153152 };
154153 module_platform_driver(jornada720_ts_driver);
drivers/input/touchscreen/lpc32xx_ts.c+0−1
@@ -396,7 +396,6 @@ static struct platform_driver lpc32xx_ts_driver = { · 395 unmodified lines
396396 .remove = lpc32xx_ts_remove,
397397 .driver = {
398398 .name = MOD_NAME,
399− .owner = THIS_MODULE,
400399 .pm = LPC32XX_TS_PM_OPS,
401400 .of_match_table = of_match_ptr(lpc32xx_tsc_of_match),
402401 },
drivers/input/touchscreen/mc13783_ts.c+0−1
@@ -243,7 +243,6 @@ static int mc13783_ts_remove(struct platform_device *pdev) · 242 unmodified lines
243243 static struct platform_driver mc13783_ts_driver = {
244244 .remove = mc13783_ts_remove,
245245 .driver = {
246− .owner = THIS_MODULE,
247246 .name = MC13783_TS_NAME,
248247 },
249248 };
drivers/input/touchscreen/pcap_ts.c+0−1
@@ -247,7 +247,6 @@ static struct platform_driver pcap_ts_driver = { · 246 unmodified lines
247247 .remove = pcap_ts_remove,
248248 .driver = {
249249 .name = "pcap-ts",
250− .owner = THIS_MODULE,
251250 .pm = PCAP_TS_PM_OPS,
252251 },
253252 };
drivers/input/touchscreen/s3c2410_ts.c+0−1
@@ -422,7 +422,6 @@ MODULE_DEVICE_TABLE(platform, s3cts_driver_ids); · 421 unmodified lines
422422 static struct platform_driver s3c_ts_driver = {
423423 .driver = {
424424 .name = "samsung-ts",
425− .owner = THIS_MODULE,
426425 #ifdef CONFIG_PM
427426 .pm = &s3c_ts_pmops,
428427 #endif
drivers/input/touchscreen/stmpe-ts.c+0−1
@@ -384,7 +384,6 @@ static int stmpe_ts_remove(struct platform_device *pdev) · 383 unmodified lines
384384 static struct platform_driver stmpe_ts_driver = {
385385 .driver = {
386386 .name = STMPE_TS_NAME,
387− .owner = THIS_MODULE,
388387 },
389388 .probe = stmpe_input_probe,
390389 .remove = stmpe_ts_remove,
drivers/input/touchscreen/sun4i-ts.c+0−1
@@ -324,7 +324,6 @@ MODULE_DEVICE_TABLE(of, sun4i_ts_of_match); · 323 unmodified lines
324324
325325 static struct platform_driver sun4i_ts_driver = {
326326 .driver = {
327− .owner = THIS_MODULE,
328327 .name = "sun4i-ts",
329328 .of_match_table = of_match_ptr(sun4i_ts_of_match),
330329 },
drivers/input/touchscreen/ti_am335x_tsc.c+0−1
@@ -518,7 +518,6 @@ static struct platform_driver ti_tsc_driver = { · 517 unmodified lines
518518 .remove = titsc_remove,
519519 .driver = {
520520 .name = "TI-am335x-tsc",
521− .owner = THIS_MODULE,
522521 .pm = TITSC_PM_OPS,
523522 .of_match_table = ti_tsc_dt_ids,
524523 },
drivers/input/touchscreen/tps6507x-ts.c+0−1
@@ -314,7 +314,6 @@ static int tps6507x_ts_remove(struct platform_device *pdev) · 313 unmodified lines
314314 static struct platform_driver tps6507x_ts_driver = {
315315 .driver = {
316316 .name = "tps6507x-ts",
317− .owner = THIS_MODULE,
318317 },
319318 .probe = tps6507x_ts_probe,
320319 .remove = tps6507x_ts_remove,
drivers/input/touchscreen/ucb1400_ts.c+0−1
@@ -444,7 +444,6 @@ static struct platform_driver ucb1400_ts_driver = { · 443 unmodified lines
444444 .remove = ucb1400_ts_remove,
445445 .driver = {
446446 .name = "ucb1400_ts",
447− .owner = THIS_MODULE,
448447 .pm = &ucb1400_ts_pm_ops,
449448 },
450449 };
drivers/input/touchscreen/w90p910_ts.c+0−1
@@ -326,7 +326,6 @@ static struct platform_driver w90x900ts_driver = { · 325 unmodified lines
326326 .remove = w90x900ts_remove,
327327 .driver = {
328328 .name = "nuc900-ts",
329− .owner = THIS_MODULE,
330329 },
331330 };
332331 module_platform_driver(w90x900ts_driver);
drivers/input/touchscreen/wm831x-ts.c+0−1
@@ -392,7 +392,6 @@ static int wm831x_ts_remove(struct platform_device *pdev) · 391 unmodified lines
392392 static struct platform_driver wm831x_ts_driver = {
393393 .driver = {
394394 .name = "wm831x-touch",
395− .owner = THIS_MODULE,
396395 },
397396 .probe = wm831x_ts_probe,
398397 .remove = wm831x_ts_remove,
drivers/iommu/arm-smmu.c+0−1
@@ -2136,7 +2136,6 @@ static int arm_smmu_device_remove(struct platform_device *pdev) · 2135 unmodified lines
21362136
21372137 static struct platform_driver arm_smmu_driver = {
21382138 .driver = {
2139− .owner = THIS_MODULE,
21402139 .name = "arm-smmu",
21412140 .of_match_table = of_match_ptr(arm_smmu_of_match),
21422141 },
drivers/iommu/exynos-iommu.c+0−1
@@ -684,7 +684,6 @@ static const struct of_device_id sysmmu_of_match[] __initconst = { · 683 unmodified lines
684684 static struct platform_driver exynos_sysmmu_driver __refdata = {
685685 .probe = exynos_sysmmu_probe,
686686 .driver = {
687− .owner = THIS_MODULE,
688687 .name = "exynos-sysmmu",
689688 .of_match_table = sysmmu_of_match,
690689 }
drivers/iommu/fsl_pamu.c+0−1
@@ -1227,7 +1227,6 @@ static const struct of_device_id fsl_of_pamu_ids[] = { · 1226 unmodified lines
12271227 static struct platform_driver fsl_of_pamu_driver = {
12281228 .driver = {
12291229 .name = "fsl-of-pamu",
1230− .owner = THIS_MODULE,
12311230 },
12321231 .probe = fsl_pamu_probe,
12331232 };
drivers/iommu/ipmmu-vmsa.c+0−1
@@ -1222,7 +1222,6 @@ static int ipmmu_remove(struct platform_device *pdev) · 1221 unmodified lines
12221222
12231223 static struct platform_driver ipmmu_driver = {
12241224 .driver = {
1225− .owner = THIS_MODULE,
12261225 .name = "ipmmu-vmsa",
12271226 },
12281227 .probe = ipmmu_probe,
drivers/iommu/shmobile-ipmmu.c+0−1
@@ -118,7 +118,6 @@ static int ipmmu_probe(struct platform_device *pdev) · 117 unmodified lines
118118 static struct platform_driver ipmmu_driver = {
119119 .probe = ipmmu_probe,
120120 .driver = {
121− .owner = THIS_MODULE,
122121 .name = "ipmmu",
123122 },
124123 };
drivers/iommu/tegra-gart.c+0−1
@@ -425,7 +425,6 @@ static struct platform_driver tegra_gart_driver = { · 424 unmodified lines
425425 .probe = tegra_gart_probe,
426426 .remove = tegra_gart_remove,
427427 .driver = {
428− .owner = THIS_MODULE,
429428 .name = "tegra-gart",
430429 .pm = &tegra_gart_pm_ops,
431430 .of_match_table = tegra_gart_of_match,
drivers/irqchip/irq-keystone.c+0−1
@@ -218,7 +218,6 @@ static struct platform_driver keystone_irq_device_driver = { · 217 unmodified lines
218218 .remove = keystone_irq_remove,
219219 .driver = {
220220 .name = "keystone_irq",
221− .owner = THIS_MODULE,
222221 .of_match_table = of_match_ptr(keystone_irq_dt_ids),
223222 }
224223 };
drivers/irqchip/irq-renesas-intc-irqpin.c+0−1
@@ -562,7 +562,6 @@ static struct platform_driver intc_irqpin_device_driver = { · 561 unmodified lines
562562 .driver = {
563563 .name = "renesas_intc_irqpin",
564564 .of_match_table = intc_irqpin_dt_ids,
565− .owner = THIS_MODULE,
566565 }
567566 };
568567
drivers/irqchip/irq-renesas-irqc.c+0−1
@@ -281,7 +281,6 @@ static struct platform_driver irqc_device_driver = { · 280 unmodified lines
281281 .driver = {
282282 .name = "renesas_irqc",
283283 .of_match_table = irqc_dt_ids,
284− .owner = THIS_MODULE,
285284 }
286285 };
287286
drivers/leds/leds-88pm860x.c+0−1
@@ -237,7 +237,6 @@ static int pm860x_led_remove(struct platform_device *pdev) · 236 unmodified lines
237237 static struct platform_driver pm860x_led_driver = {
238238 .driver = {
239239 .name = "88pm860x-led",
240− .owner = THIS_MODULE,
241240 },
242241 .probe = pm860x_led_probe,
243242 .remove = pm860x_led_remove,
drivers/leds/leds-adp5520.c+0−1
@@ -201,7 +201,6 @@ static int adp5520_led_remove(struct platform_device *pdev) · 200 unmodified lines
201201 static struct platform_driver adp5520_led_driver = {
202202 .driver = {
203203 .name = "adp5520-led",
204− .owner = THIS_MODULE,
205204 },
206205 .probe = adp5520_led_probe,
207206 .remove = adp5520_led_remove,
drivers/leds/leds-asic3.c+0−1
@@ -168,7 +168,6 @@ static struct platform_driver asic3_led_driver = { · 167 unmodified lines
168168 .remove = asic3_led_remove,
169169 .driver = {
170170 .name = "leds-asic3",
171− .owner = THIS_MODULE,
172171 .pm = &asic3_led_pm_ops,
173172 },
174173 };
drivers/leds/leds-clevo-mail.c+0−1
@@ -168,7 +168,6 @@ static struct platform_driver clevo_mail_led_driver = { · 167 unmodified lines
168168 .remove = clevo_mail_led_remove,
169169 .driver = {
170170 .name = KBUILD_MODNAME,
171− .owner = THIS_MODULE,
172171 },
173172 };
174173
drivers/leds/leds-cobalt-qube.c+0−1
@@ -76,7 +76,6 @@ static struct platform_driver cobalt_qube_led_driver = { · 75 unmodified lines
7676 .remove = cobalt_qube_led_remove,
7777 .driver = {
7878 .name = "cobalt-qube-leds",
79− .owner = THIS_MODULE,
8079 },
8180 };
8281
drivers/leds/leds-cobalt-raq.c+0−1
@@ -124,7 +124,6 @@ static struct platform_driver cobalt_raq_led_driver = { · 123 unmodified lines
124124 .remove = cobalt_raq_led_remove,
125125 .driver = {
126126 .name = "cobalt-raq-leds",
127− .owner = THIS_MODULE,
128127 },
129128 };
130129
drivers/leds/leds-da903x.c+0−1
@@ -144,7 +144,6 @@ static int da903x_led_remove(struct platform_device *pdev) · 143 unmodified lines
144144 static struct platform_driver da903x_led_driver = {
145145 .driver = {
146146 .name = "da903x-led",
147− .owner = THIS_MODULE,
148147 },
149148 .probe = da903x_led_probe,
150149 .remove = da903x_led_remove,
drivers/leds/leds-da9052.c+0−1
@@ -199,7 +199,6 @@ static int da9052_led_remove(struct platform_device *pdev) · 198 unmodified lines
199199 static struct platform_driver da9052_led_driver = {
200200 .driver = {
201201 .name = "da9052-leds",
202− .owner = THIS_MODULE,
203202 },
204203 .probe = da9052_led_probe,
205204 .remove = da9052_led_remove,
drivers/leds/leds-gpio.c+0−1
@@ -291,7 +291,6 @@ static struct platform_driver gpio_led_driver = { · 290 unmodified lines
291291 .remove = gpio_led_remove,
292292 .driver = {
293293 .name = "leds-gpio",
294− .owner = THIS_MODULE,
295294 .of_match_table = of_gpio_leds_match,
296295 },
297296 };
drivers/leds/leds-hp6xx.c+0−1
@@ -83,7 +83,6 @@ static struct platform_driver hp6xxled_driver = { · 82 unmodified lines
8383 .remove = hp6xxled_remove,
8484 .driver = {
8585 .name = "hp6xx-led",
86− .owner = THIS_MODULE,
8786 },
8887 };
8988
drivers/leds/leds-lm3533.c+0−1
@@ -766,7 +766,6 @@ static void lm3533_led_shutdown(struct platform_device *pdev) · 765 unmodified lines
766766 static struct platform_driver lm3533_led_driver = {
767767 .driver = {
768768 .name = "lm3533-leds",
769− .owner = THIS_MODULE,
770769 },
771770 .probe = lm3533_led_probe,
772771 .remove = lm3533_led_remove,
drivers/leds/leds-lp8788.c+0−1
@@ -183,7 +183,6 @@ static struct platform_driver lp8788_led_driver = { · 182 unmodified lines
183183 .remove = lp8788_led_remove,
184184 .driver = {
185185 .name = LP8788_DEV_KEYLED,
186− .owner = THIS_MODULE,
187186 },
188187 };
189188 module_platform_driver(lp8788_led_driver);
drivers/leds/leds-lt3593.c+0−1
@@ -184,7 +184,6 @@ static struct platform_driver lt3593_led_driver = { · 183 unmodified lines
184184 .remove = lt3593_led_remove,
185185 .driver = {
186186 .name = "leds-lt3593",
187− .owner = THIS_MODULE,
188187 },
189188 };
190189
drivers/leds/leds-max8997.c+0−1
@@ -303,7 +303,6 @@ static int max8997_led_remove(struct platform_device *pdev) · 302 unmodified lines
303303 static struct platform_driver max8997_led_driver = {
304304 .driver = {
305305 .name = "max8997-led",
306− .owner = THIS_MODULE,
307306 },
308307 .probe = max8997_led_probe,
309308 .remove = max8997_led_remove,
drivers/leds/leds-mc13783.c+0−1
@@ -325,7 +325,6 @@ MODULE_DEVICE_TABLE(platform, mc13xxx_led_id_table); · 324 unmodified lines
325325 static struct platform_driver mc13xxx_led_driver = {
326326 .driver = {
327327 .name = "mc13xxx-led",
328− .owner = THIS_MODULE,
329328 },
330329 .remove = mc13xxx_led_remove,
331330 .id_table = mc13xxx_led_id_table,
drivers/leds/leds-menf21bmc.c+0−1
@@ -119,7 +119,6 @@ static struct platform_driver menf21bmc_led = { · 118 unmodified lines
119119 .remove = menf21bmc_led_remove,
120120 .driver = {
121121 .name = "menf21bmc_led",
122− .owner = THIS_MODULE,
123122 },
124123 };
125124
drivers/leds/leds-net48xx.c+0−1
@@ -53,7 +53,6 @@ static struct platform_driver net48xx_led_driver = { · 52 unmodified lines
5353 .remove = net48xx_led_remove,
5454 .driver = {
5555 .name = DRVNAME,
56− .owner = THIS_MODULE,
5756 },
5857 };
5958
drivers/leds/leds-netxbig.c+0−1
@@ -404,7 +404,6 @@ static struct platform_driver netxbig_led_driver = { · 403 unmodified lines
404404 .remove = netxbig_led_remove,
405405 .driver = {
406406 .name = "leds-netxbig",
407− .owner = THIS_MODULE,
408407 },
409408 };
410409
drivers/leds/leds-ns2.c+0−1
@@ -380,7 +380,6 @@ static struct platform_driver ns2_led_driver = { · 379 unmodified lines
380380 .remove = ns2_led_remove,
381381 .driver = {
382382 .name = "leds-ns2",
383− .owner = THIS_MODULE,
384383 .of_match_table = of_match_ptr(of_ns2_leds_match),
385384 },
386385 };
drivers/leds/leds-ot200.c+0−1
@@ -158,7 +158,6 @@ static struct platform_driver ot200_led_driver = { · 157 unmodified lines
158158 .remove = ot200_led_remove,
159159 .driver = {
160160 .name = "leds-ot200",
161− .owner = THIS_MODULE,
162161 },
163162 };
164163
drivers/leds/leds-pwm.c+0−1
@@ -232,7 +232,6 @@ static struct platform_driver led_pwm_driver = { · 231 unmodified lines
232232 .remove = led_pwm_remove,
233233 .driver = {
234234 .name = "leds_pwm",
235− .owner = THIS_MODULE,
236235 .of_match_table = of_pwm_leds_match,
237236 },
238237 };
drivers/leds/leds-rb532.c+0−1
@@ -53,7 +53,6 @@ static struct platform_driver rb532_led_driver = { · 52 unmodified lines
5353 .remove = rb532_led_remove,
5454 .driver = {
5555 .name = "rb532-led",
56− .owner = THIS_MODULE,
5756 },
5857 };
5958
drivers/leds/leds-regulator.c+0−1
@@ -221,7 +221,6 @@ static int regulator_led_remove(struct platform_device *pdev) · 220 unmodified lines
221221 static struct platform_driver regulator_led_driver = {
222222 .driver = {
223223 .name = "leds-regulator",
224− .owner = THIS_MODULE,
225224 },
226225 .probe = regulator_led_probe,
227226 .remove = regulator_led_remove,
drivers/leds/leds-s3c24xx.c+0−1
@@ -116,7 +116,6 @@ static struct platform_driver s3c24xx_led_driver = { · 115 unmodified lines
116116 .remove = s3c24xx_led_remove,
117117 .driver = {
118118 .name = "s3c24xx_led",
119− .owner = THIS_MODULE,
120119 },
121120 };
122121
drivers/leds/leds-sunfire.c+0−2
@@ -223,7 +223,6 @@ static struct platform_driver sunfire_clockboard_led_driver = { · 222 unmodified lines
223223 .remove = sunfire_led_generic_remove,
224224 .driver = {
225225 .name = "sunfire-clockboard-leds",
226− .owner = THIS_MODULE,
227226 },
228227 };
229228
@@ -232,7 +231,6 @@ static struct platform_driver sunfire_fhc_led_driver = { · 2 unmodified lines
232231 .remove = sunfire_led_generic_remove,
233232 .driver = {
234233 .name = "sunfire-fhc-leds",
235− .owner = THIS_MODULE,
236234 },
237235 };
238236
drivers/leds/leds-wm831x-status.c+0−1
@@ -312,7 +312,6 @@ static int wm831x_status_remove(struct platform_device *pdev) · 311 unmodified lines
312312 static struct platform_driver wm831x_status_driver = {
313313 .driver = {
314314 .name = "wm831x-status",
315− .owner = THIS_MODULE,
316315 },
317316 .probe = wm831x_status_probe,
318317 .remove = wm831x_status_remove,
drivers/leds/leds-wm8350.c+0−1
@@ -272,7 +272,6 @@ static int wm8350_led_remove(struct platform_device *pdev) · 271 unmodified lines
272272 static struct platform_driver wm8350_led_driver = {
273273 .driver = {
274274 .name = "wm8350-led",
275− .owner = THIS_MODULE,
276275 },
277276 .probe = wm8350_led_probe,
278277 .remove = wm8350_led_remove,
drivers/leds/leds-wrap.c+0−1
@@ -111,7 +111,6 @@ static struct platform_driver wrap_led_driver = { · 110 unmodified lines
111111 .remove = wrap_led_remove,
112112 .driver = {
113113 .name = DRVNAME,
114− .owner = THIS_MODULE,
115114 },
116115 };
117116
drivers/macintosh/smu.c+0−1
@@ -667,7 +667,6 @@ static struct platform_driver smu_of_platform_driver = · 666 unmodified lines
667667 {
668668 .driver = {
669669 .name = "smu",
670− .owner = THIS_MODULE,
671670 .of_match_table = smu_platform_match,
672671 },
673672 .probe = smu_platform_probe,
drivers/macintosh/therm_pm72.c+0−1
@@ -2243,7 +2243,6 @@ static struct platform_driver fcu_of_platform_driver = · 2242 unmodified lines
22432243 {
22442244 .driver = {
22452245 .name = "temperature",
2246− .owner = THIS_MODULE,
22472246 .of_match_table = fcu_match,
22482247 },
22492248 .probe = fcu_of_probe,
drivers/macintosh/therm_windtunnel.c+0−1
@@ -463,7 +463,6 @@ static const struct of_device_id therm_of_match[] = {{ · 462 unmodified lines
463463 static struct platform_driver therm_of_driver = {
464464 .driver = {
465465 .name = "temperature",
466− .owner = THIS_MODULE,
467466 .of_match_table = therm_of_match,
468467 },
469468 .probe = therm_of_probe,
drivers/macintosh/windfarm_pm81.c+0−1
@@ -770,7 +770,6 @@ static struct platform_driver wf_smu_driver = { · 769 unmodified lines
770770 .remove = wf_smu_remove,
771771 .driver = {
772772 .name = "windfarm",
773− .owner = THIS_MODULE,
774773 },
775774 };
776775
drivers/macintosh/windfarm_pm91.c+0−1
@@ -699,7 +699,6 @@ static struct platform_driver wf_smu_driver = { · 698 unmodified lines
699699 .remove = wf_smu_remove,
700700 .driver = {
701701 .name = "windfarm",
702− .owner = THIS_MODULE,
703702 },
704703 };
705704
drivers/mailbox/omap-mailbox.c+0−1
@@ -864,7 +864,6 @@ static struct platform_driver omap_mbox_driver = { · 863 unmodified lines
864864 .remove = omap_mbox_remove,
865865 .driver = {
866866 .name = "omap-mailbox",
867− .owner = THIS_MODULE,
868867 .of_match_table = of_match_ptr(omap_mailbox_of_match),
869868 },
870869 };
drivers/media/platform/blackfin/bfin_capture.c+0−1
@@ -1120,7 +1120,6 @@ static int bcap_remove(struct platform_device *pdev) · 1119 unmodified lines
11201120 static struct platform_driver bcap_driver = {
11211121 .driver = {
11221122 .name = CAPTURE_DRV_NAME,
1123− .owner = THIS_MODULE,
11241123 },
11251124 .probe = bcap_probe,
11261125 .remove = bcap_remove,
drivers/media/platform/coda/coda-common.c+0−1
@@ -2225,7 +2225,6 @@ static struct platform_driver coda_driver = { · 2224 unmodified lines
22252225 .remove = coda_remove,
22262226 .driver = {
22272227 .name = CODA_NAME,
2228− .owner = THIS_MODULE,
22292228 .of_match_table = of_match_ptr(coda_dt_ids),
22302229 .pm = &coda_pm_ops,
22312230 },
drivers/media/platform/davinci/dm355_ccdc.c+0−1
@@ -1030,7 +1030,6 @@ static int dm355_ccdc_remove(struct platform_device *pdev) · 1029 unmodified lines
10301030 static struct platform_driver dm355_ccdc_driver = {
10311031 .driver = {
10321032 .name = "dm355_ccdc",
1033− .owner = THIS_MODULE,
10341033 },
10351034 .remove = dm355_ccdc_remove,
10361035 .probe = dm355_ccdc_probe,
drivers/media/platform/davinci/dm644x_ccdc.c+0−1
@@ -1029,7 +1029,6 @@ static const struct dev_pm_ops dm644x_ccdc_pm_ops = { · 1028 unmodified lines
10291029 static struct platform_driver dm644x_ccdc_driver = {
10301030 .driver = {
10311031 .name = "dm644x_ccdc",
1032− .owner = THIS_MODULE,
10331032 .pm = &dm644x_ccdc_pm_ops,
10341033 },
10351034 .remove = dm644x_ccdc_remove,
drivers/media/platform/davinci/isif.c+0−1
@@ -1134,7 +1134,6 @@ static int isif_remove(struct platform_device *pdev) · 1133 unmodified lines
11341134 static struct platform_driver isif_driver = {
11351135 .driver = {
11361136 .name = "isif",
1137− .owner = THIS_MODULE,
11381137 },
11391138 .remove = isif_remove,
11401139 .probe = isif_probe,
drivers/media/platform/davinci/vpbe.c+0−1
@@ -876,7 +876,6 @@ static int vpbe_remove(struct platform_device *device) · 875 unmodified lines
876876 static struct platform_driver vpbe_driver = {
877877 .driver = {
878878 .name = "vpbe_controller",
879− .owner = THIS_MODULE,
880879 },
881880 .probe = vpbe_probe,
882881 .remove = vpbe_remove,
drivers/media/platform/davinci/vpbe_display.c+0−1
@@ -1526,7 +1526,6 @@ static int vpbe_display_remove(struct platform_device *pdev) · 1525 unmodified lines
15261526 static struct platform_driver vpbe_display_driver = {
15271527 .driver = {
15281528 .name = VPBE_DISPLAY_DRIVER,
1529− .owner = THIS_MODULE,
15301529 .bus = &platform_bus_type,
15311530 },
15321531 .probe = vpbe_display_probe,
drivers/media/platform/davinci/vpbe_osd.c+0−1
@@ -1585,7 +1585,6 @@ static struct platform_driver osd_driver = { · 1584 unmodified lines
15851585 .remove = osd_remove,
15861586 .driver = {
15871587 .name = MODULE_NAME,
1588− .owner = THIS_MODULE,
15891588 },
15901589 .id_table = vpbe_osd_devtype
15911590 };
drivers/media/platform/davinci/vpbe_venc.c+0−1
@@ -687,7 +687,6 @@ static struct platform_driver venc_driver = { · 686 unmodified lines
687687 .remove = venc_remove,
688688 .driver = {
689689 .name = MODULE_NAME,
690− .owner = THIS_MODULE,
691690 },
692691 .id_table = vpbe_venc_devtype
693692 };
drivers/media/platform/davinci/vpfe_capture.c+0−1
@@ -2031,7 +2031,6 @@ static const struct dev_pm_ops vpfe_dev_pm_ops = { · 2030 unmodified lines
20312031 static struct platform_driver vpfe_driver = {
20322032 .driver = {
20332033 .name = CAPTURE_DRV_NAME,
2034− .owner = THIS_MODULE,
20352034 .pm = &vpfe_dev_pm_ops,
20362035 },
20372036 .probe = vpfe_probe,
drivers/media/platform/davinci/vpif.c+0−1
@@ -467,7 +467,6 @@ static const struct dev_pm_ops vpif_pm = { · 466 unmodified lines
467467 static struct platform_driver vpif_driver = {
468468 .driver = {
469469 .name = "vpif",
470− .owner = THIS_MODULE,
471470 .pm = vpif_pm_ops,
472471 },
473472 .remove = vpif_remove,
drivers/media/platform/davinci/vpif_capture.c+0−1
@@ -1658,7 +1658,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume); · 1657 unmodified lines
16581658 static __refdata struct platform_driver vpif_driver = {
16591659 .driver = {
16601660 .name = VPIF_DRIVER_NAME,
1661− .owner = THIS_MODULE,
16621661 .pm = &vpif_pm_ops,
16631662 },
16641663 .probe = vpif_probe,
drivers/media/platform/davinci/vpif_display.c+0−1
@@ -1459,7 +1459,6 @@ static SIMPLE_DEV_PM_OPS(vpif_pm_ops, vpif_suspend, vpif_resume); · 1458 unmodified lines
14591459 static __refdata struct platform_driver vpif_driver = {
14601460 .driver = {
14611461 .name = VPIF_DRIVER_NAME,
1462− .owner = THIS_MODULE,
14631462 .pm = &vpif_pm_ops,
14641463 },
14651464 .probe = vpif_probe,
drivers/media/platform/davinci/vpss.c+0−1
@@ -504,7 +504,6 @@ static const struct dev_pm_ops vpss_pm_ops = { · 503 unmodified lines
504504 static struct platform_driver vpss_driver = {
505505 .driver = {
506506 .name = "vpss",
507− .owner = THIS_MODULE,
508507 .pm = &vpss_pm_ops,
509508 },
510509 .remove = vpss_remove,
drivers/media/platform/exynos-gsc/gsc-core.c+0−1
@@ -1256,7 +1256,6 @@ static struct platform_driver gsc_driver = { · 1255 unmodified lines
12561256 .id_table = gsc_driver_ids,
12571257 .driver = {
12581258 .name = GSC_MODULE_NAME,
1259− .owner = THIS_MODULE,
12601259 .pm = &gsc_pm_ops,
12611260 .of_match_table = exynos_gsc_match,
12621261 }
drivers/media/platform/exynos4-is/fimc-core.c+0−1
@@ -1294,7 +1294,6 @@ static struct platform_driver fimc_driver = { · 1293 unmodified lines
12941294 .driver = {
12951295 .of_match_table = fimc_of_match,
12961296 .name = FIMC_DRIVER_NAME,
1297− .owner = THIS_MODULE,
12981297 .pm = &fimc_pm_ops,
12991298 }
13001299 };
drivers/media/platform/exynos4-is/fimc-is-i2c.c+0−1
@@ -133,7 +133,6 @@ static struct platform_driver fimc_is_i2c_driver = { · 132 unmodified lines
133133 .driver = {
134134 .of_match_table = fimc_is_i2c_of_match,
135135 .name = "fimc-isp-i2c",
136− .owner = THIS_MODULE,
137136 .pm = &fimc_is_i2c_pm_ops,
138137 }
139138 };
drivers/media/platform/exynos4-is/fimc-is.c+0−1
@@ -960,7 +960,6 @@ static struct platform_driver fimc_is_driver = { · 959 unmodified lines
960960 .driver = {
961961 .of_match_table = fimc_is_of_match,
962962 .name = FIMC_IS_DRV_NAME,
963− .owner = THIS_MODULE,
964963 .pm = &fimc_is_pm_ops,
965964 }
966965 };
drivers/media/platform/exynos4-is/fimc-lite.c+0−1
@@ -1720,7 +1720,6 @@ static struct platform_driver fimc_lite_driver = { · 1719 unmodified lines
17201720 .driver = {
17211721 .of_match_table = flite_of_match,
17221722 .name = FIMC_LITE_DRV_NAME,
1723− .owner = THIS_MODULE,
17241723 .pm = &fimc_lite_pm_ops,
17251724 }
17261725 };
drivers/media/platform/exynos4-is/media-dev.c+0−1
@@ -1469,7 +1469,6 @@ static struct platform_driver fimc_md_driver = { · 1468 unmodified lines
14691469 .driver = {
14701470 .of_match_table = of_match_ptr(fimc_md_of_match),
14711471 .name = "s5p-fimc-md",
1472− .owner = THIS_MODULE,
14731472 }
14741473 };
14751474
drivers/media/platform/exynos4-is/mipi-csis.c+0−1
@@ -1041,7 +1041,6 @@ static struct platform_driver s5pcsis_driver = { · 1040 unmodified lines
10411041 .driver = {
10421042 .of_match_table = s5pcsis_of_match,
10431043 .name = CSIS_DRIVER_NAME,
1044− .owner = THIS_MODULE,
10451044 .pm = &s5pcsis_pm_ops,
10461045 },
10471046 };
drivers/media/platform/fsl-viu.c+0−1
@@ -1681,7 +1681,6 @@ static struct platform_driver viu_of_platform_driver = { · 1680 unmodified lines
16811681 #endif
16821682 .driver = {
16831683 .name = DRV_NAME,
1684− .owner = THIS_MODULE,
16851684 .of_match_table = mpc512x_viu_of_match,
16861685 },
16871686 };
drivers/media/platform/m2m-deinterlace.c+0−1
@@ -1101,7 +1101,6 @@ static struct platform_driver deinterlace_pdrv = { · 1100 unmodified lines
11011101 .remove = deinterlace_remove,
11021102 .driver = {
11031103 .name = MEM2MEM_NAME,
1104− .owner = THIS_MODULE,
11051104 },
11061105 };
11071106 module_platform_driver(deinterlace_pdrv);
drivers/media/platform/marvell-ccic/mmp-driver.c+0−1
@@ -512,7 +512,6 @@ static struct platform_driver mmpcam_driver = { · 511 unmodified lines
512512 #endif
513513 .driver = {
514514 .name = "mmp-camera",
515− .owner = THIS_MODULE
516515 }
517516 };
518517
drivers/media/platform/mx2_emmaprp.c+0−1
@@ -1005,7 +1005,6 @@ static struct platform_driver emmaprp_pdrv = { · 1004 unmodified lines
10051005 .remove = emmaprp_remove,
10061006 .driver = {
10071007 .name = MEM2MEM_NAME,
1008− .owner = THIS_MODULE,
10091008 },
10101009 };
10111010 module_platform_driver(emmaprp_pdrv);
drivers/media/platform/omap3isp/isp.c+0−1
@@ -2380,7 +2380,6 @@ static struct platform_driver omap3isp_driver = { · 2379 unmodified lines
23802380 .remove = isp_remove,
23812381 .id_table = omap3isp_id_table,
23822382 .driver = {
2383− .owner = THIS_MODULE,
23842383 .name = "omap3isp",
23852384 .pm = &omap3isp_pm_ops,
23862385 },
drivers/media/platform/s3c-camif/camif-core.c+0−1
@@ -651,7 +651,6 @@ static struct platform_driver s3c_camif_driver = { · 650 unmodified lines
651651 .id_table = s3c_camif_driver_ids,
652652 .driver = {
653653 .name = S3C_CAMIF_DRIVER_NAME,
654− .owner = THIS_MODULE,
655654 .pm = &s3c_camif_pm_ops,
656655 }
657656 };
drivers/media/platform/s5p-g2d/g2d.c+0−1
@@ -806,7 +806,6 @@ static struct platform_driver g2d_pdrv = { · 805 unmodified lines
806806 .id_table = g2d_driver_ids,
807807 .driver = {
808808 .name = G2D_NAME,
809− .owner = THIS_MODULE,
810809 .of_match_table = exynos_g2d_match,
811810 },
812811 };
drivers/media/platform/s5p-jpeg/jpeg-core.c+0−1
@@ -2763,7 +2763,6 @@ static struct platform_driver s5p_jpeg_driver = { · 2762 unmodified lines
27632763 .remove = s5p_jpeg_remove,
27642764 .driver = {
27652765 .of_match_table = of_match_ptr(samsung_jpeg_match),
2766− .owner = THIS_MODULE,
27672766 .name = S5P_JPEG_M2M_NAME,
27682767 .pm = &s5p_jpeg_pm_ops,
27692768 },
drivers/media/platform/s5p-mfc/s5p_mfc.c+0−1
@@ -1516,7 +1516,6 @@ static struct platform_driver s5p_mfc_driver = { · 1515 unmodified lines
15161516 .id_table = mfc_driver_ids,
15171517 .driver = {
15181518 .name = S5P_MFC_NAME,
1519− .owner = THIS_MODULE,
15201519 .pm = &s5p_mfc_pm_ops,
15211520 .of_match_table = exynos_mfc_match,
15221521 },
drivers/media/platform/s5p-tv/hdmi_drv.c+0−1
@@ -1046,7 +1046,6 @@ static struct platform_driver hdmi_driver __refdata = { · 1045 unmodified lines
10461046 .id_table = hdmi_driver_types,
10471047 .driver = {
10481048 .name = "s5p-hdmi",
1049− .owner = THIS_MODULE,
10501049 .pm = &hdmi_pm_ops,
10511050 }
10521051 };
drivers/media/platform/s5p-tv/mixer_drv.c+0−1
@@ -487,7 +487,6 @@ static struct platform_driver mxr_driver __refdata = { · 486 unmodified lines
487487 .remove = mxr_remove,
488488 .driver = {
489489 .name = MXR_DRIVER_NAME,
490− .owner = THIS_MODULE,
491490 .pm = &mxr_pm_ops,
492491 }
493492 };
drivers/media/platform/s5p-tv/sdo_drv.c+0−1
@@ -482,7 +482,6 @@ static struct platform_driver sdo_driver __refdata = { · 481 unmodified lines
482482 .remove = sdo_remove,
483483 .driver = {
484484 .name = "s5p-sdo",
485− .owner = THIS_MODULE,
486485 .pm = &sdo_pm_ops,
487486 }
488487 };
drivers/media/platform/sh_veu.c+0−1
@@ -1235,7 +1235,6 @@ static struct platform_driver __refdata sh_veu_pdrv = { · 1234 unmodified lines
12351235 .remove = sh_veu_remove,
12361236 .driver = {
12371237 .name = "sh_veu",
1238− .owner = THIS_MODULE,
12391238 },
12401239 };
12411240
drivers/media/platform/sh_vou.c+0−1
@@ -1450,7 +1450,6 @@ static struct platform_driver __refdata sh_vou = { · 1449 unmodified lines
14501450 .remove = sh_vou_remove,
14511451 .driver = {
14521452 .name = "sh-vou",
1453− .owner = THIS_MODULE,
14541453 },
14551454 };
14561455
drivers/media/platform/soc_camera/atmel-isi.c+0−1
@@ -1068,7 +1068,6 @@ static struct platform_driver atmel_isi_driver = { · 1067 unmodified lines
10681068 .remove = atmel_isi_remove,
10691069 .driver = {
10701070 .name = "atmel_isi",
1071− .owner = THIS_MODULE,
10721071 .of_match_table = of_match_ptr(atmel_isi_of_match),
10731072 },
10741073 };
drivers/media/platform/soc_camera/mx3_camera.c+0−1
@@ -1253,7 +1253,6 @@ static int mx3_camera_remove(struct platform_device *pdev) · 1252 unmodified lines
12531253 static struct platform_driver mx3_camera_driver = {
12541254 .driver = {
12551255 .name = MX3_CAM_DRV_NAME,
1256− .owner = THIS_MODULE,
12571256 },
12581257 .probe = mx3_camera_probe,
12591258 .remove = mx3_camera_remove,
drivers/media/platform/soc_camera/rcar_vin.c+0−1
@@ -1543,7 +1543,6 @@ static struct platform_driver rcar_vin_driver = { · 1542 unmodified lines
15431543 .remove = rcar_vin_remove,
15441544 .driver = {
15451545 .name = DRV_NAME,
1546− .owner = THIS_MODULE,
15471546 .of_match_table = of_match_ptr(rcar_vin_of_table),
15481547 },
15491548 .id_table = rcar_vin_id_table,
drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c+0−1
@@ -2009,7 +2009,6 @@ MODULE_DEVICE_TABLE(of, sh_mobile_ceu_of_match); · 2008 unmodified lines
20092009 static struct platform_driver sh_mobile_ceu_driver = {
20102010 .driver = {
20112011 .name = "sh_mobile_ceu",
2012− .owner = THIS_MODULE,
20132012 .pm = &sh_mobile_ceu_dev_pm_ops,
20142013 .of_match_table = sh_mobile_ceu_of_match,
20152014 },
drivers/media/platform/soc_camera/sh_mobile_csi2.c+0−1
@@ -391,7 +391,6 @@ static struct platform_driver __refdata sh_csi2_pdrv = { · 390 unmodified lines
391391 .probe = sh_csi2_probe,
392392 .driver = {
393393 .name = "sh-mobile-csi2",
394− .owner = THIS_MODULE,
395394 },
396395 };
397396
drivers/media/platform/soc_camera/soc_camera.c+0−1
@@ -2236,7 +2236,6 @@ static struct platform_driver __refdata soc_camera_pdrv = { · 2235 unmodified lines
22362236 .remove = soc_camera_pdrv_remove,
22372237 .driver = {
22382238 .name = "soc-camera-pdrv",
2239− .owner = THIS_MODULE,
22402239 },
22412240 };
22422241
drivers/media/platform/soc_camera/soc_camera_platform.c+0−1
@@ -180,7 +180,6 @@ static int soc_camera_platform_remove(struct platform_device *pdev) · 179 unmodified lines
180180 static struct platform_driver soc_camera_platform_driver = {
181181 .driver = {
182182 .name = "soc_camera_platform",
183− .owner = THIS_MODULE,
184183 },
185184 .probe = soc_camera_platform_probe,
186185 .remove = soc_camera_platform_remove,
drivers/media/platform/ti-vpe/vpe.c+0−1
@@ -2376,7 +2376,6 @@ static struct platform_driver vpe_pdrv = { · 2375 unmodified lines
23762376 .remove = vpe_remove,
23772377 .driver = {
23782378 .name = VPE_MODULE_NAME,
2379− .owner = THIS_MODULE,
23802379 .of_match_table = vpe_of_match,
23812380 },
23822381 };
drivers/media/platform/timblogiw.c+0−1
@@ -857,7 +857,6 @@ static int timblogiw_remove(struct platform_device *pdev) · 856 unmodified lines
857857 static struct platform_driver timblogiw_platform_driver = {
858858 .driver = {
859859 .name = DRIVER_NAME,
860− .owner = THIS_MODULE,
861860 },
862861 .probe = timblogiw_probe,
863862 .remove = timblogiw_remove,
drivers/media/platform/vim2m.c+0−1
@@ -1060,7 +1060,6 @@ static struct platform_driver vim2m_pdrv = { · 1059 unmodified lines
10601060 .remove = vim2m_remove,
10611061 .driver = {
10621062 .name = MEM2MEM_NAME,
1063− .owner = THIS_MODULE,
10641063 },
10651064 };
10661065
drivers/media/platform/vsp1/vsp1_drv.c+0−1
@@ -562,7 +562,6 @@ static struct platform_driver vsp1_platform_driver = { · 561 unmodified lines
562562 .probe = vsp1_probe,
563563 .remove = vsp1_remove,
564564 .driver = {
565− .owner = THIS_MODULE,
566565 .name = "vsp1",
567566 .pm = &vsp1_pm_ops,
568567 .of_match_table = vsp1_of_match,
drivers/media/radio/radio-si476x.c+0−1
@@ -1575,7 +1575,6 @@ MODULE_ALIAS("platform:si476x-radio"); · 1574 unmodified lines
15751575 static struct platform_driver si476x_radio_driver = {
15761576 .driver = {
15771577 .name = DRIVER_NAME,
1578− .owner = THIS_MODULE,
15791578 },
15801579 .probe = si476x_radio_probe,
15811580 .remove = si476x_radio_remove,
drivers/media/radio/radio-timb.c+0−1
@@ -174,7 +174,6 @@ static int timbradio_remove(struct platform_device *pdev) · 173 unmodified lines
174174 static struct platform_driver timbradio_platform_driver = {
175175 .driver = {
176176 .name = DRIVER_NAME,
177− .owner = THIS_MODULE,
178177 },
179178 .probe = timbradio_probe,
180179 .remove = timbradio_remove,
drivers/media/radio/radio-wl1273.c+0−1
@@ -2150,7 +2150,6 @@ static struct platform_driver wl1273_fm_radio_driver = { · 2149 unmodified lines
21502150 .remove = wl1273_fm_radio_remove,
21512151 .driver = {
21522152 .name = "wl1273_fm_radio",
2153− .owner = THIS_MODULE,
21542153 },
21552154 };
21562155
drivers/media/radio/si4713/radio-platform-si4713.c+0−1
@@ -220,7 +220,6 @@ static int radio_si4713_pdriver_remove(struct platform_device *pdev) · 219 unmodified lines
220220 static struct platform_driver radio_si4713_pdriver = {
221221 .driver = {
222222 .name = "radio-si4713",
223− .owner = THIS_MODULE,
224223 },
225224 .probe = radio_si4713_pdriver_probe,
226225 .remove = radio_si4713_pdriver_remove,
drivers/media/rc/gpio-ir-recv.c+0−1
@@ -240,7 +240,6 @@ static struct platform_driver gpio_ir_recv_driver = { · 239 unmodified lines
240240 .remove = gpio_ir_recv_remove,
241241 .driver = {
242242 .name = GPIO_IR_DRIVER_NAME,
243− .owner = THIS_MODULE,
244243 .of_match_table = of_match_ptr(gpio_ir_recv_of_match),
245244 #ifdef CONFIG_PM
246245 .pm = &gpio_ir_recv_pm_ops,
drivers/media/rc/sunxi-cir.c+0−1
@@ -306,7 +306,6 @@ static struct platform_driver sunxi_ir_driver = { · 305 unmodified lines
306306 .remove = sunxi_ir_remove,
307307 .driver = {
308308 .name = SUNXI_IR_DEV,
309− .owner = THIS_MODULE,
310309 .of_match_table = sunxi_ir_match,
311310 },
312311 };
drivers/memory/atmel-sdramc.c+0−1
@@ -82,7 +82,6 @@ static struct platform_driver atmel_ramc_driver = { · 81 unmodified lines
8282 .probe = atmel_ramc_probe,
8383 .driver = {
8484 .name = "atmel-ramc",
85− .owner = THIS_MODULE,
8685 .of_match_table = atmel_ramc_of_match,
8786 },
8887 };
drivers/memory/fsl-corenet-cf.c+0−1
@@ -237,7 +237,6 @@ static int ccf_remove(struct platform_device *pdev) · 236 unmodified lines
237237 static struct platform_driver ccf_driver = {
238238 .driver = {
239239 .name = KBUILD_MODNAME,
240− .owner = THIS_MODULE,
241240 .of_match_table = ccf_matches,
242241 },
243242 .probe = ccf_probe,
drivers/memory/mvebu-devbus.c+0−1
@@ -346,7 +346,6 @@ static struct platform_driver mvebu_devbus_driver = { · 345 unmodified lines
346346 .probe = mvebu_devbus_probe,
347347 .driver = {
348348 .name = "mvebu-devbus",
349− .owner = THIS_MODULE,
350349 .of_match_table = mvebu_devbus_of_match,
351350 },
352351 };
drivers/memory/omap-gpmc.c+0−1
@@ -1987,7 +1987,6 @@ static struct platform_driver gpmc_driver = { · 1986 unmodified lines
19871987 .remove = gpmc_remove,
19881988 .driver = {
19891989 .name = DEVICE_NAME,
1990− .owner = THIS_MODULE,
19911990 .of_match_table = of_match_ptr(gpmc_dt_ids),
19921991 .pm = &gpmc_pm_ops,
19931992 },
drivers/memory/tegra20-mc.c+0−1
@@ -243,7 +243,6 @@ static struct platform_driver tegra20_mc_driver = { · 242 unmodified lines
243243 .probe = tegra20_mc_probe,
244244 .driver = {
245245 .name = DRV_NAME,
246− .owner = THIS_MODULE,
247246 .of_match_table = tegra20_mc_of_match,
248247 },
249248 };
drivers/memory/ti-aemif.c+0−1
@@ -413,7 +413,6 @@ static struct platform_driver aemif_driver = { · 412 unmodified lines
413413 .remove = aemif_remove,
414414 .driver = {
415415 .name = KBUILD_MODNAME,
416− .owner = THIS_MODULE,
417416 .of_match_table = of_match_ptr(aemif_of_match),
418417 },
419418 };
drivers/memstick/host/rtsx_pci_ms.c+0−1
@@ -645,7 +645,6 @@ static struct platform_driver rtsx_pci_ms_driver = { · 644 unmodified lines
645645 .suspend = rtsx_pci_ms_suspend,
646646 .resume = rtsx_pci_ms_resume,
647647 .driver = {
648− .owner = THIS_MODULE,
649648 .name = DRV_NAME_RTSX_PCI_MS,
650649 },
651650 };
drivers/memstick/host/rtsx_usb_ms.c+0−1
@@ -827,7 +827,6 @@ static struct platform_driver rtsx_usb_ms_driver = { · 826 unmodified lines
827827 .remove = rtsx_usb_ms_drv_remove,
828828 .id_table = rtsx_usb_ms_ids,
829829 .driver = {
830− .owner = THIS_MODULE,
831830 .name = "rtsx_usb_ms",
832831 .pm = &rtsx_usb_ms_pm_ops,
833832 },
drivers/mfd/ab3100-otp.c+0−1
@@ -239,7 +239,6 @@ static int __exit ab3100_otp_remove(struct platform_device *pdev) · 238 unmodified lines
239239 static struct platform_driver ab3100_otp_driver = {
240240 .driver = {
241241 .name = "ab3100-otp",
242− .owner = THIS_MODULE,
243242 },
244243 .remove = __exit_p(ab3100_otp_remove),
245244 };
drivers/mfd/ab8500-core.c+0−1
@@ -1848,7 +1848,6 @@ static const struct platform_device_id ab8500_id[] = { · 1847 unmodified lines
18481848 static struct platform_driver ab8500_core_driver = {
18491849 .driver = {
18501850 .name = "ab8500-core",
1851− .owner = THIS_MODULE,
18521851 },
18531852 .probe = ab8500_probe,
18541853 .remove = ab8500_remove,
drivers/mfd/ab8500-debugfs.c+0−1
@@ -3263,7 +3263,6 @@ static int ab8500_debug_remove(struct platform_device *plf) · 3262 unmodified lines
32633263 static struct platform_driver ab8500_debug_driver = {
32643264 .driver = {
32653265 .name = "ab8500-debug",
3266− .owner = THIS_MODULE,
32673266 },
32683267 .probe = ab8500_debug_probe,
32693268 .remove = ab8500_debug_remove
drivers/mfd/ab8500-gpadc.c+0−1
@@ -1044,7 +1044,6 @@ static struct platform_driver ab8500_gpadc_driver = { · 1043 unmodified lines
10441044 .remove = ab8500_gpadc_remove,
10451045 .driver = {
10461046 .name = "ab8500-gpadc",
1047− .owner = THIS_MODULE,
10481047 .pm = &ab8500_gpadc_pm_ops,
10491048 },
10501049 };
drivers/mfd/ab8500-sysctrl.c+0−1
@@ -180,7 +180,6 @@ static int ab8500_sysctrl_remove(struct platform_device *pdev) · 179 unmodified lines
180180 static struct platform_driver ab8500_sysctrl_driver = {
181181 .driver = {
182182 .name = "ab8500-sysctrl",
183− .owner = THIS_MODULE,
184183 },
185184 .probe = ab8500_sysctrl_probe,
186185 .remove = ab8500_sysctrl_remove,
drivers/mfd/davinci_voicecodec.c+0−1
@@ -143,7 +143,6 @@ static int davinci_vc_remove(struct platform_device *pdev) · 142 unmodified lines
143143 static struct platform_driver davinci_vc_driver = {
144144 .driver = {
145145 .name = "davinci_voicecodec",
146− .owner = THIS_MODULE,
147146 },
148147 .remove = davinci_vc_remove,
149148 };
drivers/mfd/db8500-prcmu.c+0−1
@@ -3232,7 +3232,6 @@ static const struct of_device_id db8500_prcmu_match[] = { · 3231 unmodified lines
32323232 static struct platform_driver db8500_prcmu_driver = {
32333233 .driver = {
32343234 .name = "db8500-prcmu",
3235− .owner = THIS_MODULE,
32363235 .of_match_table = db8500_prcmu_match,
32373236 },
32383237 .probe = db8500_prcmu_probe,
drivers/mfd/intel_msic.c+0−1
@@ -447,7 +447,6 @@ static struct platform_driver intel_msic_driver = { · 446 unmodified lines
447447 .remove = intel_msic_remove,
448448 .driver = {
449449 .name = "intel_msic",
450− .owner = THIS_MODULE,
451450 },
452451 };
453452
drivers/mfd/jz4740-adc.c+0−1
@@ -324,7 +324,6 @@ static struct platform_driver jz4740_adc_driver = { · 323 unmodified lines
324324 .remove = jz4740_adc_remove,
325325 .driver = {
326326 .name = "jz4740-adc",
327− .owner = THIS_MODULE,
328327 },
329328 };
330329
drivers/mfd/kempld-core.c+0−1
@@ -494,7 +494,6 @@ static int kempld_remove(struct platform_device *pdev) · 493 unmodified lines
494494 static struct platform_driver kempld_driver = {
495495 .driver = {
496496 .name = "kempld",
497− .owner = THIS_MODULE,
498497 },
499498 .probe = kempld_probe,
500499 .remove = kempld_remove,
drivers/mfd/mcp-sa11x0.c+0−1
@@ -299,7 +299,6 @@ static struct platform_driver mcp_sa11x0_driver = { · 298 unmodified lines
299299 .remove = mcp_sa11x0_remove,
300300 .driver = {
301301 .name = DRIVER_NAME,
302− .owner = THIS_MODULE,
303302 .pm = &mcp_sa11x0_pm_ops,
304303 },
305304 };
drivers/mfd/omap-usb-host.c+0−1
@@ -882,7 +882,6 @@ MODULE_DEVICE_TABLE(of, usbhs_omap_dt_ids); · 881 unmodified lines
882882 static struct platform_driver usbhs_omap_driver = {
883883 .driver = {
884884 .name = (char *)usbhs_driver_name,
885− .owner = THIS_MODULE,
886885 .pm = &usbhsomap_dev_pm_ops,
887886 .of_match_table = usbhs_omap_dt_ids,
888887 },
drivers/mfd/omap-usb-tll.c+0−1
@@ -319,7 +319,6 @@ MODULE_DEVICE_TABLE(of, usbtll_omap_dt_ids); · 318 unmodified lines
319319 static struct platform_driver usbtll_omap_driver = {
320320 .driver = {
321321 .name = (char *)usbtll_driver_name,
322− .owner = THIS_MODULE,
323322 .of_match_table = usbtll_omap_dt_ids,
324323 },
325324 .probe = usbtll_omap_probe,
drivers/mfd/pm8921-core.c+0−1
@@ -374,7 +374,6 @@ static struct platform_driver pm8921_driver = { · 373 unmodified lines
374374 .remove = pm8921_remove,
375375 .driver = {
376376 .name = "pm8921-core",
377− .owner = THIS_MODULE,
378377 .of_match_table = pm8921_id_table,
379378 },
380379 };
drivers/mfd/sm501.c+0−1
@@ -1723,7 +1723,6 @@ static const struct of_device_id of_sm501_match_tbl[] = { · 1722 unmodified lines
17231723 static struct platform_driver sm501_plat_driver = {
17241724 .driver = {
17251725 .name = "sm501",
1726− .owner = THIS_MODULE,
17271726 .of_match_table = of_sm501_match_tbl,
17281727 },
17291728 .probe = sm501_plat_probe,
drivers/mfd/ssbi.c+0−1
@@ -327,7 +327,6 @@ static struct platform_driver ssbi_driver = { · 326 unmodified lines
327327 .probe = ssbi_probe,
328328 .driver = {
329329 .name = "ssbi",
330− .owner = THIS_MODULE,
331330 .of_match_table = ssbi_match_table,
332331 },
333332 };
drivers/mfd/sta2x11-mfd.c+0−4
@@ -368,7 +368,6 @@ static int sta2x11_scr_probe(struct platform_device *dev) · 367 unmodified lines
368368 static struct platform_driver sta2x11_sctl_platform_driver = {
369369 .driver = {
370370 .name = STA2X11_MFD_SCTL_NAME,
371− .owner = THIS_MODULE,
372371 },
373372 .probe = sta2x11_sctl_probe,
374373 };
@@ -382,7 +381,6 @@ static int __init sta2x11_sctl_init(void) · 7 unmodified lines
382381 static struct platform_driver sta2x11_platform_driver = {
383382 .driver = {
384383 .name = STA2X11_MFD_APBREG_NAME,
385− .owner = THIS_MODULE,
386384 },
387385 .probe = sta2x11_apbreg_probe,
388386 };
@@ -396,7 +394,6 @@ static int __init sta2x11_apbreg_init(void) · 7 unmodified lines
396394 static struct platform_driver sta2x11_apb_soc_regs_platform_driver = {
397395 .driver = {
398396 .name = STA2X11_MFD_APB_SOC_REGS_NAME,
399− .owner = THIS_MODULE,
400397 },
401398 .probe = sta2x11_apb_soc_regs_probe,
402399 };
@@ -410,7 +407,6 @@ static int __init sta2x11_apb_soc_regs_init(void) · 7 unmodified lines
410407 static struct platform_driver sta2x11_scr_platform_driver = {
411408 .driver = {
412409 .name = STA2X11_MFD_SCR_NAME,
413− .owner = THIS_MODULE,
414410 },
415411 .probe = sta2x11_scr_probe,
416412 };
drivers/mfd/sun6i-prcm.c+0−1
@@ -152,7 +152,6 @@ static int sun6i_prcm_probe(struct platform_device *pdev) · 151 unmodified lines
152152 static struct platform_driver sun6i_prcm_driver = {
153153 .driver = {
154154 .name = "sun6i-prcm",
155− .owner = THIS_MODULE,
156155 .of_match_table = sun6i_prcm_dt_ids,
157156 },
158157 .probe = sun6i_prcm_probe,
drivers/mfd/syscon.c+0−1
@@ -219,7 +219,6 @@ static const struct platform_device_id syscon_ids[] = { · 218 unmodified lines
219219 static struct platform_driver syscon_driver = {
220220 .driver = {
221221 .name = "syscon",
222− .owner = THIS_MODULE,
223222 },
224223 .probe = syscon_probe,
225224 .id_table = syscon_ids,
drivers/mfd/t7l66xb.c+0−1
@@ -431,7 +431,6 @@ static int t7l66xb_remove(struct platform_device *dev) · 430 unmodified lines
431431 static struct platform_driver t7l66xb_platform_driver = {
432432 .driver = {
433433 .name = "t7l66xb",
434− .owner = THIS_MODULE,
435434 },
436435 .suspend = t7l66xb_suspend,
437436 .resume = t7l66xb_resume,
drivers/mfd/tc6393xb.c+0−1
@@ -842,7 +842,6 @@ static struct platform_driver tc6393xb_driver = { · 841 unmodified lines
842842
843843 .driver = {
844844 .name = "tc6393xb",
845− .owner = THIS_MODULE,
846845 },
847846 };
848847
drivers/mfd/ti_am335x_tscadc.c+0−1
@@ -368,7 +368,6 @@ MODULE_DEVICE_TABLE(of, ti_tscadc_dt_ids); · 367 unmodified lines
368368 static struct platform_driver ti_tscadc_driver = {
369369 .driver = {
370370 .name = "ti_am3359-tscadc",
371− .owner = THIS_MODULE,
372371 .pm = TSCADC_PM_OPS,
373372 .of_match_table = ti_tscadc_dt_ids,
374373 },
drivers/mfd/tps65911-comparator.c+0−1
@@ -166,7 +166,6 @@ static int tps65911_comparator_remove(struct platform_device *pdev) · 165 unmodified lines
166166 static struct platform_driver tps65911_comparator_driver = {
167167 .driver = {
168168 .name = "tps65911-comparator",
169− .owner = THIS_MODULE,
170169 },
171170 .probe = tps65911_comparator_probe,
172171 .remove = tps65911_comparator_remove,
drivers/mfd/twl4030-audio.c+0−1
@@ -283,7 +283,6 @@ MODULE_DEVICE_TABLE(of, twl4030_audio_of_match); · 282 unmodified lines
283283
284284 static struct platform_driver twl4030_audio_driver = {
285285 .driver = {
286− .owner = THIS_MODULE,
287286 .name = "twl4030-audio",
288287 .of_match_table = twl4030_audio_of_match,
289288 },
drivers/mfd/twl4030-power.c+0−1
@@ -933,7 +933,6 @@ static int twl4030_power_remove(struct platform_device *pdev) · 932 unmodified lines
933933 static struct platform_driver twl4030_power_driver = {
934934 .driver = {
935935 .name = "twl4030_power",
936− .owner = THIS_MODULE,
937936 .of_match_table = of_match_ptr(twl4030_power_of_match),
938937 },
939938 .probe = twl4030_power_probe,
drivers/misc/arm-charlcd.c+0−1
@@ -375,7 +375,6 @@ static const struct of_device_id charlcd_match[] = { · 374 unmodified lines
375375 static struct platform_driver charlcd_driver = {
376376 .driver = {
377377 .name = DRIVERNAME,
378− .owner = THIS_MODULE,
379378 .pm = &charlcd_pm_ops,
380379 .of_match_table = of_match_ptr(charlcd_match),
381380 },
drivers/misc/atmel-ssc.c+0−1
@@ -220,7 +220,6 @@ static int ssc_remove(struct platform_device *pdev) · 219 unmodified lines
220220 static struct platform_driver ssc_driver = {
221221 .driver = {
222222 .name = "ssc",
223− .owner = THIS_MODULE,
224223 .of_match_table = of_match_ptr(atmel_ssc_dt_ids),
225224 },
226225 .id_table = atmel_ssc_devtypes,
drivers/misc/carma/carma-fpga-program.c+0−1
@@ -1091,7 +1091,6 @@ static struct platform_driver fpga_of_driver = { · 1090 unmodified lines
10911091 .driver = {
10921092 .name = drv_name,
10931093 .of_match_table = fpga_of_match,
1094− .owner = THIS_MODULE,
10951094 },
10961095 };
10971096
drivers/misc/carma/carma-fpga.c+0−1
@@ -1433,7 +1433,6 @@ static struct platform_driver data_of_driver = { · 1432 unmodified lines
14331433 .driver = {
14341434 .name = drv_name,
14351435 .of_match_table = data_of_match,
1436− .owner = THIS_MODULE,
14371436 },
14381437 };
14391438
drivers/misc/cs5535-mfgpt.c+0−1
@@ -365,7 +365,6 @@ done: · 364 unmodified lines
365365 static struct platform_driver cs5535_mfgpt_driver = {
366366 .driver = {
367367 .name = DRV_NAME,
368− .owner = THIS_MODULE,
369368 },
370369 .probe = cs5535_mfgpt_probe,
371370 };
drivers/misc/eeprom/sunxi_sid.c+0−1
@@ -146,7 +146,6 @@ static struct platform_driver sunxi_sid_driver = { · 145 unmodified lines
146146 .remove = sunxi_sid_remove,
147147 .driver = {
148148 .name = DRV_NAME,
149− .owner = THIS_MODULE,
150149 .of_match_table = sunxi_sid_of_match,
151150 },
152151 };
drivers/misc/mic/card/mic_x100.c+0−1
@@ -255,7 +255,6 @@ static struct platform_driver __refdata mic_platform_driver = { · 254 unmodified lines
255255 .shutdown = mic_platform_shutdown,
256256 .driver = {
257257 .name = mic_driver_name,
258− .owner = THIS_MODULE,
259258 },
260259 };
261260
drivers/misc/ti-st/st_kim.c+0−1
@@ -858,7 +858,6 @@ static struct platform_driver kim_platform_driver = { · 857 unmodified lines
858858 .resume = kim_resume,
859859 .driver = {
860860 .name = "kim",
861− .owner = THIS_MODULE,
862861 },
863862 };
864863
drivers/mmc/host/au1xmmc.c+0−1
@@ -1206,7 +1206,6 @@ static struct platform_driver au1xmmc_driver = { · 1205 unmodified lines
12061206 .resume = au1xmmc_resume,
12071207 .driver = {
12081208 .name = DRIVER_NAME,
1209− .owner = THIS_MODULE,
12101209 },
12111210 };
12121211
drivers/mmc/host/davinci_mmc.c+0−1
@@ -1466,7 +1466,6 @@ static const struct dev_pm_ops davinci_mmcsd_pm = { · 1465 unmodified lines
14661466 static struct platform_driver davinci_mmcsd_driver = {
14671467 .driver = {
14681468 .name = "davinci_mmc",
1469− .owner = THIS_MODULE,
14701469 .pm = davinci_mmcsd_pm_ops,
14711470 .of_match_table = davinci_mmc_dt_ids,
14721471 },
drivers/mmc/host/sdhci-acpi.c+0−1
@@ -463,7 +463,6 @@ static const struct dev_pm_ops sdhci_acpi_pm_ops = { · 462 unmodified lines
463463 static struct platform_driver sdhci_acpi_driver = {
464464 .driver = {
465465 .name = "sdhci-acpi",
466− .owner = THIS_MODULE,
467466 .acpi_match_table = sdhci_acpi_ids,
468467 .pm = &sdhci_acpi_pm_ops,
469468 },
drivers/mmc/host/tmio_mmc.c+0−1
@@ -143,7 +143,6 @@ static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { · 142 unmodified lines
143143 static struct platform_driver tmio_mmc_driver = {
144144 .driver = {
145145 .name = "tmio-mmc",
146− .owner = THIS_MODULE,
147146 .pm = &tmio_mmc_dev_pm_ops,
148147 },
149148 .probe = tmio_mmc_probe,
drivers/mmc/host/usdhi6rol0.c+0−1
@@ -1834,7 +1834,6 @@ static struct platform_driver usdhi6_driver = { · 1833 unmodified lines
18341834 .remove = usdhi6_remove,
18351835 .driver = {
18361836 .name = "usdhi6rol0",
1837− .owner = THIS_MODULE,
18381837 .of_match_table = usdhi6_of_match,
18391838 },
18401839 };
drivers/mmc/host/wbsd.c+0−1
@@ -1914,7 +1914,6 @@ static struct platform_driver wbsd_driver = { · 1913 unmodified lines
19141914 .resume = wbsd_platform_resume,
19151915 .driver = {
19161916 .name = DRIVER_NAME,
1917− .owner = THIS_MODULE,
19181917 },
19191918 };
19201919
drivers/mmc/host/wmt-sdmmc.c+0−1
@@ -991,7 +991,6 @@ static struct platform_driver wmt_mci_driver = { · 990 unmodified lines
991991 .remove = wmt_mci_remove,
992992 .driver = {
993993 .name = DRIVER_NAME,
994− .owner = THIS_MODULE,
995994 .pm = wmt_mci_pm_ops,
996995 .of_match_table = wmt_mci_dt_ids,
997996 },
drivers/mtd/devices/bcm47xxsflash.c+0−1
@@ -329,7 +329,6 @@ static struct platform_driver bcma_sflash_driver = { · 328 unmodified lines
329329 .remove = bcm47xxsflash_bcma_remove,
330330 .driver = {
331331 .name = "bcma_sflash",
332− .owner = THIS_MODULE,
333332 },
334333 };
335334
drivers/mtd/devices/docg3.c+0−1
@@ -2129,7 +2129,6 @@ static int __exit docg3_release(struct platform_device *pdev) · 2128 unmodified lines
21292129 static struct platform_driver g3_driver = {
21302130 .driver = {
21312131 .name = "docg3",
2132− .owner = THIS_MODULE,
21332132 },
21342133 .suspend = docg3_suspend,
21352134 .resume = docg3_resume,
drivers/mtd/devices/spear_smi.c+0−1
@@ -1079,7 +1079,6 @@ static struct platform_driver spear_smi_driver = { · 1078 unmodified lines
10791079 .driver = {
10801080 .name = "smi",
10811081 .bus = &platform_bus_type,
1082− .owner = THIS_MODULE,
10831082 .of_match_table = of_match_ptr(spear_smi_id_table),
10841083 .pm = &spear_smi_pm_ops,
10851084 },
drivers/mtd/devices/st_spi_fsm.c+0−1
@@ -2069,7 +2069,6 @@ static struct platform_driver stfsm_driver = { · 2068 unmodified lines
20692069 .remove = stfsm_remove,
20702070 .driver = {
20712071 .name = "st-spi-fsm",
2072− .owner = THIS_MODULE,
20732072 .of_match_table = stfsm_match,
20742073 },
20752074 };
drivers/mtd/maps/ixp4xx.c+0−1
@@ -250,7 +250,6 @@ static struct platform_driver ixp4xx_flash_driver = { · 249 unmodified lines
250250 .remove = ixp4xx_flash_remove,
251251 .driver = {
252252 .name = "IXP4XX-Flash",
253− .owner = THIS_MODULE,
254253 },
255254 };
256255
drivers/mtd/maps/lantiq-flash.c+0−1
@@ -205,7 +205,6 @@ static struct platform_driver ltq_mtd_driver = { · 204 unmodified lines
205205 .remove = ltq_mtd_remove,
206206 .driver = {
207207 .name = "ltq-nor",
208− .owner = THIS_MODULE,
209208 .of_match_table = ltq_mtd_match,
210209 },
211210 };
drivers/mtd/maps/physmap.c+0−1
@@ -217,7 +217,6 @@ static struct platform_driver physmap_flash_driver = { · 216 unmodified lines
217217 .shutdown = physmap_flash_shutdown,
218218 .driver = {
219219 .name = "physmap-flash",
220− .owner = THIS_MODULE,
221220 },
222221 };
223222
drivers/mtd/maps/physmap_of.c+0−1
@@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, of_flash_match); · 353 unmodified lines
354354 static struct platform_driver of_flash_driver = {
355355 .driver = {
356356 .name = "of-flash",
357− .owner = THIS_MODULE,
358357 .of_match_table = of_flash_match,
359358 },
360359 .probe = of_flash_probe,
drivers/mtd/maps/plat-ram.c+0−1
@@ -251,7 +251,6 @@ static struct platform_driver platram_driver = { · 250 unmodified lines
251251 .remove = platram_remove,
252252 .driver = {
253253 .name = "mtd-ram",
254− .owner = THIS_MODULE,
255254 },
256255 };
257256
drivers/mtd/maps/pxa2xx-flash.c+0−1
@@ -131,7 +131,6 @@ static void pxa2xx_flash_shutdown(struct platform_device *dev) · 130 unmodified lines
131131 static struct platform_driver pxa2xx_flash_driver = {
132132 .driver = {
133133 .name = "pxa2xx-flash",
134− .owner = THIS_MODULE,
135134 },
136135 .probe = pxa2xx_flash_probe,
137136 .remove = pxa2xx_flash_remove,
drivers/mtd/maps/rbtx4939-flash.c+0−1
@@ -127,7 +127,6 @@ static struct platform_driver rbtx4939_flash_driver = { · 126 unmodified lines
127127 .shutdown = rbtx4939_flash_shutdown,
128128 .driver = {
129129 .name = "rbtx4939-flash",
130− .owner = THIS_MODULE,
131130 },
132131 };
133132
drivers/mtd/maps/sa1100-flash.c+0−1
@@ -289,7 +289,6 @@ static struct platform_driver sa1100_mtd_driver = { · 288 unmodified lines
289289 .remove = __exit_p(sa1100_mtd_remove),
290290 .driver = {
291291 .name = "sa1100-mtd",
292− .owner = THIS_MODULE,
293292 },
294293 };
295294
drivers/mtd/maps/sun_uflash.c+0−1
@@ -150,7 +150,6 @@ MODULE_DEVICE_TABLE(of, uflash_match); · 149 unmodified lines
150150 static struct platform_driver uflash_driver = {
151151 .driver = {
152152 .name = DRIVER_NAME,
153− .owner = THIS_MODULE,
154153 .of_match_table = uflash_match,
155154 },
156155 .probe = uflash_probe,
drivers/mtd/nand/ams-delta.c+0−1
@@ -290,7 +290,6 @@ static struct platform_driver ams_delta_nand_driver = { · 289 unmodified lines
290290 .remove = ams_delta_cleanup,
291291 .driver = {
292292 .name = "ams-delta-nand",
293− .owner = THIS_MODULE,
294293 },
295294 };
296295
drivers/mtd/nand/atmel_nand.c+0−2
@@ -2312,7 +2312,6 @@ MODULE_DEVICE_TABLE(of, atmel_nand_nfc_match); · 2311 unmodified lines
23122312 static struct platform_driver atmel_nand_nfc_driver = {
23132313 .driver = {
23142314 .name = "atmel_nand_nfc",
2315− .owner = THIS_MODULE,
23162315 .of_match_table = of_match_ptr(atmel_nand_nfc_match),
23172316 },
23182317 .probe = atmel_nand_nfc_probe,
@@ -2324,7 +2323,6 @@ static struct platform_driver atmel_nand_driver = { · 5 unmodified lines
23242323 .remove = atmel_nand_remove,
23252324 .driver = {
23262325 .name = "atmel_nand",
2327− .owner = THIS_MODULE,
23282326 .of_match_table = of_match_ptr(atmel_nand_dt_ids),
23292327 },
23302328 };
drivers/mtd/nand/au1550nd.c+0−1
@@ -503,7 +503,6 @@ static int au1550nd_remove(struct platform_device *pdev) · 502 unmodified lines
503503 static struct platform_driver au1550nd_driver = {
504504 .driver = {
505505 .name = "au1550-nand",
506− .owner = THIS_MODULE,
507506 },
508507 .probe = au1550nd_probe,
509508 .remove = au1550nd_remove,
drivers/mtd/nand/bcm47xxnflash/main.c+0−1
@@ -73,7 +73,6 @@ static struct platform_driver bcm47xxnflash_driver = { · 72 unmodified lines
7373 .remove = bcm47xxnflash_remove,
7474 .driver = {
7575 .name = "bcma_nflash",
76− .owner = THIS_MODULE,
7776 },
7877 };
7978
drivers/mtd/nand/bf5xx_nand.c+0−1
@@ -836,7 +836,6 @@ static struct platform_driver bf5xx_nand_driver = { · 835 unmodified lines
836836 .remove = bf5xx_nand_remove,
837837 .driver = {
838838 .name = DRV_NAME,
839− .owner = THIS_MODULE,
840839 },
841840 };
842841
drivers/mtd/nand/davinci_nand.c+0−1
@@ -870,7 +870,6 @@ static struct platform_driver nand_davinci_driver = { · 869 unmodified lines
870870 .remove = nand_davinci_remove,
871871 .driver = {
872872 .name = "davinci_nand",
873− .owner = THIS_MODULE,
874873 .of_match_table = of_match_ptr(davinci_nand_of_match),
875874 },
876875 };
drivers/mtd/nand/denali_dt.c+0−1
@@ -120,7 +120,6 @@ static struct platform_driver denali_dt_driver = { · 119 unmodified lines
120120 .remove = denali_dt_remove,
121121 .driver = {
122122 .name = "denali-nand-dt",
123− .owner = THIS_MODULE,
124123 .of_match_table = denali_nand_dt_ids,
125124 },
126125 };
drivers/mtd/nand/docg4.c+0−1
@@ -1380,7 +1380,6 @@ static int __exit cleanup_docg4(struct platform_device *pdev) · 1379 unmodified lines
13801380 static struct platform_driver docg4_driver = {
13811381 .driver = {
13821382 .name = "docg4",
1383− .owner = THIS_MODULE,
13841383 },
13851384 .suspend = docg4_suspend,
13861385 .resume = docg4_resume,
drivers/mtd/nand/fsl_elbc_nand.c+0−1
@@ -950,7 +950,6 @@ static const struct of_device_id fsl_elbc_nand_match[] = { · 949 unmodified lines
950950 static struct platform_driver fsl_elbc_nand_driver = {
951951 .driver = {
952952 .name = "fsl,elbc-fcm-nand",
953− .owner = THIS_MODULE,
954953 .of_match_table = fsl_elbc_nand_match,
955954 },
956955 .probe = fsl_elbc_nand_probe,
drivers/mtd/nand/fsl_ifc_nand.c+0−1
@@ -1167,7 +1167,6 @@ static const struct of_device_id fsl_ifc_nand_match[] = { · 1166 unmodified lines
11671167 static struct platform_driver fsl_ifc_nand_driver = {
11681168 .driver = {
11691169 .name = "fsl,ifc-nand",
1170− .owner = THIS_MODULE,
11711170 .of_match_table = fsl_ifc_nand_match,
11721171 },
11731172 .probe = fsl_ifc_nand_probe,
drivers/mtd/nand/fsl_upm.c+0−1
@@ -347,7 +347,6 @@ MODULE_DEVICE_TABLE(of, of_fun_match); · 346 unmodified lines
347347 static struct platform_driver of_fun_driver = {
348348 .driver = {
349349 .name = "fsl,upm-nand",
350− .owner = THIS_MODULE,
351350 .of_match_table = of_fun_match,
352351 },
353352 .probe = fun_probe,
drivers/mtd/nand/fsmc_nand.c+0−1
@@ -1224,7 +1224,6 @@ MODULE_DEVICE_TABLE(of, fsmc_nand_id_table); · 1223 unmodified lines
12241224 static struct platform_driver fsmc_nand_driver = {
12251225 .remove = fsmc_nand_remove,
12261226 .driver = {
1227− .owner = THIS_MODULE,
12281227 .name = "fsmc-nand",
12291228 .of_match_table = of_match_ptr(fsmc_nand_id_table),
12301229 .pm = &fsmc_nand_pm_ops,
drivers/mtd/nand/gpio.c+0−1
@@ -308,7 +308,6 @@ static struct platform_driver gpio_nand_driver = { · 307 unmodified lines
308308 .remove = gpio_nand_remove,
309309 .driver = {
310310 .name = "gpio-nand",
311− .owner = THIS_MODULE,
312311 .of_match_table = of_match_ptr(gpio_nand_id_table),
313312 },
314313 };
drivers/mtd/nand/jz4740_nand.c+0−1
@@ -577,7 +577,6 @@ static struct platform_driver jz_nand_driver = { · 576 unmodified lines
577577 .remove = jz_nand_remove,
578578 .driver = {
579579 .name = "jz4740-nand",
580− .owner = THIS_MODULE,
581580 },
582581 };
583582
drivers/mtd/nand/lpc32xx_mlc.c+0−1
@@ -878,7 +878,6 @@ static struct platform_driver lpc32xx_nand_driver = { · 877 unmodified lines
878878 .suspend = lpc32xx_nand_suspend,
879879 .driver = {
880880 .name = DRV_NAME,
881− .owner = THIS_MODULE,
882881 .of_match_table = lpc32xx_nand_match,
883882 },
884883 };
drivers/mtd/nand/lpc32xx_slc.c+0−1
@@ -999,7 +999,6 @@ static struct platform_driver lpc32xx_nand_driver = { · 998 unmodified lines
999999 .suspend = lpc32xx_nand_suspend,
10001000 .driver = {
10011001 .name = LPC32XX_MODNAME,
1002− .owner = THIS_MODULE,
10031002 .of_match_table = lpc32xx_nand_match,
10041003 },
10051004 };
drivers/mtd/nand/mpc5121_nfc.c+0−1
@@ -847,7 +847,6 @@ static struct platform_driver mpc5121_nfc_driver = { · 846 unmodified lines
847847 .remove = mpc5121_nfc_remove,
848848 .driver = {
849849 .name = DRV_NAME,
850− .owner = THIS_MODULE,
851850 .of_match_table = mpc5121_nfc_match,
852851 },
853852 };
drivers/mtd/nand/mxc_nand.c+0−1
@@ -1600,7 +1600,6 @@ static int mxcnd_remove(struct platform_device *pdev) · 1599 unmodified lines
16001600 static struct platform_driver mxcnd_driver = {
16011601 .driver = {
16021602 .name = DRIVER_NAME,
1603− .owner = THIS_MODULE,
16041603 .of_match_table = of_match_ptr(mxcnd_dt_ids),
16051604 },
16061605 .id_table = mxcnd_devtype,
drivers/mtd/nand/ndfc.c+0−1
@@ -277,7 +277,6 @@ MODULE_DEVICE_TABLE(of, ndfc_match); · 276 unmodified lines
277277 static struct platform_driver ndfc_driver = {
278278 .driver = {
279279 .name = "ndfc",
280− .owner = THIS_MODULE,
281280 .of_match_table = ndfc_match,
282281 },
283282 .probe = ndfc_probe,
drivers/mtd/nand/nuc900_nand.c+0−1
@@ -300,7 +300,6 @@ static struct platform_driver nuc900_nand_driver = { · 299 unmodified lines
300300 .remove = nuc900_nand_remove,
301301 .driver = {
302302 .name = "nuc900-fmi",
303− .owner = THIS_MODULE,
304303 },
305304 };
306305
drivers/mtd/nand/omap2.c+0−1
@@ -2095,7 +2095,6 @@ static struct platform_driver omap_nand_driver = { · 2094 unmodified lines
20952095 .remove = omap_nand_remove,
20962096 .driver = {
20972097 .name = DRIVER_NAME,
2098− .owner = THIS_MODULE,
20992098 },
21002099 };
21012100
drivers/mtd/nand/omap_elm.c+0−1
@@ -563,7 +563,6 @@ MODULE_DEVICE_TABLE(of, elm_of_match); · 562 unmodified lines
563563 static struct platform_driver elm_driver = {
564564 .driver = {
565565 .name = DRIVER_NAME,
566− .owner = THIS_MODULE,
567566 .of_match_table = of_match_ptr(elm_of_match),
568567 .pm = &elm_pm_ops,
569568 },
drivers/mtd/nand/orion_nand.c+0−1
@@ -224,7 +224,6 @@ static struct platform_driver orion_nand_driver = { · 223 unmodified lines
224224 .remove = orion_nand_remove,
225225 .driver = {
226226 .name = "orion_nand",
227− .owner = THIS_MODULE,
228227 .of_match_table = of_match_ptr(orion_nand_of_match_table),
229228 },
230229 };
drivers/mtd/nand/pasemi_nand.c+0−1
@@ -223,7 +223,6 @@ static struct platform_driver pasemi_nand_driver = · 222 unmodified lines
223223 {
224224 .driver = {
225225 .name = driver_name,
226− .owner = THIS_MODULE,
227226 .of_match_table = pasemi_nand_match,
228227 },
229228 .probe = pasemi_nand_probe,
drivers/mtd/nand/plat_nand.c+0−1
@@ -138,7 +138,6 @@ static struct platform_driver plat_nand_driver = { · 137 unmodified lines
138138 .remove = plat_nand_remove,
139139 .driver = {
140140 .name = "gen_nand",
141− .owner = THIS_MODULE,
142141 .of_match_table = plat_nand_match,
143142 },
144143 };
drivers/mtd/nand/s3c2410.c+0−1
@@ -1135,7 +1135,6 @@ static struct platform_driver s3c24xx_nand_driver = { · 1134 unmodified lines
11351135 .id_table = s3c24xx_driver_ids,
11361136 .driver = {
11371137 .name = "s3c24xx-nand",
1138− .owner = THIS_MODULE,
11391138 },
11401139 };
11411140
drivers/mtd/nand/sh_flctl.c+0−1
@@ -1190,7 +1190,6 @@ static struct platform_driver flctl_driver = { · 1189 unmodified lines
11901190 .remove = flctl_remove,
11911191 .driver = {
11921192 .name = "sh_flctl",
1193− .owner = THIS_MODULE,
11941193 .of_match_table = of_match_ptr(of_flctl_match),
11951194 },
11961195 };
drivers/mtd/nand/sharpsl.c+0−1
@@ -220,7 +220,6 @@ static int sharpsl_nand_remove(struct platform_device *pdev) · 219 unmodified lines
220220 static struct platform_driver sharpsl_nand_driver = {
221221 .driver = {
222222 .name = "sharpsl-nand",
223− .owner = THIS_MODULE,
224223 },
225224 .probe = sharpsl_nand_probe,
226225 .remove = sharpsl_nand_remove,
drivers/mtd/nand/socrates_nand.c+0−1
@@ -240,7 +240,6 @@ MODULE_DEVICE_TABLE(of, socrates_nand_match); · 239 unmodified lines
240240 static struct platform_driver socrates_nand_driver = {
241241 .driver = {
242242 .name = "socrates_nand",
243− .owner = THIS_MODULE,
244243 .of_match_table = socrates_nand_match,
245244 },
246245 .probe = socrates_nand_probe,
drivers/mtd/nand/txx9ndfmc.c+0−1
@@ -417,7 +417,6 @@ static struct platform_driver txx9ndfmc_driver = { · 416 unmodified lines
417417 .resume = txx9ndfmc_resume,
418418 .driver = {
419419 .name = "txx9ndfmc",
420− .owner = THIS_MODULE,
421420 },
422421 };
423422
drivers/mtd/onenand/generic.c+0−1
@@ -106,7 +106,6 @@ static int generic_onenand_remove(struct platform_device *pdev) · 105 unmodified lines
106106 static struct platform_driver generic_onenand_driver = {
107107 .driver = {
108108 .name = DRIVER_NAME,
109− .owner = THIS_MODULE,
110109 },
111110 .probe = generic_onenand_probe,
112111 .remove = generic_onenand_remove,
drivers/mtd/onenand/omap2.c+0−1
@@ -804,7 +804,6 @@ static struct platform_driver omap2_onenand_driver = { · 803 unmodified lines
804804 .shutdown = omap2_onenand_shutdown,
805805 .driver = {
806806 .name = DRIVER_NAME,
807− .owner = THIS_MODULE,
808807 },
809808 };
810809
drivers/mtd/spi-nor/fsl-quadspi.c+0−1
@@ -991,7 +991,6 @@ static struct platform_driver fsl_qspi_driver = { · 990 unmodified lines
991991 .driver = {
992992 .name = "fsl-quadspi",
993993 .bus = &platform_bus_type,
994− .owner = THIS_MODULE,
995994 .of_match_table = fsl_qspi_dt_ids,
996995 },
997996 .probe = fsl_qspi_probe,
drivers/net/can/at91_can.c+0−1
@@ -1428,7 +1428,6 @@ static struct platform_driver at91_can_driver = { · 1427 unmodified lines
14281428 .remove = at91_can_remove,
14291429 .driver = {
14301430 .name = KBUILD_MODNAME,
1431− .owner = THIS_MODULE,
14321431 .of_match_table = of_match_ptr(at91_can_dt_ids),
14331432 },
14341433 .id_table = at91_can_id_table,
drivers/net/can/bfin_can.c+0−1
@@ -680,7 +680,6 @@ static struct platform_driver bfin_can_driver = { · 679 unmodified lines
680680 .resume = bfin_can_resume,
681681 .driver = {
682682 .name = DRV_NAME,
683− .owner = THIS_MODULE,
684683 },
685684 };
686685
drivers/net/can/c_can/c_can_platform.c+0−1
@@ -471,7 +471,6 @@ static int c_can_resume(struct platform_device *pdev) · 470 unmodified lines
471471 static struct platform_driver c_can_plat_driver = {
472472 .driver = {
473473 .name = KBUILD_MODNAME,
474− .owner = THIS_MODULE,
475474 .of_match_table = c_can_of_table,
476475 },
477476 .probe = c_can_plat_probe,
drivers/net/can/cc770/cc770_isa.c+0−1
@@ -318,7 +318,6 @@ static struct platform_driver cc770_isa_driver = { · 317 unmodified lines
318318 .remove = cc770_isa_remove,
319319 .driver = {
320320 .name = KBUILD_MODNAME,
321− .owner = THIS_MODULE,
322321 },
323322 };
324323
drivers/net/can/cc770/cc770_platform.c+0−1
@@ -264,7 +264,6 @@ MODULE_DEVICE_TABLE(of, cc770_platform_table); · 263 unmodified lines
264264 static struct platform_driver cc770_platform_driver = {
265265 .driver = {
266266 .name = DRV_NAME,
267− .owner = THIS_MODULE,
268267 .of_match_table = cc770_platform_table,
269268 },
270269 .probe = cc770_platform_probe,
drivers/net/can/flexcan.c+0−1
@@ -1302,7 +1302,6 @@ static SIMPLE_DEV_PM_OPS(flexcan_pm_ops, flexcan_suspend, flexcan_resume); · 1301 unmodified lines
13021302 static struct platform_driver flexcan_driver = {
13031303 .driver = {
13041304 .name = DRV_NAME,
1305− .owner = THIS_MODULE,
13061305 .pm = &flexcan_pm_ops,
13071306 .of_match_table = flexcan_of_match,
13081307 },
drivers/net/can/grcan.c+0−1
@@ -1738,7 +1738,6 @@ MODULE_DEVICE_TABLE(of, grcan_match); · 1737 unmodified lines
17381738 static struct platform_driver grcan_driver = {
17391739 .driver = {
17401740 .name = DRV_NAME,
1741− .owner = THIS_MODULE,
17421741 .of_match_table = grcan_match,
17431742 },
17441743 .probe = grcan_probe,
drivers/net/can/janz-ican3.c+0−1
@@ -1910,7 +1910,6 @@ static int ican3_remove(struct platform_device *pdev) · 1909 unmodified lines
19101910 static struct platform_driver ican3_driver = {
19111911 .driver = {
19121912 .name = DRV_NAME,
1913− .owner = THIS_MODULE,
19141913 },
19151914 .probe = ican3_probe,
19161915 .remove = ican3_remove,
drivers/net/can/mscan/mpc5xxx_can.c+0−1
@@ -441,7 +441,6 @@ MODULE_DEVICE_TABLE(of, mpc5xxx_can_table); · 440 unmodified lines
441441 static struct platform_driver mpc5xxx_can_driver = {
442442 .driver = {
443443 .name = "mpc5xxx_can",
444− .owner = THIS_MODULE,
445444 .of_match_table = mpc5xxx_can_table,
446445 },
447446 .probe = mpc5xxx_can_probe,
drivers/net/can/rcar_can.c+0−1
@@ -907,7 +907,6 @@ MODULE_DEVICE_TABLE(of, rcar_can_of_table); · 906 unmodified lines
907907 static struct platform_driver rcar_can_driver = {
908908 .driver = {
909909 .name = RCAR_CAN_DRV_NAME,
910− .owner = THIS_MODULE,
911910 .of_match_table = of_match_ptr(rcar_can_of_table),
912911 .pm = &rcar_can_pm_ops,
913912 },
drivers/net/can/sja1000/sja1000_isa.c+0−1
@@ -259,7 +259,6 @@ static struct platform_driver sja1000_isa_driver = { · 258 unmodified lines
259259 .remove = sja1000_isa_remove,
260260 .driver = {
261261 .name = DRV_NAME,
262− .owner = THIS_MODULE,
263262 },
264263 };
265264
drivers/net/can/sja1000/sja1000_platform.c+0−1
@@ -253,7 +253,6 @@ static struct platform_driver sp_driver = { · 252 unmodified lines
253253 .remove = sp_remove,
254254 .driver = {
255255 .name = DRV_NAME,
256− .owner = THIS_MODULE,
257256 .of_match_table = sp_of_table,
258257 },
259258 };
drivers/net/can/softing/softing_main.c+0−1
@@ -856,7 +856,6 @@ platform_resource_failed: · 855 unmodified lines
856856 static struct platform_driver softing_driver = {
857857 .driver = {
858858 .name = "softing",
859− .owner = THIS_MODULE,
860859 },
861860 .probe = softing_pdev_probe,
862861 .remove = softing_pdev_remove,
drivers/net/can/ti_hecc.c+0−1
@@ -1039,7 +1039,6 @@ static int ti_hecc_resume(struct platform_device *pdev) · 1038 unmodified lines
10391039 static struct platform_driver ti_hecc_driver = {
10401040 .driver = {
10411041 .name = DRV_NAME,
1042− .owner = THIS_MODULE,
10431042 },
10441043 .probe = ti_hecc_probe,
10451044 .remove = ti_hecc_remove,
drivers/net/can/xilinx_can.c+0−1
@@ -1196,7 +1196,6 @@ static struct platform_driver xcan_driver = { · 1195 unmodified lines
11961196 .probe = xcan_probe,
11971197 .remove = xcan_remove,
11981198 .driver = {
1199− .owner = THIS_MODULE,
12001199 .name = DRIVER_NAME,
12011200 .pm = &xcan_dev_pm_ops,
12021201 .of_match_table = xcan_of_match,
drivers/net/ethernet/8390/ax88796.c+0−1
@@ -1000,7 +1000,6 @@ static int ax_resume(struct platform_device *pdev) · 999 unmodified lines
10001000 static struct platform_driver axdrv = {
10011001 .driver = {
10021002 .name = "ax88796",
1003− .owner = THIS_MODULE,
10041003 },
10051004 .probe = ax_probe,
10061005 .remove = ax_remove,
drivers/net/ethernet/8390/mcf8390.c+0−1
@@ -467,7 +467,6 @@ static int mcf8390_remove(struct platform_device *pdev) · 466 unmodified lines
467467 static struct platform_driver mcf8390_drv = {
468468 .driver = {
469469 .name = "mcf8390",
470− .owner = THIS_MODULE,
471470 },
472471 .probe = mcf8390_probe,
473472 .remove = mcf8390_remove,
drivers/net/ethernet/8390/ne.c+0−1
@@ -920,7 +920,6 @@ static struct platform_driver ne_driver = { · 919 unmodified lines
920920 .resume = ne_drv_resume,
921921 .driver = {
922922 .name = DRV_NAME,
923− .owner = THIS_MODULE,
924923 },
925924 };
926925
drivers/net/ethernet/adi/bfin_mac.c+0−2
@@ -1901,7 +1901,6 @@ static struct platform_driver bfin_mii_bus_driver = { · 1900 unmodified lines
19011901 .remove = bfin_mii_bus_remove,
19021902 .driver = {
19031903 .name = "bfin_mii_bus",
1904− .owner = THIS_MODULE,
19051904 },
19061905 };
19071906
@@ -1912,7 +1911,6 @@ static struct platform_driver bfin_mac_driver = { · 4 unmodified lines
19121911 .suspend = bfin_mac_suspend,
19131912 .driver = {
19141913 .name = KBUILD_MODNAME,
1915− .owner = THIS_MODULE,
19161914 },
19171915 };
19181916
drivers/net/ethernet/aeroflex/greth.c+0−1
@@ -1603,7 +1603,6 @@ MODULE_DEVICE_TABLE(of, greth_of_match); · 1602 unmodified lines
16031603 static struct platform_driver greth_of_driver = {
16041604 .driver = {
16051605 .name = "grlib-greth",
1606− .owner = THIS_MODULE,
16071606 .of_match_table = greth_of_match,
16081607 },
16091608 .probe = greth_of_probe,
drivers/net/ethernet/altera/altera_tse_main.c+0−1
@@ -1587,7 +1587,6 @@ static struct platform_driver altera_tse_driver = { · 1586 unmodified lines
15871587 .resume = NULL,
15881588 .driver = {
15891589 .name = ALTERA_TSE_RESOURCE_NAME,
1590− .owner = THIS_MODULE,
15911590 .of_match_table = altera_tse_ids,
15921591 },
15931592 };
drivers/net/ethernet/amd/au1000_eth.c+0−1
@@ -1461,7 +1461,6 @@ static struct platform_driver au1000_eth_driver = { · 1460 unmodified lines
14611461 .remove = au1000_remove,
14621462 .driver = {
14631463 .name = "au1000-eth",
1464− .owner = THIS_MODULE,
14651464 },
14661465 };
14671466
drivers/net/ethernet/amd/sunlance.c+0−1
@@ -1524,7 +1524,6 @@ MODULE_DEVICE_TABLE(of, sunlance_sbus_match); · 1523 unmodified lines
15241524 static struct platform_driver sunlance_sbus_driver = {
15251525 .driver = {
15261526 .name = "sunlance",
1527− .owner = THIS_MODULE,
15281527 .of_match_table = sunlance_sbus_match,
15291528 },
15301529 .probe = sunlance_sbus_probe,
drivers/net/ethernet/apple/macmace.c+0−1
@@ -768,7 +768,6 @@ static struct platform_driver mac_mace_driver = { · 767 unmodified lines
768768 .remove = mac_mace_device_remove,
769769 .driver = {
770770 .name = mac_mace_string,
771− .owner = THIS_MODULE,
772771 },
773772 };
774773
drivers/net/ethernet/broadcom/bcmsysport.c+0−1
@@ -1994,7 +1994,6 @@ static struct platform_driver bcm_sysport_driver = { · 1993 unmodified lines
19941994 .remove = bcm_sysport_remove,
19951995 .driver = {
19961996 .name = "brcm-systemport",
1997− .owner = THIS_MODULE,
19981997 .of_match_table = bcm_sysport_of_match,
19991998 .pm = &bcm_sysport_pm_ops,
20001999 },
drivers/net/ethernet/broadcom/genet/bcmgenet.c+0−1
@@ -2889,7 +2889,6 @@ static struct platform_driver bcmgenet_driver = { · 2888 unmodified lines
28892889 .remove = bcmgenet_remove,
28902890 .driver = {
28912891 .name = "bcmgenet",
2892− .owner = THIS_MODULE,
28932892 .of_match_table = bcmgenet_match,
28942893 .pm = &bcmgenet_pm_ops,
28952894 },
drivers/net/ethernet/broadcom/sb1250-mac.c+0−1
@@ -2664,7 +2664,6 @@ static struct platform_driver sbmac_driver = { · 2663 unmodified lines
26642664 .remove = __exit_p(sbmac_remove),
26652665 .driver = {
26662666 .name = sbmac_string,
2667− .owner = THIS_MODULE,
26682667 },
26692668 };
26702669
drivers/net/ethernet/cadence/at91_ether.c+0−1
@@ -469,7 +469,6 @@ static struct platform_driver at91ether_driver = { · 468 unmodified lines
469469 .resume = at91ether_resume,
470470 .driver = {
471471 .name = "at91_ether",
472− .owner = THIS_MODULE,
473472 .of_match_table = of_match_ptr(at91ether_dt_ids),
474473 },
475474 };
drivers/net/ethernet/cadence/macb.c+0−1
@@ -2459,7 +2459,6 @@ static struct platform_driver macb_driver = { · 2458 unmodified lines
24592459 .remove = __exit_p(macb_remove),
24602460 .driver = {
24612461 .name = "macb",
2462− .owner = THIS_MODULE,
24632462 .of_match_table = of_match_ptr(macb_dt_ids),
24642463 .pm = &macb_pm_ops,
24652464 },
drivers/net/ethernet/cirrus/cs89x0.c+0−1
@@ -1897,7 +1897,6 @@ static int cs89x0_platform_remove(struct platform_device *pdev) · 1896 unmodified lines
18971897 static struct platform_driver cs89x0_driver = {
18981898 .driver = {
18991899 .name = DRV_NAME,
1900− .owner = THIS_MODULE,
19011900 },
19021901 .remove = cs89x0_platform_remove,
19031902 };
drivers/net/ethernet/cirrus/ep93xx_eth.c+0−1
@@ -881,7 +881,6 @@ static struct platform_driver ep93xx_eth_driver = { · 880 unmodified lines
881881 .remove = ep93xx_eth_remove,
882882 .driver = {
883883 .name = "ep93xx-eth",
884− .owner = THIS_MODULE,
885884 },
886885 };
887886
drivers/net/ethernet/davicom/dm9000.c+0−1
@@ -1749,7 +1749,6 @@ MODULE_DEVICE_TABLE(of, dm9000_of_matches); · 1748 unmodified lines
17491749 static struct platform_driver dm9000_driver = {
17501750 .driver = {
17511751 .name = "dm9000",
1752− .owner = THIS_MODULE,
17531752 .pm = &dm9000_drv_pm_ops,
17541753 .of_match_table = of_match_ptr(dm9000_of_matches),
17551754 },
drivers/net/ethernet/ethoc.c+0−1
@@ -1312,7 +1312,6 @@ static struct platform_driver ethoc_driver = { · 1311 unmodified lines
13121312 .resume = ethoc_resume,
13131313 .driver = {
13141314 .name = "ethoc",
1315− .owner = THIS_MODULE,
13161315 .of_match_table = ethoc_match,
13171316 },
13181317 };
drivers/net/ethernet/faraday/ftgmac100.c+0−1
@@ -1335,7 +1335,6 @@ static struct platform_driver ftgmac100_driver = { · 1334 unmodified lines
13351335 .remove = __exit_p(ftgmac100_remove),
13361336 .driver = {
13371337 .name = DRV_NAME,
1338− .owner = THIS_MODULE,
13391338 },
13401339 };
13411340
drivers/net/ethernet/faraday/ftmac100.c+0−1
@@ -1177,7 +1177,6 @@ static struct platform_driver ftmac100_driver = { · 1176 unmodified lines
11771177 .remove = __exit_p(ftmac100_remove),
11781178 .driver = {
11791179 .name = DRV_NAME,
1180− .owner = THIS_MODULE,
11811180 },
11821181 };
11831182
drivers/net/ethernet/freescale/fec_main.c+0−1
@@ -3386,7 +3386,6 @@ static SIMPLE_DEV_PM_OPS(fec_pm_ops, fec_suspend, fec_resume); · 3385 unmodified lines
33863386 static struct platform_driver fec_driver = {
33873387 .driver = {
33883388 .name = DRIVER_NAME,
3389− .owner = THIS_MODULE,
33903389 .pm = &fec_pm_ops,
33913390 .of_match_table = fec_dt_ids,
33923391 },
drivers/net/ethernet/freescale/fec_mpc52xx.c+0−1
@@ -1069,7 +1069,6 @@ MODULE_DEVICE_TABLE(of, mpc52xx_fec_match); · 1068 unmodified lines
10691069 static struct platform_driver mpc52xx_fec_driver = {
10701070 .driver = {
10711071 .name = DRIVER_NAME,
1072− .owner = THIS_MODULE,
10731072 .of_match_table = mpc52xx_fec_match,
10741073 },
10751074 .probe = mpc52xx_fec_probe,
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c+0−1
@@ -1087,7 +1087,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_match); · 1086 unmodified lines
10871087
10881088 static struct platform_driver fs_enet_driver = {
10891089 .driver = {
1090− .owner = THIS_MODULE,
10911090 .name = "fs_enet",
10921091 .of_match_table = fs_enet_match,
10931092 },
drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c+0−1
@@ -224,7 +224,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_bb_match); · 223 unmodified lines
224224 static struct platform_driver fs_enet_bb_mdio_driver = {
225225 .driver = {
226226 .name = "fsl-bb-mdio",
227− .owner = THIS_MODULE,
228227 .of_match_table = fs_enet_mdio_bb_match,
229228 },
230229 .probe = fs_enet_mdio_probe,
drivers/net/ethernet/freescale/fs_enet/mii-fec.c+0−1
@@ -225,7 +225,6 @@ MODULE_DEVICE_TABLE(of, fs_enet_mdio_fec_match); · 224 unmodified lines
225225 static struct platform_driver fs_enet_fec_mdio_driver = {
226226 .driver = {
227227 .name = "fsl-fec-mdio",
228− .owner = THIS_MODULE,
229228 .of_match_table = fs_enet_mdio_fec_match,
230229 },
231230 .probe = fs_enet_mdio_probe,
drivers/net/ethernet/freescale/fsl_pq_mdio.c+0−1
@@ -488,7 +488,6 @@ static int fsl_pq_mdio_remove(struct platform_device *pdev) · 487 unmodified lines
488488 static struct platform_driver fsl_pq_mdio_driver = {
489489 .driver = {
490490 .name = "fsl-pq_mdio",
491− .owner = THIS_MODULE,
492491 .of_match_table = fsl_pq_mdio_match,
493492 },
494493 .probe = fsl_pq_mdio_probe,
drivers/net/ethernet/freescale/gianfar.c+0−1
@@ -3561,7 +3561,6 @@ MODULE_DEVICE_TABLE(of, gfar_match); · 3560 unmodified lines
35613561 static struct platform_driver gfar_driver = {
35623562 .driver = {
35633563 .name = "fsl-gianfar",
3564− .owner = THIS_MODULE,
35653564 .pm = GFAR_PM_OPS,
35663565 .of_match_table = gfar_match,
35673566 },
drivers/net/ethernet/freescale/gianfar_ptp.c+0−1
@@ -563,7 +563,6 @@ static struct platform_driver gianfar_ptp_driver = { · 562 unmodified lines
563563 .driver = {
564564 .name = "gianfar_ptp",
565565 .of_match_table = match_table,
566− .owner = THIS_MODULE,
567566 },
568567 .probe = gianfar_ptp_probe,
569568 .remove = gianfar_ptp_remove,
drivers/net/ethernet/freescale/ucc_geth.c+0−1
@@ -3943,7 +3943,6 @@ MODULE_DEVICE_TABLE(of, ucc_geth_match); · 3942 unmodified lines
39433943 static struct platform_driver ucc_geth_driver = {
39443944 .driver = {
39453945 .name = DRV_NAME,
3946− .owner = THIS_MODULE,
39473946 .of_match_table = ucc_geth_match,
39483947 },
39493948 .probe = ucc_geth_probe,
drivers/net/ethernet/i825xx/sni_82596.c+0−1
@@ -165,7 +165,6 @@ static struct platform_driver sni_82596_driver = { · 164 unmodified lines
165165 .remove = sni_82596_driver_remove,
166166 .driver = {
167167 .name = sni_82596_string,
168− .owner = THIS_MODULE,
169168 },
170169 };
171170
drivers/net/ethernet/ibm/emac/core.c+0−1
@@ -3002,7 +3002,6 @@ MODULE_DEVICE_TABLE(of, emac_match); · 3001 unmodified lines
30023002 static struct platform_driver emac_driver = {
30033003 .driver = {
30043004 .name = "emac",
3005− .owner = THIS_MODULE,
30063005 .of_match_table = emac_match,
30073006 },
30083007 .probe = emac_probe,
drivers/net/ethernet/ibm/emac/mal.c+0−1
@@ -776,7 +776,6 @@ static struct of_device_id mal_platform_match[] = · 775 unmodified lines
776776 static struct platform_driver mal_of_driver = {
777777 .driver = {
778778 .name = "mcmal",
779− .owner = THIS_MODULE,
780779 .of_match_table = mal_platform_match,
781780 },
782781 .probe = mal_probe,
drivers/net/ethernet/ibm/emac/rgmii.c+0−1
@@ -319,7 +319,6 @@ static struct of_device_id rgmii_match[] = · 318 unmodified lines
319319 static struct platform_driver rgmii_driver = {
320320 .driver = {
321321 .name = "emac-rgmii",
322− .owner = THIS_MODULE,
323322 .of_match_table = rgmii_match,
324323 },
325324 .probe = rgmii_probe,
drivers/net/ethernet/ibm/emac/tah.c+0−1
@@ -163,7 +163,6 @@ static struct of_device_id tah_match[] = · 162 unmodified lines
163163 static struct platform_driver tah_driver = {
164164 .driver = {
165165 .name = "emac-tah",
166− .owner = THIS_MODULE,
167166 .of_match_table = tah_match,
168167 },
169168 .probe = tah_probe,
drivers/net/ethernet/ibm/emac/zmii.c+0−1
@@ -310,7 +310,6 @@ static struct of_device_id zmii_match[] = · 309 unmodified lines
310310 static struct platform_driver zmii_driver = {
311311 .driver = {
312312 .name = "emac-zmii",
313− .owner = THIS_MODULE,
314313 .of_match_table = zmii_match,
315314 },
316315 .probe = zmii_probe,
drivers/net/ethernet/lantiq_etop.c+0−1
@@ -789,7 +789,6 @@ static struct platform_driver ltq_mii_driver = { · 788 unmodified lines
789789 .remove = ltq_etop_remove,
790790 .driver = {
791791 .name = "ltq_etop",
792− .owner = THIS_MODULE,
793792 },
794793 };
795794
drivers/net/ethernet/marvell/mv643xx_eth.c+0−2
@@ -2839,7 +2839,6 @@ static struct platform_driver mv643xx_eth_shared_driver = { · 2838 unmodified lines
28392839 .remove = mv643xx_eth_shared_remove,
28402840 .driver = {
28412841 .name = MV643XX_ETH_SHARED_NAME,
2842− .owner = THIS_MODULE,
28432842 .of_match_table = of_match_ptr(mv643xx_eth_shared_ids),
28442843 },
28452844 };
@@ -3188,7 +3187,6 @@ static struct platform_driver mv643xx_eth_driver = { · 342 unmodified lines
31883187 .shutdown = mv643xx_eth_shutdown,
31893188 .driver = {
31903189 .name = MV643XX_ETH_NAME,
3191− .owner = THIS_MODULE,
31923190 },
31933191 };
31943192
drivers/net/ethernet/micrel/ks8695net.c+0−1
@@ -1612,7 +1612,6 @@ ks8695_drv_remove(struct platform_device *pdev) · 1611 unmodified lines
16121612 static struct platform_driver ks8695_driver = {
16131613 .driver = {
16141614 .name = MODULENAME,
1615− .owner = THIS_MODULE,
16161615 },
16171616 .probe = ks8695_probe,
16181617 .remove = ks8695_drv_remove,
drivers/net/ethernet/micrel/ks8842.c+0−1
@@ -1255,7 +1255,6 @@ static int ks8842_remove(struct platform_device *pdev) · 1254 unmodified lines
12551255 static struct platform_driver ks8842_platform_driver = {
12561256 .driver = {
12571257 .name = DRV_NAME,
1258− .owner = THIS_MODULE,
12591258 },
12601259 .probe = ks8842_probe,
12611260 .remove = ks8842_remove,
drivers/net/ethernet/micrel/ks8851_mll.c+0−1
@@ -1679,7 +1679,6 @@ static int ks8851_remove(struct platform_device *pdev) · 1678 unmodified lines
16791679 static struct platform_driver ks8851_platform_driver = {
16801680 .driver = {
16811681 .name = DRV_NAME,
1682− .owner = THIS_MODULE,
16831682 .of_match_table = of_match_ptr(ks8851_ml_dt_ids),
16841683 },
16851684 .probe = ks8851_probe,
drivers/net/ethernet/moxa/moxart_ether.c+0−1
@@ -559,7 +559,6 @@ static struct platform_driver moxart_mac_driver = { · 558 unmodified lines
559559 .remove = moxart_remove,
560560 .driver = {
561561 .name = "moxart-ethernet",
562− .owner = THIS_MODULE,
563562 .of_match_table = moxart_mac_match,
564563 },
565564 };
drivers/net/ethernet/natsemi/jazzsonic.c+0−1
@@ -287,7 +287,6 @@ static struct platform_driver jazz_sonic_driver = { · 286 unmodified lines
287287 .remove = jazz_sonic_device_remove,
288288 .driver = {
289289 .name = jazz_sonic_string,
290− .owner = THIS_MODULE,
291290 },
292291 };
293292
drivers/net/ethernet/natsemi/macsonic.c+0−1
@@ -630,7 +630,6 @@ static struct platform_driver mac_sonic_driver = { · 629 unmodified lines
630630 .remove = mac_sonic_device_remove,
631631 .driver = {
632632 .name = mac_sonic_string,
633− .owner = THIS_MODULE,
634633 },
635634 };
636635
drivers/net/ethernet/netx-eth.c+0−1
@@ -457,7 +457,6 @@ static struct platform_driver netx_eth_driver = { · 456 unmodified lines
457457 .resume = netx_eth_drv_resume,
458458 .driver = {
459459 .name = CARDNAME,
460− .owner = THIS_MODULE,
461460 },
462461 };
463462
drivers/net/ethernet/nuvoton/w90p910_ether.c+0−1
@@ -1081,7 +1081,6 @@ static struct platform_driver w90p910_ether_driver = { · 1080 unmodified lines
10811081 .remove = w90p910_ether_remove,
10821082 .driver = {
10831083 .name = "nuc900-emc",
1084− .owner = THIS_MODULE,
10851084 },
10861085 };
10871086
drivers/net/ethernet/octeon/octeon_mgmt.c+0−1
@@ -1568,7 +1568,6 @@ MODULE_DEVICE_TABLE(of, octeon_mgmt_match); · 1567 unmodified lines
15681568 static struct platform_driver octeon_mgmt_driver = {
15691569 .driver = {
15701570 .name = "octeon_mgmt",
1571− .owner = THIS_MODULE,
15721571 .of_match_table = octeon_mgmt_match,
15731572 },
15741573 .probe = octeon_mgmt_probe,
drivers/net/ethernet/s6gmac.c+0−1
@@ -1048,7 +1048,6 @@ static struct platform_driver s6gmac_driver = { · 1047 unmodified lines
10481048 .remove = s6gmac_remove,
10491049 .driver = {
10501050 .name = "s6gmac",
1051− .owner = THIS_MODULE,
10521051 },
10531052 };
10541053
drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c+0−1
@@ -233,7 +233,6 @@ static struct platform_driver sxgbe_platform_driver = { · 232 unmodified lines
233233 .remove = sxgbe_platform_remove,
234234 .driver = {
235235 .name = SXGBE_RESOURCE_NAME,
236− .owner = THIS_MODULE,
237236 .pm = &sxgbe_platform_pm_ops,
238237 .of_match_table = of_match_ptr(sxgbe_dt_ids),
239238 },
drivers/net/ethernet/seeq/sgiseeq.c+0−1
@@ -826,7 +826,6 @@ static struct platform_driver sgiseeq_driver = { · 825 unmodified lines
826826 .remove = __exit_p(sgiseeq_remove),
827827 .driver = {
828828 .name = "sgiseeq",
829− .owner = THIS_MODULE,
830829 }
831830 };
832831
drivers/net/ethernet/sgi/meth.c+0−1
@@ -870,7 +870,6 @@ static struct platform_driver meth_driver = { · 869 unmodified lines
870870 .remove = __exit_p(meth_remove),
871871 .driver = {
872872 .name = "meth",
873− .owner = THIS_MODULE,
874873 }
875874 };
876875
drivers/net/ethernet/smsc/smc911x.c+0−1
@@ -2173,7 +2173,6 @@ static struct platform_driver smc911x_driver = { · 2172 unmodified lines
21732173 .resume = smc911x_drv_resume,
21742174 .driver = {
21752175 .name = CARDNAME,
2176− .owner = THIS_MODULE,
21772176 },
21782177 };
21792178
drivers/net/ethernet/smsc/smc91x.c+0−1
@@ -2472,7 +2472,6 @@ static struct platform_driver smc_driver = { · 2471 unmodified lines
24722472 .remove = smc_drv_remove,
24732473 .driver = {
24742474 .name = CARDNAME,
2475− .owner = THIS_MODULE,
24762475 .pm = &smc_drv_pm_ops,
24772476 .of_match_table = of_match_ptr(smc91x_match),
24782477 },
drivers/net/ethernet/smsc/smsc911x.c+0−1
@@ -2659,7 +2659,6 @@ static struct platform_driver smsc911x_driver = { · 2658 unmodified lines
26592659 .remove = smsc911x_drv_remove,
26602660 .driver = {
26612661 .name = SMSC_CHIPNAME,
2662− .owner = THIS_MODULE,
26632662 .pm = SMSC911X_PM_OPS,
26642663 .of_match_table = of_match_ptr(smsc911x_dt_ids),
26652664 },
drivers/net/ethernet/sun/niu.c+0−1
@@ -10180,7 +10180,6 @@ MODULE_DEVICE_TABLE(of, niu_match); · 10179 unmodified lines
1018010180 static struct platform_driver niu_of_driver = {
1018110181 .driver = {
1018210182 .name = "niu",
10183− .owner = THIS_MODULE,
1018410183 .of_match_table = niu_match,
1018510184 },
1018610185 .probe = niu_of_probe,
drivers/net/ethernet/sun/sunbmac.c+0−1
@@ -1273,7 +1273,6 @@ MODULE_DEVICE_TABLE(of, bigmac_sbus_match); · 1272 unmodified lines
12731273 static struct platform_driver bigmac_sbus_driver = {
12741274 .driver = {
12751275 .name = "sunbmac",
1276− .owner = THIS_MODULE,
12771276 .of_match_table = bigmac_sbus_match,
12781277 },
12791278 .probe = bigmac_sbus_probe,
drivers/net/ethernet/sun/sunhme.c+0−1
@@ -3323,7 +3323,6 @@ MODULE_DEVICE_TABLE(of, hme_sbus_match); · 3322 unmodified lines
33233323 static struct platform_driver hme_sbus_driver = {
33243324 .driver = {
33253325 .name = "hme",
3326− .owner = THIS_MODULE,
33273326 .of_match_table = hme_sbus_match,
33283327 },
33293328 .probe = hme_sbus_probe,
drivers/net/ethernet/sun/sunqe.c+0−1
@@ -963,7 +963,6 @@ MODULE_DEVICE_TABLE(of, qec_sbus_match); · 962 unmodified lines
963963 static struct platform_driver qec_sbus_driver = {
964964 .driver = {
965965 .name = "qec",
966− .owner = THIS_MODULE,
967966 .of_match_table = qec_sbus_match,
968967 },
969968 .probe = qec_sbus_probe,
drivers/net/ethernet/tundra/tsi108_eth.c+0−1
@@ -161,7 +161,6 @@ static struct platform_driver tsi_eth_driver = { · 160 unmodified lines
161161 .remove = tsi108_ether_remove,
162162 .driver = {
163163 .name = "tsi-ethernet",
164− .owner = THIS_MODULE,
165164 },
166165 };
167166
drivers/net/ethernet/via/via-rhine.c+0−1
@@ -2508,7 +2508,6 @@ static struct platform_driver rhine_driver_platform = { · 2507 unmodified lines
25082508 .remove = rhine_remove_one_platform,
25092509 .driver = {
25102510 .name = DRV_NAME,
2511− .owner = THIS_MODULE,
25122511 .of_match_table = rhine_of_tbl,
25132512 .pm = RHINE_PM_OPS,
25142513 }
drivers/net/ethernet/via/via-velocity.c+0−1
@@ -3281,7 +3281,6 @@ static struct platform_driver velocity_platform_driver = { · 3280 unmodified lines
32813281 .remove = velocity_platform_remove,
32823282 .driver = {
32833283 .name = "via-velocity",
3284− .owner = THIS_MODULE,
32853284 .of_match_table = velocity_of_ids,
32863285 .pm = &velocity_pm_ops,
32873286 },
drivers/net/ethernet/wiznet/w5100.c+0−1
@@ -788,7 +788,6 @@ static SIMPLE_DEV_PM_OPS(w5100_pm_ops, w5100_suspend, w5100_resume); · 787 unmodified lines
788788 static struct platform_driver w5100_driver = {
789789 .driver = {
790790 .name = DRV_NAME,
791− .owner = THIS_MODULE,
792791 .pm = &w5100_pm_ops,
793792 },
794793 .probe = w5100_probe,
drivers/net/ethernet/wiznet/w5300.c+0−1
@@ -700,7 +700,6 @@ static SIMPLE_DEV_PM_OPS(w5300_pm_ops, w5300_suspend, w5300_resume); · 699 unmodified lines
700700 static struct platform_driver w5300_driver = {
701701 .driver = {
702702 .name = DRV_NAME,
703− .owner = THIS_MODULE,
704703 .pm = &w5300_pm_ops,
705704 },
706705 .probe = w5300_probe,
drivers/net/ieee802154/fakelb.c+0−1
@@ -261,7 +261,6 @@ static struct platform_driver ieee802154fake_driver = { · 260 unmodified lines
261261 .remove = fakelb_remove,
262262 .driver = {
263263 .name = "ieee802154fakelb",
264− .owner = THIS_MODULE,
265264 },
266265 };
267266
drivers/net/irda/ali-ircc.c+0−1
@@ -61,7 +61,6 @@ static struct platform_driver ali_ircc_driver = { · 60 unmodified lines
6161 .resume = ali_ircc_resume,
6262 .driver = {
6363 .name = ALI_IRCC_DRIVER_NAME,
64− .owner = THIS_MODULE,
6564 },
6665 };
6766
drivers/net/irda/au1k_ir.c+0−1
@@ -989,7 +989,6 @@ static int au1k_irda_remove(struct platform_device *pdev) · 988 unmodified lines
989989 static struct platform_driver au1k_irda_driver = {
990990 .driver = {
991991 .name = "au1000-irda",
992− .owner = THIS_MODULE,
993992 },
994993 .probe = au1k_irda_probe,
995994 .remove = au1k_irda_remove,
drivers/net/irda/pxaficp_ir.c+0−1
@@ -966,7 +966,6 @@ static int pxa_irda_remove(struct platform_device *_dev) · 965 unmodified lines
966966 static struct platform_driver pxa_ir_driver = {
967967 .driver = {
968968 .name = "pxa2xx-ir",
969− .owner = THIS_MODULE,
970969 },
971970 .probe = pxa_irda_probe,
972971 .remove = pxa_irda_remove,
drivers/net/irda/sa1100_ir.c+0−1
@@ -1114,7 +1114,6 @@ static struct platform_driver sa1100ir_driver = { · 1113 unmodified lines
11141114 .resume = sa1100_irda_resume,
11151115 .driver = {
11161116 .name = "sa11x0-ir",
1117− .owner = THIS_MODULE,
11181117 },
11191118 };
11201119
drivers/net/phy/mdio-bcm-unimac.c+0−1
@@ -199,7 +199,6 @@ static struct of_device_id unimac_mdio_ids[] = { · 198 unmodified lines
199199 static struct platform_driver unimac_mdio_driver = {
200200 .driver = {
201201 .name = "unimac-mdio",
202− .owner = THIS_MODULE,
203202 .of_match_table = unimac_mdio_ids,
204203 },
205204 .probe = unimac_mdio_probe,
drivers/net/phy/mdio-gpio.c+0−1
@@ -259,7 +259,6 @@ static struct platform_driver mdio_gpio_driver = { · 258 unmodified lines
259259 .remove = mdio_gpio_remove,
260260 .driver = {
261261 .name = "mdio-gpio",
262− .owner = THIS_MODULE,
263262 .of_match_table = mdio_gpio_of_match,
264263 },
265264 };
drivers/net/phy/mdio-mux-gpio.c+0−1
@@ -114,7 +114,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_gpio_match); · 113 unmodified lines
114114 static struct platform_driver mdio_mux_gpio_driver = {
115115 .driver = {
116116 .name = "mdio-mux-gpio",
117− .owner = THIS_MODULE,
118117 .of_match_table = mdio_mux_gpio_match,
119118 },
120119 .probe = mdio_mux_gpio_probe,
drivers/net/phy/mdio-mux-mmioreg.c+0−1
@@ -156,7 +156,6 @@ MODULE_DEVICE_TABLE(of, mdio_mux_mmioreg_match); · 155 unmodified lines
156156 static struct platform_driver mdio_mux_mmioreg_driver = {
157157 .driver = {
158158 .name = "mdio-mux-mmioreg",
159− .owner = THIS_MODULE,
160159 .of_match_table = mdio_mux_mmioreg_match,
161160 },
162161 .probe = mdio_mux_mmioreg_probe,
drivers/net/phy/mdio-octeon.c+0−1
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, octeon_mdiobus_match); · 262 unmodified lines
263263 static struct platform_driver octeon_mdiobus_driver = {
264264 .driver = {
265265 .name = "mdio-octeon",
266− .owner = THIS_MODULE,
267266 .of_match_table = octeon_mdiobus_match,
268267 },
269268 .probe = octeon_mdiobus_probe,
drivers/net/wireless/ath/ath9k/ahb.c+0−1
@@ -175,7 +175,6 @@ static struct platform_driver ath_ahb_driver = { · 174 unmodified lines
175175 .remove = ath_ahb_remove,
176176 .driver = {
177177 .name = "ath9k",
178− .owner = THIS_MODULE,
179178 },
180179 .id_table = ath9k_platform_id_table,
181180 };
drivers/net/wireless/ath/ath9k/debug.c+171−244
@@ -401,22 +401,14 @@ static const struct file_operations fops_antenna_diversity = { · 400 unmodified lines
401401 .llseek = default_llseek,
402402 };
403403
404−static ssize_t read_file_dma(struct file *file, char __user *user_buf,
405− size_t count, loff_t *ppos)
404+static int read_file_dma(struct seq_file *file, void *data)
406405 {
407− struct ath_softc *sc = file->private_data;
406+ struct ath_softc *sc = file->private;
408407 struct ath_hw *ah = sc->sc_ah;
409− char *buf;
410− int retval;
411− unsigned int len = 0;
412408 u32 val[ATH9K_NUM_DMA_DEBUG_REGS];
413409 int i, qcuOffset = 0, dcuOffset = 0;
414410 u32 *qcuBase = &val[0], *dcuBase = &val[4];
415411
416− buf = kmalloc(DMA_BUF_LEN, GFP_KERNEL);
417− if (!buf)
418− return -ENOMEM;
419−
420412 ath9k_ps_wakeup(sc);
421413
422414 REG_WRITE_D(ah, AR_MACMISC,
@@ -424,21 +416,18 @@ static ssize_t read_file_dma(struct file *file, char __user *user_buf, · 1 unmodified line
424416 (AR_MACMISC_MISC_OBS_BUS_1 <<
425417 AR_MACMISC_MISC_OBS_BUS_MSB_S)));
426418
427− len += scnprintf(buf + len, DMA_BUF_LEN - len,
428− "Raw DMA Debug values:\n");
419+ seq_puts(file, "Raw DMA Debug values:\n");
429420
430421 for (i = 0; i < ATH9K_NUM_DMA_DEBUG_REGS; i++) {
431422 if (i % 4 == 0)
432− len += scnprintf(buf + len, DMA_BUF_LEN - len, "\n");
423+ seq_puts(file, "\n");
433424
434425 val[i] = REG_READ_D(ah, AR_DMADBG_0 + (i * sizeof(u32)));
435− len += scnprintf(buf + len, DMA_BUF_LEN - len, "%d: %08x ",
436− i, val[i]);
426+ seq_printf(file, "%d: %08x ", i, val[i]);
437427 }
438428
439− len += scnprintf(buf + len, DMA_BUF_LEN - len, "\n\n");
440− len += scnprintf(buf + len, DMA_BUF_LEN - len,
441− "Num QCU: chain_st fsp_ok fsp_st DCU: chain_st\n");
429+ seq_puts(file, "\n\n");
430+ seq_puts(file, "Num QCU: chain_st fsp_ok fsp_st DCU: chain_st\n");
442431
443432 for (i = 0; i < ATH9K_NUM_QUEUES; i++, qcuOffset += 4, dcuOffset += 5) {
444433 if (i == 8) {
@@ -451,55 +440,47 @@ static ssize_t read_file_dma(struct file *file, char __user *user_buf, · 6 unmodified lines
451440 dcuBase++;
452441 }
453442
454− len += scnprintf(buf + len, DMA_BUF_LEN - len,
455− "%2d %2x %1x %2x %2x\n",
456− i, (*qcuBase & (0x7 << qcuOffset)) >> qcuOffset,
457− (*qcuBase & (0x8 << qcuOffset)) >> (qcuOffset + 3),
458− (val[2] & (0x7 << (i * 3))) >> (i * 3),
459− (*dcuBase & (0x1f << dcuOffset)) >> dcuOffset);
443+ seq_printf(file, "%2d %2x %1x %2x %2x\n",
444+ i, (*qcuBase & (0x7 << qcuOffset)) >> qcuOffset,
445+ (*qcuBase & (0x8 << qcuOffset)) >> (qcuOffset + 3),
446+ (val[2] & (0x7 << (i * 3))) >> (i * 3),
447+ (*dcuBase & (0x1f << dcuOffset)) >> dcuOffset);
460448 }
461449
462− len += scnprintf(buf + len, DMA_BUF_LEN - len, "\n");
463−
464− len += scnprintf(buf + len, DMA_BUF_LEN - len,
465− "qcu_stitch state: %2x qcu_fetch state: %2x\n",
466− (val[3] & 0x003c0000) >> 18, (val[3] & 0x03c00000) >> 22);
467− len += scnprintf(buf + len, DMA_BUF_LEN - len,
468− "qcu_complete state: %2x dcu_complete state: %2x\n",
469− (val[3] & 0x1c000000) >> 26, (val[6] & 0x3));
470− len += scnprintf(buf + len, DMA_BUF_LEN - len,
471− "dcu_arb state: %2x dcu_fp state: %2x\n",
472− (val[5] & 0x06000000) >> 25, (val[5] & 0x38000000) >> 27);
473− len += scnprintf(buf + len, DMA_BUF_LEN - len,
474− "chan_idle_dur: %3d chan_idle_dur_valid: %1d\n",
475− (val[6] & 0x000003fc) >> 2, (val[6] & 0x00000400) >> 10);
476− len += scnprintf(buf + len, DMA_BUF_LEN - len,
477− "txfifo_valid_0: %1d txfifo_valid_1: %1d\n",
478− (val[6] & 0x00000800) >> 11, (val[6] & 0x00001000) >> 12);
479− len += scnprintf(buf + len, DMA_BUF_LEN - len,
480− "txfifo_dcu_num_0: %2d txfifo_dcu_num_1: %2d\n",
481− (val[6] & 0x0001e000) >> 13, (val[6] & 0x001e0000) >> 17);
482−
483− len += scnprintf(buf + len, DMA_BUF_LEN - len, "pcu observe: 0x%x\n",
484− REG_READ_D(ah, AR_OBS_BUS_1));
485− len += scnprintf(buf + len, DMA_BUF_LEN - len,
486− "AR_CR: 0x%x\n", REG_READ_D(ah, AR_CR));
450+ seq_puts(file, "\n");
451+
452+ seq_printf(file, "qcu_stitch state: %2x qcu_fetch state: %2x\n",
453+ (val[3] & 0x003c0000) >> 18, (val[3] & 0x03c00000) >> 22);
454+ seq_printf(file, "qcu_complete state: %2x dcu_complete state: %2x\n",
455+ (val[3] & 0x1c000000) >> 26, (val[6] & 0x3));
456+ seq_printf(file, "dcu_arb state: %2x dcu_fp state: %2x\n",
457+ (val[5] & 0x06000000) >> 25, (val[5] & 0x38000000) >> 27);
458+ seq_printf(file, "chan_idle_dur: %3d chan_idle_dur_valid: %1d\n",
459+ (val[6] & 0x000003fc) >> 2, (val[6] & 0x00000400) >> 10);
460+ seq_printf(file, "txfifo_valid_0: %1d txfifo_valid_1: %1d\n",
461+ (val[6] & 0x00000800) >> 11, (val[6] & 0x00001000) >> 12);
462+ seq_printf(file, "txfifo_dcu_num_0: %2d txfifo_dcu_num_1: %2d\n",
463+ (val[6] & 0x0001e000) >> 13, (val[6] & 0x001e0000) >> 17);
464+
465+ seq_printf(file, "pcu observe: 0x%x\n", REG_READ_D(ah, AR_OBS_BUS_1));
466+ seq_printf(file, "AR_CR: 0x%x\n", REG_READ_D(ah, AR_CR));
487467
488468 ath9k_ps_restore(sc);
489469
490− if (len > DMA_BUF_LEN)
491− len = DMA_BUF_LEN;
470+ return 0;
471+}
492472
493− retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
494− kfree(buf);
495− return retval;
473+static int open_file_dma(struct inode *inode, struct file *f)
474+{
475+ return single_open(f, read_file_dma, inode->i_private);
496476 }
497477
498478 static const struct file_operations fops_dma = {
499− .read = read_file_dma,
500− .open = simple_open,
479+ .open = open_file_dma,
480+ .read = seq_read,
501481 .owner = THIS_MODULE,
502− .llseek = default_llseek,
482+ .llseek = seq_lseek,
483+ .release = single_release,
503484 };
504485
505486
@@ -556,22 +537,14 @@ void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status) · 50 unmodified lines
556537 sc->debug.stats.istats.gen_timer++;
557538 }
558539
559−static ssize_t read_file_interrupt(struct file *file, char __user *user_buf,
560− size_t count, loff_t *ppos)
540+static int read_file_interrupt(struct seq_file *file, void *data)
561541 {
562− struct ath_softc *sc = file->private_data;
563− unsigned int len = 0;
564− int rv;
565− int mxlen = 4000;
566− char *buf = kmalloc(mxlen, GFP_KERNEL);
567− if (!buf)
568− return -ENOMEM;
542+ struct ath_softc *sc = file->private;
569543
570544 #define PR_IS(a, s) \
571545 do { \
572− len += scnprintf(buf + len, mxlen - len, \
573− "%21s: %10u\n", a, \
574− sc->debug.stats.istats.s); \
546+ seq_printf(file, "%21s: %10u\n", a, \
547+ sc->debug.stats.istats.s); \
575548 } while (0)
576549
577550 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) {
@@ -602,8 +575,7 @@ static ssize_t read_file_interrupt(struct file *file, char __user *user_buf, · 24 unmodified lines
602575 PR_IS("GENTIMER", gen_timer);
603576 PR_IS("TOTAL", total);
604577
605− len += scnprintf(buf + len, mxlen - len,
606− "SYNC_CAUSE stats:\n");
578+ seq_puts(file, "SYNC_CAUSE stats:\n");
607579
608580 PR_IS("Sync-All", sync_cause_all);
609581 PR_IS("RTC-IRQ", sync_rtc_irq);
@@ -625,35 +597,27 @@ static ssize_t read_file_interrupt(struct file *file, char __user *user_buf, · 15 unmodified lines
625597 PR_IS("MAC-Asleep", mac_asleep);
626598 PR_IS("MAC-Sleep-Access", mac_sleep_access);
627599
628− if (len > mxlen)
629− len = mxlen;
600+ return 0;
601+}
630602
631− rv = simple_read_from_buffer(user_buf, count, ppos, buf, len);
632− kfree(buf);
633− return rv;
603+static int open_file_interrupt(struct inode *inode, struct file *f)
604+{
605+ return single_open(f, read_file_interrupt, inode->i_private);
634606 }
635607
636608 static const struct file_operations fops_interrupt = {
637− .read = read_file_interrupt,
638− .open = simple_open,
609+ .read = seq_read,
610+ .open = open_file_interrupt,
639611 .owner = THIS_MODULE,
640− .llseek = default_llseek,
612+ .llseek = seq_lseek,
613+ .release = single_release,
641614 };
642615
643−static ssize_t read_file_xmit(struct file *file, char __user *user_buf,
644− size_t count, loff_t *ppos)
616+static int read_file_xmit(struct seq_file *file, void *data)
645617 {
646− struct ath_softc *sc = file->private_data;
647− char *buf;
648− unsigned int len = 0, size = 2048;
649− ssize_t retval = 0;
650−
651− buf = kzalloc(size, GFP_KERNEL);
652− if (buf == NULL)
653− return -ENOMEM;
618+ struct ath_softc *sc = file->private;
654619
655− len += sprintf(buf, "%30s %10s%10s%10s\n\n",
656− "BE", "BK", "VI", "VO");
620+ seq_printf(file, "%30s %10s%10s%10s\n\n", "BE", "BK", "VI", "VO");
657621
658622 PR("MPDUs Queued: ", queued);
659623 PR("MPDUs Completed: ", completed);
@@ -678,153 +642,115 @@ static ssize_t read_file_xmit(struct file *file, char __user *user_buf, · 18 unmodified lines
678642 PR("HW-tx-proc-desc: ", txprocdesc);
679643 PR("TX-Failed: ", txfailed);
680644
681− if (len > size)
682− len = size;
683−
684− retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
685− kfree(buf);
686−
687− return retval;
645+ return 0;
688646 }
689647
690−static ssize_t print_queue(struct ath_softc *sc, struct ath_txq *txq,
691− char *buf, ssize_t size)
648+static void print_queue(struct ath_softc *sc, struct ath_txq *txq,
649+ struct seq_file *file)
692650 {
693− ssize_t len = 0;
694−
695651 ath_txq_lock(sc, txq);
696652
697− len += scnprintf(buf + len, size - len, "%s: %d ",
698− "qnum", txq->axq_qnum);
699− len += scnprintf(buf + len, size - len, "%s: %2d ",
700− "qdepth", txq->axq_depth);
701− len += scnprintf(buf + len, size - len, "%s: %2d ",
702− "ampdu-depth", txq->axq_ampdu_depth);
703− len += scnprintf(buf + len, size - len, "%s: %3d ",
704− "pending", txq->pending_frames);
705− len += scnprintf(buf + len, size - len, "%s: %d\n",
706− "stopped", txq->stopped);
653+ seq_printf(file, "%s: %d ", "qnum", txq->axq_qnum);
654+ seq_printf(file, "%s: %2d ", "qdepth", txq->axq_depth);
655+ seq_printf(file, "%s: %2d ", "ampdu-depth", txq->axq_ampdu_depth);
656+ seq_printf(file, "%s: %3d ", "pending", txq->pending_frames);
657+ seq_printf(file, "%s: %d\n", "stopped", txq->stopped);
707658
708659 ath_txq_unlock(sc, txq);
709− return len;
710660 }
711661
712−static ssize_t read_file_queues(struct file *file, char __user *user_buf,
713− size_t count, loff_t *ppos)
662+static int read_file_queues(struct seq_file *file, void *data)
714663 {
715− struct ath_softc *sc = file->private_data;
664+ struct ath_softc *sc = file->private;
716665 struct ath_txq *txq;
717− char *buf;
718− unsigned int len = 0;
719− const unsigned int size = 1024;
720− ssize_t retval = 0;
721666 int i;
722667 static const char *qname[4] = {
723668 "VO", "VI", "BE", "BK"
724669 };
725670
726− buf = kzalloc(size, GFP_KERNEL);
727− if (buf == NULL)
728− return -ENOMEM;
729−
730671 for (i = 0; i < IEEE80211_NUM_ACS; i++) {
731672 txq = sc->tx.txq_map[i];
732− len += scnprintf(buf + len, size - len, "(%s): ", qname[i]);
733− len += print_queue(sc, txq, buf + len, size - len);
673+ seq_printf(file, "(%s): ", qname[i]);
674+ print_queue(sc, txq, file);
734675 }
735676
736− len += scnprintf(buf + len, size - len, "(CAB): ");
737− len += print_queue(sc, sc->beacon.cabq, buf + len, size - len);
738−
739− if (len > size)
740− len = size;
741−
742− retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
743− kfree(buf);
677+ seq_puts(file, "(CAB): ");
678+ print_queue(sc, sc->beacon.cabq, file);
744679
745− return retval;
680+ return 0;
746681 }
747682
748−static ssize_t read_file_misc(struct file *file, char __user *user_buf,
749− size_t count, loff_t *ppos)
683+static int read_file_misc(struct seq_file *file, void *data)
750684 {
751− struct ath_softc *sc = file->private_data;
685+ struct ath_softc *sc = file->private;
752686 struct ath_common *common = ath9k_hw_common(sc->sc_ah);
753687 struct ath9k_vif_iter_data iter_data;
754688 struct ath_chanctx *ctx;
755− char buf[512];
756− unsigned int len = 0;
757− ssize_t retval = 0;
758689 unsigned int reg;
759690 u32 rxfilter, i;
760691
761− len += scnprintf(buf + len, sizeof(buf) - len,
762− "BSSID: %pM\n", common->curbssid);
763− len += scnprintf(buf + len, sizeof(buf) - len,
764− "BSSID-MASK: %pM\n", common->bssidmask);
765− len += scnprintf(buf + len, sizeof(buf) - len,
766− "OPMODE: %s\n",
767− ath_opmode_to_string(sc->sc_ah->opmode));
692+ seq_printf(file, "BSSID: %pM\n", common->curbssid);
693+ seq_printf(file, "BSSID-MASK: %pM\n", common->bssidmask);
694+ seq_printf(file, "OPMODE: %s\n",
695+ ath_opmode_to_string(sc->sc_ah->opmode));
768696
769697 ath9k_ps_wakeup(sc);
770698 rxfilter = ath9k_hw_getrxfilter(sc->sc_ah);
771699 ath9k_ps_restore(sc);
772700
773− len += scnprintf(buf + len, sizeof(buf) - len,
774− "RXFILTER: 0x%x", rxfilter);
701+ seq_printf(file, "RXFILTER: 0x%x", rxfilter);
775702
776703 if (rxfilter & ATH9K_RX_FILTER_UCAST)
777− len += scnprintf(buf + len, sizeof(buf) - len, " UCAST");
704+ seq_puts(file, " UCAST");
778705 if (rxfilter & ATH9K_RX_FILTER_MCAST)
779− len += scnprintf(buf + len, sizeof(buf) - len, " MCAST");
706+ seq_puts(file, " MCAST");
780707 if (rxfilter & ATH9K_RX_FILTER_BCAST)
781− len += scnprintf(buf + len, sizeof(buf) - len, " BCAST");
708+ seq_puts(file, " BCAST");
782709 if (rxfilter & ATH9K_RX_FILTER_CONTROL)
783− len += scnprintf(buf + len, sizeof(buf) - len, " CONTROL");
710+ seq_puts(file, " CONTROL");
784711 if (rxfilter & ATH9K_RX_FILTER_BEACON)
785− len += scnprintf(buf + len, sizeof(buf) - len, " BEACON");
712+ seq_puts(file, " BEACON");
786713 if (rxfilter & ATH9K_RX_FILTER_PROM)
787− len += scnprintf(buf + len, sizeof(buf) - len, " PROM");
714+ seq_puts(file, " PROM");
788715 if (rxfilter & ATH9K_RX_FILTER_PROBEREQ)
789− len += scnprintf(buf + len, sizeof(buf) - len, " PROBEREQ");
716+ seq_puts(file, " PROBEREQ");
790717 if (rxfilter & ATH9K_RX_FILTER_PHYERR)
791− len += scnprintf(buf + len, sizeof(buf) - len, " PHYERR");
718+ seq_puts(file, " PHYERR");
792719 if (rxfilter & ATH9K_RX_FILTER_MYBEACON)
793− len += scnprintf(buf + len, sizeof(buf) - len, " MYBEACON");
720+ seq_puts(file, " MYBEACON");
794721 if (rxfilter & ATH9K_RX_FILTER_COMP_BAR)
795− len += scnprintf(buf + len, sizeof(buf) - len, " COMP_BAR");
722+ seq_puts(file, " COMP_BAR");
796723 if (rxfilter & ATH9K_RX_FILTER_PSPOLL)
797− len += scnprintf(buf + len, sizeof(buf) - len, " PSPOLL");
724+ seq_puts(file, " PSPOLL");
798725 if (rxfilter & ATH9K_RX_FILTER_PHYRADAR)
799− len += scnprintf(buf + len, sizeof(buf) - len, " PHYRADAR");
726+ seq_puts(file, " PHYRADAR");
800727 if (rxfilter & ATH9K_RX_FILTER_MCAST_BCAST_ALL)
801− len += scnprintf(buf + len, sizeof(buf) - len, " MCAST_BCAST_ALL");
728+ seq_puts(file, " MCAST_BCAST_ALL");
802729 if (rxfilter & ATH9K_RX_FILTER_CONTROL_WRAPPER)
803− len += scnprintf(buf + len, sizeof(buf) - len, " CONTROL_WRAPPER");
730+ seq_puts(file, " CONTROL_WRAPPER");
804731
805− len += scnprintf(buf + len, sizeof(buf) - len, "\n");
732+ seq_puts(file, "\n");
806733
807734 reg = sc->sc_ah->imask;
808735
809− len += scnprintf(buf + len, sizeof(buf) - len,
810− "INTERRUPT-MASK: 0x%x", reg);
736+ seq_printf(file, "INTERRUPT-MASK: 0x%x", reg);
811737
812738 if (reg & ATH9K_INT_SWBA)
813− len += scnprintf(buf + len, sizeof(buf) - len, " SWBA");
739+ seq_puts(file, " SWBA");
814740 if (reg & ATH9K_INT_BMISS)
815− len += scnprintf(buf + len, sizeof(buf) - len, " BMISS");
741+ seq_puts(file, " BMISS");
816742 if (reg & ATH9K_INT_CST)
817− len += scnprintf(buf + len, sizeof(buf) - len, " CST");
743+ seq_puts(file, " CST");
818744 if (reg & ATH9K_INT_RX)
819− len += scnprintf(buf + len, sizeof(buf) - len, " RX");
745+ seq_puts(file, " RX");
820746 if (reg & ATH9K_INT_RXHP)
821− len += scnprintf(buf + len, sizeof(buf) - len, " RXHP");
747+ seq_puts(file, " RXHP");
822748 if (reg & ATH9K_INT_RXLP)
823− len += scnprintf(buf + len, sizeof(buf) - len, " RXLP");
749+ seq_puts(file, " RXLP");
824750 if (reg & ATH9K_INT_BB_WATCHDOG)
825− len += scnprintf(buf + len, sizeof(buf) - len, " BB_WATCHDOG");
751+ seq_puts(file, " BB_WATCHDOG");
826752
827− len += scnprintf(buf + len, sizeof(buf) - len, "\n");
753+ seq_puts(file, "\n");
828754
829755 i = 0;
830756 ath_for_each_chanctx(sc, ctx) {
@@ -832,27 +758,22 @@ static ssize_t read_file_misc(struct file *file, char __user *user_buf, · 1 unmodified line
832758 continue;
833759 ath9k_calculate_iter_data(sc, ctx, &iter_data);
834760
835− len += scnprintf(buf + len, sizeof(buf) - len,
836− "VIFS: CTX %i(%i) AP: %i STA: %i MESH: %i WDS: %i",
837− i++, (int)(ctx->assigned), iter_data.naps,
838− iter_data.nstations,
839− iter_data.nmeshes, iter_data.nwds);
840− len += scnprintf(buf + len, sizeof(buf) - len,
841− " ADHOC: %i TOTAL: %hi BEACON-VIF: %hi\n",
842− iter_data.nadhocs, sc->cur_chan->nvifs, sc->nbcnvifs);
761+ seq_printf(file,
762+ "VIFS: CTX %i(%i) AP: %i STA: %i MESH: %i WDS: %i",
763+ i++, (int)(ctx->assigned), iter_data.naps,
764+ iter_data.nstations,
765+ iter_data.nmeshes, iter_data.nwds);
766+ seq_printf(file, " ADHOC: %i TOTAL: %hi BEACON-VIF: %hi\n",
767+ iter_data.nadhocs, sc->cur_chan->nvifs,
768+ sc->nbcnvifs);
843769 }
844770
845− if (len > sizeof(buf))
846− len = sizeof(buf);
847−
848− retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
849− return retval;
771+ return 0;
850772 }
851773
852−static ssize_t read_file_reset(struct file *file, char __user *user_buf,
853− size_t count, loff_t *ppos)
774+static int read_file_reset(struct seq_file *file, void *data)
854775 {
855− struct ath_softc *sc = file->private_data;
776+ struct ath_softc *sc = file->private;
856777 static const char * const reset_cause[__RESET_TYPE_MAX] = {
857778 [RESET_TYPE_BB_HANG] = "Baseband Hang",
858779 [RESET_TYPE_BB_WATCHDOG] = "Baseband Watchdog",
@@ -866,23 +787,17 @@ static ssize_t read_file_reset(struct file *file, char __user *user_buf, · 7 unmodified lines
866787 [RESET_TYPE_MCI] = "MCI Reset",
867788 [RESET_TYPE_CALIBRATION] = "Calibration error",
868789 };
869− char buf[512];
870− unsigned int len = 0;
871790 int i;
872791
873792 for (i = 0; i < ARRAY_SIZE(reset_cause); i++) {
874793 if (!reset_cause[i])
875794 continue;
876795
877− len += scnprintf(buf + len, sizeof(buf) - len,
878− "%17s: %2d\n", reset_cause[i],
879− sc->debug.stats.reset[i]);
796+ seq_printf(file, "%17s: %2d\n", reset_cause[i],
797+ sc->debug.stats.reset[i]);
880798 }
881799
882− if (len > sizeof(buf))
883− len = sizeof(buf);
884−
885− return simple_read_from_buffer(user_buf, count, ppos, buf, len);
800+ return 0;
886801 }
887802
888803 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf,
@@ -922,32 +837,56 @@ void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf, · 33 unmodified lines
922837 TX_STAT_INC(qnum, delim_underrun);
923838 }
924839
840+static int open_file_xmit(struct inode *inode, struct file *f)
841+{
842+ return single_open(f, read_file_xmit, inode->i_private);
843+}
844+
925845 static const struct file_operations fops_xmit = {
926− .read = read_file_xmit,
927− .open = simple_open,
846+ .read = seq_read,
847+ .open = open_file_xmit,
928848 .owner = THIS_MODULE,
929− .llseek = default_llseek,
849+ .llseek = seq_lseek,
850+ .release = single_release,
930851 };
931852
853+static int open_file_queues(struct inode *inode, struct file *f)
854+{
855+ return single_open(f, read_file_queues, inode->i_private);
856+}
857+
932858 static const struct file_operations fops_queues = {
933− .read = read_file_queues,
934− .open = simple_open,
859+ .read = seq_read,
860+ .open = open_file_queues,
935861 .owner = THIS_MODULE,
936− .llseek = default_llseek,
862+ .llseek = seq_lseek,
863+ .release = single_release,
937864 };
938865
866+static int open_file_misc(struct inode *inode, struct file *f)
867+{
868+ return single_open(f, read_file_misc, inode->i_private);
869+}
870+
939871 static const struct file_operations fops_misc = {
940− .read = read_file_misc,
941− .open = simple_open,
872+ .read = seq_read,
873+ .open = open_file_misc,
942874 .owner = THIS_MODULE,
943− .llseek = default_llseek,
875+ .llseek = seq_lseek,
876+ .release = single_release,
944877 };
945878
879+static int open_file_reset(struct inode *inode, struct file *f)
880+{
881+ return single_open(f, read_file_reset, inode->i_private);
882+}
883+
946884 static const struct file_operations fops_reset = {
947− .read = read_file_reset,
948− .open = simple_open,
885+ .read = seq_read,
886+ .open = open_file_reset,
949887 .owner = THIS_MODULE,
950− .llseek = default_llseek,
888+ .llseek = seq_lseek,
889+ .release = single_release,
951890 };
952891
953892 void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs)
@@ -956,7 +895,7 @@ void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs) · 2 unmodified lines
956895 }
957896
958897 static ssize_t read_file_regidx(struct file *file, char __user *user_buf,
959− size_t count, loff_t *ppos)
898+ size_t count, loff_t *ppos)
960899 {
961900 struct ath_softc *sc = file->private_data;
962901 char buf[32];
@@ -967,7 +906,7 @@ static ssize_t read_file_regidx(struct file *file, char __user *user_buf, · 4 unmodified lines
967906 }
968907
969908 static ssize_t write_file_regidx(struct file *file, const char __user *user_buf,
970− size_t count, loff_t *ppos)
909+ size_t count, loff_t *ppos)
971910 {
972911 struct ath_softc *sc = file->private_data;
973912 unsigned long regidx;
@@ -995,7 +934,7 @@ static const struct file_operations fops_regidx = { · 21 unmodified lines
995934 };
996935
997936 static ssize_t read_file_regval(struct file *file, char __user *user_buf,
998− size_t count, loff_t *ppos)
937+ size_t count, loff_t *ppos)
999938 {
1000939 struct ath_softc *sc = file->private_data;
1001940 struct ath_hw *ah = sc->sc_ah;
@@ -1011,7 +950,7 @@ static ssize_t read_file_regval(struct file *file, char __user *user_buf, · 9 unmodified lines
1011950 }
1012951
1013952 static ssize_t write_file_regval(struct file *file, const char __user *user_buf,
1014− size_t count, loff_t *ppos)
953+ size_t count, loff_t *ppos)
1015954 {
1016955 struct ath_softc *sc = file->private_data;
1017956 struct ath_hw *ah = sc->sc_ah;
@@ -1077,57 +1016,45 @@ static const struct file_operations fops_regdump = { · 59 unmodified lines
10771016 .llseek = default_llseek,/* read accesses f_pos */
10781017 };
10791018
1080−static ssize_t read_file_dump_nfcal(struct file *file, char __user *user_buf,
1081− size_t count, loff_t *ppos)
1019+static int read_file_dump_nfcal(struct seq_file *file, void *data)
10821020 {
1083− struct ath_softc *sc = file->private_data;
1021+ struct ath_softc *sc = file->private;
10841022 struct ath_hw *ah = sc->sc_ah;
10851023 struct ath9k_nfcal_hist *h = sc->cur_chan->caldata.nfCalHist;
10861024 struct ath_common *common = ath9k_hw_common(ah);
10871025 struct ieee80211_conf *conf = &common->hw->conf;
1088− u32 len = 0, size = 1500;
10891026 u32 i, j;
1090− ssize_t retval = 0;
1091− char *buf;
10921027 u8 chainmask = (ah->rxchainmask << 3) | ah->rxchainmask;
10931028 u8 nread;
10941029
1095− buf = kzalloc(size, GFP_KERNEL);
1096− if (!buf)
1097− return -ENOMEM;
1098−
1099− len += scnprintf(buf + len, size - len,
1100− "Channel Noise Floor : %d\n", ah->noise);
1101− len += scnprintf(buf + len, size - len,
1102− "Chain | privNF | # Readings | NF Readings\n");
1030+ seq_printf(file, "Channel Noise Floor : %d\n", ah->noise);
1031+ seq_puts(file, "Chain | privNF | # Readings | NF Readings\n");
11031032 for (i = 0; i < NUM_NF_READINGS; i++) {
11041033 if (!(chainmask & (1 << i)) ||
11051034 ((i >= AR5416_MAX_CHAINS) && !conf_is_ht40(conf)))
11061035 continue;
11071036
11081037 nread = AR_PHY_CCA_FILTERWINDOW_LENGTH - h[i].invalidNFcount;
1109− len += scnprintf(buf + len, size - len, " %d\t %d\t %d\t\t",
1110− i, h[i].privNF, nread);
1038+ seq_printf(file, " %d\t %d\t %d\t\t", i, h[i].privNF, nread);
11111039 for (j = 0; j < nread; j++)
1112− len += scnprintf(buf + len, size - len,
1113− " %d", h[i].nfCalBuffer[j]);
1114− len += scnprintf(buf + len, size - len, "\n");
1040+ seq_printf(file, " %d", h[i].nfCalBuffer[j]);
1041+ seq_puts(file, "\n");
11151042 }
11161043
1117− if (len > size)
1118− len = size;
1119−
1120− retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
1121− kfree(buf);
1044+ return 0;
1045+}
11221046
1123− return retval;
1047+static int open_file_dump_nfcal(struct inode *inode, struct file *f)
1048+{
1049+ return single_open(f, read_file_dump_nfcal, inode->i_private);
11241050 }
11251051
11261052 static const struct file_operations fops_dump_nfcal = {
1127− .read = read_file_dump_nfcal,
1128− .open = simple_open,
1053+ .read = seq_read,
1054+ .open = open_file_dump_nfcal,
11291055 .owner = THIS_MODULE,
1130− .llseek = default_llseek,
1056+ .llseek = seq_lseek,
1057+ .release = single_release,
11311058 };
11321059
11331060 #ifdef CONFIG_ATH9K_BTCOEX_SUPPORT
drivers/net/wireless/ath/ath9k/debug.h+5−6
@@ -196,12 +196,11 @@ struct ath_tx_stats { · 195 unmodified lines
196196 #define TXSTATS sc->debug.stats.txstats
197197 #define PR(str, elem) \
198198 do { \
199− len += scnprintf(buf + len, size - len, \
200− "%s%13u%11u%10u%10u\n", str, \
201− TXSTATS[PR_QNUM(IEEE80211_AC_BE)].elem,\
202− TXSTATS[PR_QNUM(IEEE80211_AC_BK)].elem,\
203− TXSTATS[PR_QNUM(IEEE80211_AC_VI)].elem,\
204− TXSTATS[PR_QNUM(IEEE80211_AC_VO)].elem); \
199+ seq_printf(file, "%s%13u%11u%10u%10u\n", str, \
200+ TXSTATS[PR_QNUM(IEEE80211_AC_BE)].elem,\
201+ TXSTATS[PR_QNUM(IEEE80211_AC_BK)].elem,\
202+ TXSTATS[PR_QNUM(IEEE80211_AC_VI)].elem,\
203+ TXSTATS[PR_QNUM(IEEE80211_AC_VO)].elem); \
205204 } while(0)
206205
207206 struct ath_rx_rate_stats {
drivers/net/wireless/ath/wcn36xx/main.c+0−1
@@ -1078,7 +1078,6 @@ static struct platform_driver wcn36xx_driver = { · 1077 unmodified lines
10781078 .remove = wcn36xx_remove,
10791079 .driver = {
10801080 .name = "wcn36xx",
1081− .owner = THIS_MODULE,
10821081 },
10831082 .id_table = wcn36xx_platform_id_table,
10841083 };
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c+0−1
@@ -1221,7 +1221,6 @@ static struct platform_driver brcmf_sdio_pd = { · 1220 unmodified lines
12211221 .remove = brcmf_sdio_pd_remove,
12221222 .driver = {
12231223 .name = BRCMFMAC_SDIO_PDATA_NAME,
1224− .owner = THIS_MODULE,
12251224 }
12261225 };
12271226
drivers/net/wireless/mac80211_hwsim.c+0−1
@@ -395,7 +395,6 @@ static int hwsim_radio_idx; · 394 unmodified lines
395395 static struct platform_driver mac80211_hwsim_driver = {
396396 .driver = {
397397 .name = "mac80211_hwsim",
398− .owner = THIS_MODULE,
399398 },
400399 };
401400
drivers/net/wireless/rt2x00/rt2800soc.c+0−1
@@ -244,7 +244,6 @@ static int rt2800soc_probe(struct platform_device *pdev) · 243 unmodified lines
244244 static struct platform_driver rt2800soc_driver = {
245245 .driver = {
246246 .name = "rt2800_wmac",
247− .owner = THIS_MODULE,
248247 .mod_name = KBUILD_MODNAME,
249248 },
250249 .probe = rt2800soc_probe,
drivers/net/wireless/ti/wl12xx/main.c+0−1
@@ -1900,7 +1900,6 @@ static struct platform_driver wl12xx_driver = { · 1899 unmodified lines
19001900 .id_table = wl12xx_id_table,
19011901 .driver = {
19021902 .name = "wl12xx_driver",
1903− .owner = THIS_MODULE,
19041903 }
19051904 };
19061905
drivers/net/wireless/ti/wl18xx/main.c+0−1
@@ -1968,7 +1968,6 @@ static struct platform_driver wl18xx_driver = { · 1967 unmodified lines
19681968 .id_table = wl18xx_id_table,
19691969 .driver = {
19701970 .name = "wl18xx_driver",
1971− .owner = THIS_MODULE,
19721971 }
19731972 };
19741973
drivers/nfc/nfcwilink.c+0−1
@@ -566,7 +566,6 @@ static struct platform_driver nfcwilink_driver = { · 565 unmodified lines
566566 .remove = nfcwilink_remove,
567567 .driver = {
568568 .name = "nfcwilink",
569− .owner = THIS_MODULE,
570569 },
571570 };
572571
drivers/parport/parport_amiga.c+0−1
@@ -239,7 +239,6 @@ static struct platform_driver amiga_parallel_driver = { · 238 unmodified lines
239239 .remove = __exit_p(amiga_parallel_remove),
240240 .driver = {
241241 .name = "amiga-parallel",
242− .owner = THIS_MODULE,
243242 },
244243 };
245244
drivers/parport/parport_ax88796.c+0−1
@@ -412,7 +412,6 @@ MODULE_ALIAS("platform:ax88796-pp"); · 411 unmodified lines
412412 static struct platform_driver axdrv = {
413413 .driver = {
414414 .name = "ax88796-pp",
415− .owner = THIS_MODULE,
416415 },
417416 .probe = parport_ax88796_probe,
418417 .remove = parport_ax88796_remove,
drivers/parport/parport_pc.c+0−1
@@ -3011,7 +3011,6 @@ static int parport_pc_platform_probe(struct platform_device *pdev) · 3010 unmodified lines
30113011
30123012 static struct platform_driver parport_pc_platform_driver = {
30133013 .driver = {
3014− .owner = THIS_MODULE,
30153014 .name = "parport_pc",
30163015 },
30173016 .probe = parport_pc_platform_probe,
drivers/parport/parport_sunbpp.c+0−1
@@ -362,7 +362,6 @@ MODULE_DEVICE_TABLE(of, bpp_match); · 361 unmodified lines
362362 static struct platform_driver bpp_sbus_driver = {
363363 .driver = {
364364 .name = "bpp",
365− .owner = THIS_MODULE,
366365 .of_match_table = bpp_match,
367366 },
368367 .probe = bpp_probe,
drivers/pci/host/pci-dra7xx.c+0−1
@@ -446,7 +446,6 @@ static struct platform_driver dra7xx_pcie_driver = { · 445 unmodified lines
446446 .remove = __exit_p(dra7xx_pcie_remove),
447447 .driver = {
448448 .name = "dra7-pcie",
449− .owner = THIS_MODULE,
450449 .of_match_table = of_dra7xx_pcie_match,
451450 },
452451 };
drivers/pci/host/pci-exynos.c+0−1
@@ -641,7 +641,6 @@ static struct platform_driver exynos_pcie_driver = { · 640 unmodified lines
641641 .remove = __exit_p(exynos_pcie_remove),
642642 .driver = {
643643 .name = "exynos-pcie",
644− .owner = THIS_MODULE,
645644 .of_match_table = exynos_pcie_of_match,
646645 },
647646 };
drivers/pci/host/pci-host-generic.c+0−1
@@ -310,7 +310,6 @@ static int gen_pci_probe(struct platform_device *pdev) · 309 unmodified lines
310310 static struct platform_driver gen_pci_driver = {
311311 .driver = {
312312 .name = "pci-host-generic",
313− .owner = THIS_MODULE,
314313 .of_match_table = gen_pci_of_match,
315314 },
316315 .probe = gen_pci_probe,
drivers/pci/host/pci-imx6.c+0−1
@@ -643,7 +643,6 @@ MODULE_DEVICE_TABLE(of, imx6_pcie_of_match); · 642 unmodified lines
643643 static struct platform_driver imx6_pcie_driver = {
644644 .driver = {
645645 .name = "imx6q-pcie",
646− .owner = THIS_MODULE,
647646 .of_match_table = imx6_pcie_of_match,
648647 },
649648 .shutdown = imx6_pcie_shutdown,
drivers/pci/host/pci-keystone.c+0−1
@@ -402,7 +402,6 @@ static struct platform_driver ks_pcie_driver __refdata = { · 401 unmodified lines
402402 .remove = __exit_p(ks_pcie_remove),
403403 .driver = {
404404 .name = "keystone-pcie",
405− .owner = THIS_MODULE,
406405 .of_match_table = of_match_ptr(ks_pcie_of_match),
407406 },
408407 };
drivers/pci/host/pci-mvebu.c+0−1
@@ -1081,7 +1081,6 @@ MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table); · 1080 unmodified lines
10811081
10821082 static struct platform_driver mvebu_pcie_driver = {
10831083 .driver = {
1084− .owner = THIS_MODULE,
10851084 .name = "mvebu-pcie",
10861085 .of_match_table = mvebu_pcie_of_match_table,
10871086 /* driver unloading/unbinding currently not supported */
drivers/pci/host/pci-rcar-gen2.c+0−1
@@ -412,7 +412,6 @@ MODULE_DEVICE_TABLE(of, rcar_pci_of_match); · 411 unmodified lines
412412 static struct platform_driver rcar_pci_driver = {
413413 .driver = {
414414 .name = "pci-rcar-gen2",
415− .owner = THIS_MODULE,
416415 .suppress_bind_attrs = true,
417416 .of_match_table = rcar_pci_of_match,
418417 },
drivers/pci/host/pci-tegra.c+0−1
@@ -2129,7 +2129,6 @@ put_resources: · 2128 unmodified lines
21292129 static struct platform_driver tegra_pcie_driver = {
21302130 .driver = {
21312131 .name = "tegra-pcie",
2132− .owner = THIS_MODULE,
21332132 .of_match_table = tegra_pcie_of_match,
21342133 .suppress_bind_attrs = true,
21352134 },
drivers/pci/host/pci-xgene.c+0−1
@@ -652,7 +652,6 @@ static const struct of_device_id xgene_pcie_match_table[] = { · 651 unmodified lines
652652 static struct platform_driver xgene_pcie_driver = {
653653 .driver = {
654654 .name = "xgene-pcie",
655− .owner = THIS_MODULE,
656655 .of_match_table = of_match_ptr(xgene_pcie_match_table),
657656 },
658657 .probe = xgene_pcie_probe_bridge,
drivers/pci/host/pcie-rcar.c+0−1
@@ -981,7 +981,6 @@ static int rcar_pcie_probe(struct platform_device *pdev) · 980 unmodified lines
981981 static struct platform_driver rcar_pcie_driver = {
982982 .driver = {
983983 .name = DRV_NAME,
984− .owner = THIS_MODULE,
985984 .of_match_table = rcar_pcie_of_match,
986985 .suppress_bind_attrs = true,
987986 },
drivers/pci/host/pcie-spear13xx.c+0−1
@@ -374,7 +374,6 @@ static struct platform_driver spear13xx_pcie_driver __initdata = { · 373 unmodified lines
374374 .probe = spear13xx_pcie_probe,
375375 .driver = {
376376 .name = "spear-pcie",
377− .owner = THIS_MODULE,
378377 .of_match_table = of_match_ptr(spear13xx_pcie_of_match),
379378 },
380379 };
drivers/pci/host/pcie-xilinx.c+0−1
@@ -947,7 +947,6 @@ static struct of_device_id xilinx_pcie_of_match[] = { · 946 unmodified lines
947947 static struct platform_driver xilinx_pcie_driver = {
948948 .driver = {
949949 .name = "xilinx-pcie",
950− .owner = THIS_MODULE,
951950 .of_match_table = xilinx_pcie_of_match,
952951 .suppress_bind_attrs = true,
953952 },
drivers/pci/pci-sysfs.c+10−29
@@ -77,11 +77,10 @@ static ssize_t broken_parity_status_store(struct device *dev, · 76 unmodified lines
7777 }
7878 static DEVICE_ATTR_RW(broken_parity_status);
7979
80−static ssize_t pci_dev_show_local_cpu(struct device *dev, int type,
80+static ssize_t pci_dev_show_local_cpu(struct device *dev, bool list,
8181 struct device_attribute *attr, char *buf)
8282 {
8383 const struct cpumask *mask;
84− int len;
8584
8685 #ifdef CONFIG_NUMA
8786 mask = (dev_to_node(dev) == -1) ? cpu_online_mask :
@@ -89,59 +88,41 @@ static ssize_t pci_dev_show_local_cpu(struct device *dev, int type, · 1 unmodified line
8988 #else
9089 mask = cpumask_of_pcibus(to_pci_dev(dev)->bus);
9190 #endif
92− len = type ?
93− cpumask_scnprintf(buf, PAGE_SIZE-2, mask) :
94− cpulist_scnprintf(buf, PAGE_SIZE-2, mask);
95−
96− buf[len++] = '\n';
97− buf[len] = '\0';
98− return len;
91+ return cpumap_print_to_pagebuf(list, buf, mask);
9992 }
10093
10194 static ssize_t local_cpus_show(struct device *dev,
10295 struct device_attribute *attr, char *buf)
10396 {
104− return pci_dev_show_local_cpu(dev, 1, attr, buf);
97+ return pci_dev_show_local_cpu(dev, false, attr, buf);
10598 }
10699 static DEVICE_ATTR_RO(local_cpus);
107100
108101 static ssize_t local_cpulist_show(struct device *dev,
109102 struct device_attribute *attr, char *buf)
110103 {
111− return pci_dev_show_local_cpu(dev, 0, attr, buf);
104+ return pci_dev_show_local_cpu(dev, true, attr, buf);
112105 }
113106 static DEVICE_ATTR_RO(local_cpulist);
114107
115108 /*
116109 * PCI Bus Class Devices
117110 */
118−static ssize_t pci_bus_show_cpuaffinity(struct device *dev, int type,
119− struct device_attribute *attr,
120− char *buf)
121−{
122− int ret;
123− const struct cpumask *cpumask;
124−
125− cpumask = cpumask_of_pcibus(to_pci_bus(dev));
126− ret = type ?
127− cpulist_scnprintf(buf, PAGE_SIZE-2, cpumask) :
128− cpumask_scnprintf(buf, PAGE_SIZE-2, cpumask);
129− buf[ret++] = '\n';
130− buf[ret] = '\0';
131− return ret;
132−}
133−
134111 static ssize_t cpuaffinity_show(struct device *dev,
135112 struct device_attribute *attr, char *buf)
136113 {
137− return pci_bus_show_cpuaffinity(dev, 0, attr, buf);
114+ const struct cpumask *cpumask = cpumask_of_pcibus(to_pci_bus(dev));
115+
116+ return cpumap_print_to_pagebuf(false, buf, cpumask);
138117 }
139118 static DEVICE_ATTR_RO(cpuaffinity);
140119
141120 static ssize_t cpulistaffinity_show(struct device *dev,
142121 struct device_attribute *attr, char *buf)
143122 {
144− return pci_bus_show_cpuaffinity(dev, 1, attr, buf);
123+ const struct cpumask *cpumask = cpumask_of_pcibus(to_pci_bus(dev));
124+
125+ return cpumap_print_to_pagebuf(true, buf, cpumask);
145126 }
146127 static DEVICE_ATTR_RO(cpulistaffinity);
147128
drivers/pcmcia/at91_cf.c+0−1
@@ -401,7 +401,6 @@ static int at91_cf_resume(struct platform_device *pdev) · 400 unmodified lines
401401 static struct platform_driver at91_cf_driver = {
402402 .driver = {
403403 .name = "at91_cf",
404− .owner = THIS_MODULE,
405404 .of_match_table = of_match_ptr(at91_cf_dt_ids),
406405 },
407406 .probe = at91_cf_probe,
drivers/pcmcia/bfin_cf_pcmcia.c+0−1
@@ -304,7 +304,6 @@ static int bfin_cf_remove(struct platform_device *pdev) · 303 unmodified lines
304304 static struct platform_driver bfin_cf_driver = {
305305 .driver = {
306306 .name = driver_name,
307− .owner = THIS_MODULE,
308307 },
309308 .probe = bfin_cf_probe,
310309 .remove = bfin_cf_remove,
drivers/pcmcia/db1xxx_ss.c+0−1
@@ -574,7 +574,6 @@ static int db1x_pcmcia_socket_remove(struct platform_device *pdev) · 573 unmodified lines
574574 static struct platform_driver db1x_pcmcia_socket_driver = {
575575 .driver = {
576576 .name = "db1xxx_pcmcia",
577− .owner = THIS_MODULE,
578577 },
579578 .probe = db1x_pcmcia_socket_probe,
580579 .remove = db1x_pcmcia_socket_remove,
drivers/pcmcia/electra_cf.c+0−1
@@ -360,7 +360,6 @@ MODULE_DEVICE_TABLE(of, electra_cf_match); · 359 unmodified lines
360360 static struct platform_driver electra_cf_driver = {
361361 .driver = {
362362 .name = driver_name,
363− .owner = THIS_MODULE,
364363 .of_match_table = electra_cf_match,
365364 },
366365 .probe = electra_cf_probe,
drivers/pcmcia/i82365.c+0−1
@@ -1233,7 +1233,6 @@ static struct pccard_operations pcic_operations = { · 1232 unmodified lines
12331233 static struct platform_driver i82365_driver = {
12341234 .driver = {
12351235 .name = "i82365",
1236− .owner = THIS_MODULE,
12371236 },
12381237 };
12391238
drivers/pcmcia/m32r_cfc.c+0−1
@@ -687,7 +687,6 @@ static struct pccard_operations pcc_operations = { · 686 unmodified lines
687687 static struct platform_driver pcc_driver = {
688688 .driver = {
689689 .name = "cfc",
690− .owner = THIS_MODULE,
691690 },
692691 };
693692
drivers/pcmcia/m32r_pcc.c+0−1
@@ -664,7 +664,6 @@ static struct pccard_operations pcc_operations = { · 663 unmodified lines
664664 static struct platform_driver pcc_driver = {
665665 .driver = {
666666 .name = "pcc",
667− .owner = THIS_MODULE,
668667 },
669668 };
670669
drivers/pcmcia/omap_cf.c+0−1
@@ -334,7 +334,6 @@ static int __exit omap_cf_remove(struct platform_device *pdev) · 333 unmodified lines
334334 static struct platform_driver omap_cf_driver = {
335335 .driver = {
336336 .name = (char *) driver_name,
337− .owner = THIS_MODULE,
338337 },
339338 .remove = __exit_p(omap_cf_remove),
340339 };
drivers/pcmcia/pxa2xx_base.c+0−1
@@ -368,7 +368,6 @@ static struct platform_driver pxa2xx_pcmcia_driver = { · 367 unmodified lines
368368 .remove = pxa2xx_drv_pcmcia_remove,
369369 .driver = {
370370 .name = "pxa2xx-pcmcia",
371− .owner = THIS_MODULE,
372371 .pm = &pxa2xx_drv_pcmcia_pm_ops,
373372 },
374373 };
drivers/pcmcia/pxa2xx_viper.c+0−1
@@ -172,7 +172,6 @@ static struct platform_driver viper_pcmcia_driver = { · 171 unmodified lines
172172 .remove = viper_pcmcia_remove,
173173 .driver = {
174174 .name = "arcom-pcmcia",
175− .owner = THIS_MODULE,
176175 },
177176 .id_table = viper_pcmcia_id_table,
178177 };
drivers/pcmcia/sa1100_generic.c+0−1
@@ -101,7 +101,6 @@ static int sa11x0_drv_pcmcia_remove(struct platform_device *dev) · 100 unmodified lines
101101 static struct platform_driver sa11x0_pcmcia_driver = {
102102 .driver = {
103103 .name = "sa11x0-pcmcia",
104− .owner = THIS_MODULE,
105104 },
106105 .probe = sa11x0_drv_pcmcia_probe,
107106 .remove = sa11x0_drv_pcmcia_remove,
drivers/pcmcia/tcic.c+0−1
@@ -349,7 +349,6 @@ static int __init get_tcic_id(void) · 348 unmodified lines
349349 static struct platform_driver tcic_driver = {
350350 .driver = {
351351 .name = "tcic-pcmcia",
352− .owner = THIS_MODULE,
353352 },
354353 };
355354
drivers/pcmcia/vrc4171_card.c+0−1
@@ -709,7 +709,6 @@ __setup("vrc4171_card=", vrc4171_card_setup); · 708 unmodified lines
709709 static struct platform_driver vrc4171_card_driver = {
710710 .driver = {
711711 .name = vrc4171_card_name,
712− .owner = THIS_MODULE,
713712 },
714713 };
715714
drivers/pcmcia/xxs1500_ss.c+0−1
@@ -314,7 +314,6 @@ static int xxs1500_pcmcia_remove(struct platform_device *pdev) · 313 unmodified lines
314314 static struct platform_driver xxs1500_pcmcia_socket_driver = {
315315 .driver = {
316316 .name = "xxs1500_pcmcia",
317− .owner = THIS_MODULE,
318317 },
319318 .probe = xxs1500_pcmcia_probe,
320319 .remove = xxs1500_pcmcia_remove,
drivers/pinctrl/berlin/berlin-bg2.c+0−1
@@ -263,7 +263,6 @@ static struct platform_driver berlin2_pinctrl_driver = { · 262 unmodified lines
263263 .probe = berlin2_pinctrl_probe,
264264 .driver = {
265265 .name = "berlin-bg2-pinctrl",
266− .owner = THIS_MODULE,
267266 .of_match_table = berlin2_pinctrl_match,
268267 },
269268 };
drivers/pinctrl/berlin/berlin-bg2cd.c+0−1
@@ -206,7 +206,6 @@ static struct platform_driver berlin2cd_pinctrl_driver = { · 205 unmodified lines
206206 .probe = berlin2cd_pinctrl_probe,
207207 .driver = {
208208 .name = "berlin-bg2cd-pinctrl",
209− .owner = THIS_MODULE,
210209 .of_match_table = berlin2cd_pinctrl_match,
211210 },
212211 };
drivers/pinctrl/berlin/berlin-bg2q.c+0−1
@@ -425,7 +425,6 @@ static struct platform_driver berlin2q_pinctrl_driver = { · 424 unmodified lines
425425 .probe = berlin2q_pinctrl_probe,
426426 .driver = {
427427 .name = "berlin-bg2q-pinctrl",
428− .owner = THIS_MODULE,
429428 .of_match_table = berlin2q_pinctrl_match,
430429 },
431430 };
drivers/pinctrl/freescale/pinctrl-imx1.c+0−1
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(of, imx1_pinctrl_of_match); · 266 unmodified lines
267267 static struct platform_driver imx1_pinctrl_driver = {
268268 .driver = {
269269 .name = "imx1-pinctrl",
270− .owner = THIS_MODULE,
271270 .of_match_table = imx1_pinctrl_of_match,
272271 },
273272 .remove = imx1_pinctrl_core_remove,
drivers/pinctrl/freescale/pinctrl-imx21.c+0−1
@@ -330,7 +330,6 @@ MODULE_DEVICE_TABLE(of, imx21_pinctrl_of_match); · 329 unmodified lines
330330 static struct platform_driver imx21_pinctrl_driver = {
331331 .driver = {
332332 .name = "imx21-pinctrl",
333− .owner = THIS_MODULE,
334333 .of_match_table = imx21_pinctrl_of_match,
335334 },
336335 .remove = imx1_pinctrl_core_remove,
drivers/pinctrl/freescale/pinctrl-imx23.c+0−1
@@ -281,7 +281,6 @@ MODULE_DEVICE_TABLE(of, imx23_pinctrl_of_match); · 280 unmodified lines
281281 static struct platform_driver imx23_pinctrl_driver = {
282282 .driver = {
283283 .name = "imx23-pinctrl",
284− .owner = THIS_MODULE,
285284 .of_match_table = imx23_pinctrl_of_match,
286285 },
287286 .probe = imx23_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx25.c+0−1
@@ -328,7 +328,6 @@ static int imx25_pinctrl_probe(struct platform_device *pdev) · 327 unmodified lines
328328 static struct platform_driver imx25_pinctrl_driver = {
329329 .driver = {
330330 .name = "imx25-pinctrl",
331− .owner = THIS_MODULE,
332331 .of_match_table = of_match_ptr(imx25_pinctrl_of_match),
333332 },
334333 .probe = imx25_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx27.c+0−1
@@ -402,7 +402,6 @@ static int imx27_pinctrl_probe(struct platform_device *pdev) · 401 unmodified lines
402402 static struct platform_driver imx27_pinctrl_driver = {
403403 .driver = {
404404 .name = "imx27-pinctrl",
405− .owner = THIS_MODULE,
406405 .of_match_table = of_match_ptr(imx27_pinctrl_of_match),
407406 },
408407 .probe = imx27_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx28.c+0−1
@@ -397,7 +397,6 @@ MODULE_DEVICE_TABLE(of, imx28_pinctrl_of_match); · 396 unmodified lines
397397 static struct platform_driver imx28_pinctrl_driver = {
398398 .driver = {
399399 .name = "imx28-pinctrl",
400− .owner = THIS_MODULE,
401400 .of_match_table = imx28_pinctrl_of_match,
402401 },
403402 .probe = imx28_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx35.c+0−1
@@ -1018,7 +1018,6 @@ static int imx35_pinctrl_probe(struct platform_device *pdev) · 1017 unmodified lines
10181018 static struct platform_driver imx35_pinctrl_driver = {
10191019 .driver = {
10201020 .name = "imx35-pinctrl",
1021− .owner = THIS_MODULE,
10221021 .of_match_table = imx35_pinctrl_of_match,
10231022 },
10241023 .probe = imx35_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx50.c+0−1
@@ -404,7 +404,6 @@ static int imx50_pinctrl_probe(struct platform_device *pdev) · 403 unmodified lines
404404 static struct platform_driver imx50_pinctrl_driver = {
405405 .driver = {
406406 .name = "imx50-pinctrl",
407− .owner = THIS_MODULE,
408407 .of_match_table = of_match_ptr(imx50_pinctrl_of_match),
409408 },
410409 .probe = imx50_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx51.c+0−1
@@ -781,7 +781,6 @@ static int imx51_pinctrl_probe(struct platform_device *pdev) · 780 unmodified lines
781781 static struct platform_driver imx51_pinctrl_driver = {
782782 .driver = {
783783 .name = "imx51-pinctrl",
784− .owner = THIS_MODULE,
785784 .of_match_table = imx51_pinctrl_of_match,
786785 },
787786 .probe = imx51_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx53.c+0−1
@@ -467,7 +467,6 @@ static int imx53_pinctrl_probe(struct platform_device *pdev) · 466 unmodified lines
467467 static struct platform_driver imx53_pinctrl_driver = {
468468 .driver = {
469469 .name = "imx53-pinctrl",
470− .owner = THIS_MODULE,
471470 .of_match_table = imx53_pinctrl_of_match,
472471 },
473472 .probe = imx53_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx6dl.c+0−1
@@ -473,7 +473,6 @@ static int imx6dl_pinctrl_probe(struct platform_device *pdev) · 472 unmodified lines
473473 static struct platform_driver imx6dl_pinctrl_driver = {
474474 .driver = {
475475 .name = "imx6dl-pinctrl",
476− .owner = THIS_MODULE,
477476 .of_match_table = imx6dl_pinctrl_of_match,
478477 },
479478 .probe = imx6dl_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx6q.c+0−1
@@ -479,7 +479,6 @@ static int imx6q_pinctrl_probe(struct platform_device *pdev) · 478 unmodified lines
479479 static struct platform_driver imx6q_pinctrl_driver = {
480480 .driver = {
481481 .name = "imx6q-pinctrl",
482− .owner = THIS_MODULE,
483482 .of_match_table = imx6q_pinctrl_of_match,
484483 },
485484 .probe = imx6q_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx6sl.c+0−1
@@ -380,7 +380,6 @@ static int imx6sl_pinctrl_probe(struct platform_device *pdev) · 379 unmodified lines
380380 static struct platform_driver imx6sl_pinctrl_driver = {
381381 .driver = {
382382 .name = "imx6sl-pinctrl",
383− .owner = THIS_MODULE,
384383 .of_match_table = imx6sl_pinctrl_of_match,
385384 },
386385 .probe = imx6sl_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-imx6sx.c+0−1
@@ -383,7 +383,6 @@ static int imx6sx_pinctrl_probe(struct platform_device *pdev) · 382 unmodified lines
383383 static struct platform_driver imx6sx_pinctrl_driver = {
384384 .driver = {
385385 .name = "imx6sx-pinctrl",
386− .owner = THIS_MODULE,
387386 .of_match_table = of_match_ptr(imx6sx_pinctrl_of_match),
388387 },
389388 .probe = imx6sx_pinctrl_probe,
drivers/pinctrl/freescale/pinctrl-vf610.c+0−1
@@ -315,7 +315,6 @@ static int vf610_pinctrl_probe(struct platform_device *pdev) · 314 unmodified lines
315315 static struct platform_driver vf610_pinctrl_driver = {
316316 .driver = {
317317 .name = "vf610-pinctrl",
318− .owner = THIS_MODULE,
319318 .of_match_table = vf610_pinctrl_of_match,
320319 },
321320 .probe = vf610_pinctrl_probe,
drivers/pinctrl/intel/pinctrl-baytrail.c+0−1
@@ -606,7 +606,6 @@ static struct platform_driver byt_gpio_driver = { · 605 unmodified lines
606606 .remove = byt_gpio_remove,
607607 .driver = {
608608 .name = "byt_gpio",
609− .owner = THIS_MODULE,
610609 .pm = &byt_gpio_pm_ops,
611610 .acpi_match_table = ACPI_PTR(byt_gpio_acpi_match),
612611 },
drivers/pinctrl/mvebu/pinctrl-armada-370.c+0−1
@@ -425,7 +425,6 @@ static int armada_370_pinctrl_remove(struct platform_device *pdev) · 424 unmodified lines
425425 static struct platform_driver armada_370_pinctrl_driver = {
426426 .driver = {
427427 .name = "armada-370-pinctrl",
428− .owner = THIS_MODULE,
429428 .of_match_table = armada_370_pinctrl_of_match,
430429 },
431430 .probe = armada_370_pinctrl_probe,
drivers/pinctrl/mvebu/pinctrl-armada-375.c+0−1
@@ -445,7 +445,6 @@ static int armada_375_pinctrl_remove(struct platform_device *pdev) · 444 unmodified lines
445445 static struct platform_driver armada_375_pinctrl_driver = {
446446 .driver = {
447447 .name = "armada-375-pinctrl",
448− .owner = THIS_MODULE,
449448 .of_match_table = of_match_ptr(armada_375_pinctrl_of_match),
450449 },
451450 .probe = armada_375_pinctrl_probe,
drivers/pinctrl/mvebu/pinctrl-armada-38x.c+0−1
@@ -448,7 +448,6 @@ static int armada_38x_pinctrl_remove(struct platform_device *pdev) · 447 unmodified lines
448448 static struct platform_driver armada_38x_pinctrl_driver = {
449449 .driver = {
450450 .name = "armada-38x-pinctrl",
451− .owner = THIS_MODULE,
452451 .of_match_table = of_match_ptr(armada_38x_pinctrl_of_match),
453452 },
454453 .probe = armada_38x_pinctrl_probe,
drivers/pinctrl/mvebu/pinctrl-armada-xp.c+0−1
@@ -472,7 +472,6 @@ static int armada_xp_pinctrl_remove(struct platform_device *pdev) · 471 unmodified lines
472472 static struct platform_driver armada_xp_pinctrl_driver = {
473473 .driver = {
474474 .name = "armada-xp-pinctrl",
475− .owner = THIS_MODULE,
476475 .of_match_table = armada_xp_pinctrl_of_match,
477476 },
478477 .probe = armada_xp_pinctrl_probe,
drivers/pinctrl/mvebu/pinctrl-dove.c+0−1
@@ -851,7 +851,6 @@ static int dove_pinctrl_remove(struct platform_device *pdev) · 850 unmodified lines
851851 static struct platform_driver dove_pinctrl_driver = {
852852 .driver = {
853853 .name = "dove-pinctrl",
854− .owner = THIS_MODULE,
855854 .of_match_table = dove_pinctrl_of_match,
856855 },
857856 .probe = dove_pinctrl_probe,
drivers/pinctrl/mvebu/pinctrl-kirkwood.c+0−1
@@ -489,7 +489,6 @@ static int kirkwood_pinctrl_remove(struct platform_device *pdev) · 488 unmodified lines
489489 static struct platform_driver kirkwood_pinctrl_driver = {
490490 .driver = {
491491 .name = "kirkwood-pinctrl",
492− .owner = THIS_MODULE,
493492 .of_match_table = kirkwood_pinctrl_of_match,
494493 },
495494 .probe = kirkwood_pinctrl_probe,
drivers/pinctrl/mvebu/pinctrl-orion.c+0−1
@@ -247,7 +247,6 @@ static int orion_pinctrl_remove(struct platform_device *pdev) · 246 unmodified lines
247247 static struct platform_driver orion_pinctrl_driver = {
248248 .driver = {
249249 .name = "orion-pinctrl",
250− .owner = THIS_MODULE,
251250 .of_match_table = of_match_ptr(orion_pinctrl_of_match),
252251 },
253252 .probe = orion_pinctrl_probe,
drivers/pinctrl/nomadik/pinctrl-abx500.c+0−1
@@ -1278,7 +1278,6 @@ static int abx500_gpio_remove(struct platform_device *pdev) · 1277 unmodified lines
12781278 static struct platform_driver abx500_gpio_driver = {
12791279 .driver = {
12801280 .name = "abx500-gpio",
1281− .owner = THIS_MODULE,
12821281 .of_match_table = abx500_gpio_match,
12831282 },
12841283 .probe = abx500_gpio_probe,
drivers/pinctrl/nomadik/pinctrl-nomadik.c+0−2
@@ -2051,7 +2051,6 @@ static const struct of_device_id nmk_gpio_match[] = { · 2050 unmodified lines
20512051
20522052 static struct platform_driver nmk_gpio_driver = {
20532053 .driver = {
2054− .owner = THIS_MODULE,
20552054 .name = "gpio",
20562055 .of_match_table = nmk_gpio_match,
20572056 },
@@ -2064,7 +2063,6 @@ static SIMPLE_DEV_PM_OPS(nmk_pinctrl_pm_ops, · 6 unmodified lines
20642063
20652064 static struct platform_driver nmk_pinctrl_driver = {
20662065 .driver = {
2067− .owner = THIS_MODULE,
20682066 .name = "pinctrl-nomadik",
20692067 .of_match_table = nmk_pinctrl_match,
20702068 .pm = &nmk_pinctrl_pm_ops,
drivers/pinctrl/pinctrl-as3722.c+0−1
@@ -634,7 +634,6 @@ MODULE_DEVICE_TABLE(of, as3722_pinctrl_of_match); · 633 unmodified lines
634634 static struct platform_driver as3722_pinctrl_driver = {
635635 .driver = {
636636 .name = "as3722-pinctrl",
637− .owner = THIS_MODULE,
638637 .of_match_table = as3722_pinctrl_of_match,
639638 },
640639 .probe = as3722_pinctrl_probe,
drivers/pinctrl/pinctrl-at91.c+0−2
@@ -1831,7 +1831,6 @@ err: · 1830 unmodified lines
18311831 static struct platform_driver at91_gpio_driver = {
18321832 .driver = {
18331833 .name = "gpio-at91",
1834− .owner = THIS_MODULE,
18351834 .of_match_table = at91_gpio_of_match,
18361835 },
18371836 .probe = at91_gpio_probe,
@@ -1840,7 +1839,6 @@ static struct platform_driver at91_gpio_driver = { · 2 unmodified lines
18401839 static struct platform_driver at91_pinctrl_driver = {
18411840 .driver = {
18421841 .name = "pinctrl-at91",
1843− .owner = THIS_MODULE,
18441842 .of_match_table = at91_pinctrl_of_match,
18451843 },
18461844 .probe = at91_pinctrl_probe,
drivers/pinctrl/pinctrl-bcm281xx.c+0−1
@@ -1443,7 +1443,6 @@ static struct of_device_id bcm281xx_pinctrl_of_match[] = { · 1442 unmodified lines
14431443 static struct platform_driver bcm281xx_pinctrl_driver = {
14441444 .driver = {
14451445 .name = "bcm281xx-pinctrl",
1446− .owner = THIS_MODULE,
14471446 .of_match_table = bcm281xx_pinctrl_of_match,
14481447 },
14491448 };
drivers/pinctrl/pinctrl-bcm2835.c+0−1
@@ -1062,7 +1062,6 @@ static struct platform_driver bcm2835_pinctrl_driver = { · 1061 unmodified lines
10621062 .remove = bcm2835_pinctrl_remove,
10631063 .driver = {
10641064 .name = MODULE_NAME,
1065− .owner = THIS_MODULE,
10661065 .of_match_table = bcm2835_pinctrl_match,
10671066 },
10681067 };
drivers/pinctrl/pinctrl-falcon.c+0−1
@@ -500,7 +500,6 @@ static struct platform_driver pinctrl_falcon_driver = { · 499 unmodified lines
500500 .probe = pinctrl_falcon_probe,
501501 .driver = {
502502 .name = "pinctrl-falcon",
503− .owner = THIS_MODULE,
504503 .of_match_table = falcon_match,
505504 },
506505 };
drivers/pinctrl/pinctrl-palmas.c+0−1
@@ -1062,7 +1062,6 @@ static int palmas_pinctrl_remove(struct platform_device *pdev) · 1061 unmodified lines
10621062 static struct platform_driver palmas_pinctrl_driver = {
10631063 .driver = {
10641064 .name = "palmas-pinctrl",
1065− .owner = THIS_MODULE,
10661065 .of_match_table = palmas_pinctrl_of_match,
10671066 },
10681067 .probe = palmas_pinctrl_probe,
drivers/pinctrl/pinctrl-rockchip.c+0−1
@@ -2053,7 +2053,6 @@ static struct platform_driver rockchip_pinctrl_driver = { · 2052 unmodified lines
20532053 .probe = rockchip_pinctrl_probe,
20542054 .driver = {
20552055 .name = "rockchip-pinctrl",
2056− .owner = THIS_MODULE,
20572056 .pm = &rockchip_pinctrl_dev_pm_ops,
20582057 .of_match_table = rockchip_pinctrl_dt_match,
20592058 },
drivers/pinctrl/pinctrl-single.c+0−1
@@ -2016,7 +2016,6 @@ static struct platform_driver pcs_driver = { · 2015 unmodified lines
20162016 .probe = pcs_probe,
20172017 .remove = pcs_remove,
20182018 .driver = {
2019− .owner = THIS_MODULE,
20202019 .name = DRIVER_NAME,
20212020 .of_match_table = pcs_of_match,
20222021 },
drivers/pinctrl/pinctrl-st.c+0−1
@@ -1689,7 +1689,6 @@ static int st_pctl_probe(struct platform_device *pdev) · 1688 unmodified lines
16891689 static struct platform_driver st_pctl_driver = {
16901690 .driver = {
16911691 .name = "st-pinctrl",
1692− .owner = THIS_MODULE,
16931692 .of_match_table = st_pctl_of_match,
16941693 },
16951694 .probe = st_pctl_probe,
drivers/pinctrl/pinctrl-tb10x.c+0−1
@@ -843,7 +843,6 @@ static struct platform_driver tb10x_pinctrl_pdrv = { · 842 unmodified lines
843843 .driver = {
844844 .name = "tb10x_pinctrl",
845845 .of_match_table = of_match_ptr(tb10x_pinctrl_dt_ids),
846− .owner = THIS_MODULE
847846 }
848847 };
849848
drivers/pinctrl/pinctrl-tegra114.c+0−1
@@ -1859,7 +1859,6 @@ MODULE_DEVICE_TABLE(of, tegra114_pinctrl_of_match); · 1858 unmodified lines
18591859 static struct platform_driver tegra114_pinctrl_driver = {
18601860 .driver = {
18611861 .name = "tegra114-pinctrl",
1862− .owner = THIS_MODULE,
18631862 .of_match_table = tegra114_pinctrl_of_match,
18641863 },
18651864 .probe = tegra114_pinctrl_probe,
drivers/pinctrl/pinctrl-tegra124.c+0−1
@@ -2072,7 +2072,6 @@ MODULE_DEVICE_TABLE(of, tegra124_pinctrl_of_match); · 2071 unmodified lines
20722072 static struct platform_driver tegra124_pinctrl_driver = {
20732073 .driver = {
20742074 .name = "tegra124-pinctrl",
2075− .owner = THIS_MODULE,
20762075 .of_match_table = tegra124_pinctrl_of_match,
20772076 },
20782077 .probe = tegra124_pinctrl_probe,
drivers/pinctrl/pinctrl-tegra20.c+0−1
@@ -2236,7 +2236,6 @@ static const struct of_device_id tegra20_pinctrl_of_match[] = { · 2235 unmodified lines
22362236 static struct platform_driver tegra20_pinctrl_driver = {
22372237 .driver = {
22382238 .name = "tegra20-pinctrl",
2239− .owner = THIS_MODULE,
22402239 .of_match_table = tegra20_pinctrl_of_match,
22412240 },
22422241 .probe = tegra20_pinctrl_probe,
drivers/pinctrl/pinctrl-tegra30.c+0−1
@@ -2493,7 +2493,6 @@ MODULE_DEVICE_TABLE(of, tegra30_pinctrl_of_match); · 2492 unmodified lines
24932493 static struct platform_driver tegra30_pinctrl_driver = {
24942494 .driver = {
24952495 .name = "tegra30-pinctrl",
2496− .owner = THIS_MODULE,
24972496 .of_match_table = tegra30_pinctrl_of_match,
24982497 },
24992498 .probe = tegra30_pinctrl_probe,
drivers/pinctrl/pinctrl-tz1090-pdc.c+0−1
@@ -977,7 +977,6 @@ static struct of_device_id tz1090_pdc_pinctrl_of_match[] = { · 976 unmodified lines
977977 static struct platform_driver tz1090_pdc_pinctrl_driver = {
978978 .driver = {
979979 .name = "tz1090-pdc-pinctrl",
980− .owner = THIS_MODULE,
981980 .of_match_table = tz1090_pdc_pinctrl_of_match,
982981 },
983982 .probe = tz1090_pdc_pinctrl_probe,
drivers/pinctrl/pinctrl-tz1090.c+0−1
@@ -1992,7 +1992,6 @@ static struct of_device_id tz1090_pinctrl_of_match[] = { · 1991 unmodified lines
19921992 static struct platform_driver tz1090_pinctrl_driver = {
19931993 .driver = {
19941994 .name = "tz1090-pinctrl",
1995− .owner = THIS_MODULE,
19961995 .of_match_table = tz1090_pinctrl_of_match,
19971996 },
19981997 .probe = tz1090_pinctrl_probe,
drivers/pinctrl/pinctrl-u300.c+0−1
@@ -1098,7 +1098,6 @@ static const struct of_device_id u300_pinctrl_match[] = { · 1097 unmodified lines
10981098 static struct platform_driver u300_pmx_driver = {
10991099 .driver = {
11001100 .name = DRIVER_NAME,
1101− .owner = THIS_MODULE,
11021101 .of_match_table = u300_pinctrl_match,
11031102 },
11041103 .probe = u300_pmx_probe,
drivers/pinctrl/pinctrl-xway.c+0−1
@@ -840,7 +840,6 @@ static struct platform_driver pinmux_xway_driver = { · 839 unmodified lines
840840 .probe = pinmux_xway_probe,
841841 .driver = {
842842 .name = "pinctrl-xway",
843− .owner = THIS_MODULE,
844843 .of_match_table = xway_match,
845844 },
846845 };
drivers/pinctrl/qcom/pinctrl-apq8064.c+0−1
@@ -612,7 +612,6 @@ static const struct of_device_id apq8064_pinctrl_of_match[] = { · 611 unmodified lines
612612 static struct platform_driver apq8064_pinctrl_driver = {
613613 .driver = {
614614 .name = "apq8064-pinctrl",
615− .owner = THIS_MODULE,
616615 .of_match_table = apq8064_pinctrl_of_match,
617616 },
618617 .probe = apq8064_pinctrl_probe,
drivers/pinctrl/qcom/pinctrl-apq8084.c+0−1
@@ -1221,7 +1221,6 @@ static const struct of_device_id apq8084_pinctrl_of_match[] = { · 1220 unmodified lines
12211221 static struct platform_driver apq8084_pinctrl_driver = {
12221222 .driver = {
12231223 .name = "apq8084-pinctrl",
1224− .owner = THIS_MODULE,
12251224 .of_match_table = apq8084_pinctrl_of_match,
12261225 },
12271226 .probe = apq8084_pinctrl_probe,
drivers/pinctrl/qcom/pinctrl-ipq8064.c+0−1
@@ -645,7 +645,6 @@ static const struct of_device_id ipq8064_pinctrl_of_match[] = { · 644 unmodified lines
645645 static struct platform_driver ipq8064_pinctrl_driver = {
646646 .driver = {
647647 .name = "ipq8064-pinctrl",
648− .owner = THIS_MODULE,
649648 .of_match_table = ipq8064_pinctrl_of_match,
650649 },
651650 .probe = ipq8064_pinctrl_probe,
drivers/pinctrl/qcom/pinctrl-msm8960.c+0−1
@@ -1259,7 +1259,6 @@ static const struct of_device_id msm8960_pinctrl_of_match[] = { · 1258 unmodified lines
12591259 static struct platform_driver msm8960_pinctrl_driver = {
12601260 .driver = {
12611261 .name = "msm8960-pinctrl",
1262− .owner = THIS_MODULE,
12631262 .of_match_table = msm8960_pinctrl_of_match,
12641263 },
12651264 .probe = msm8960_pinctrl_probe,
drivers/pinctrl/qcom/pinctrl-msm8x74.c+0−1
@@ -1043,7 +1043,6 @@ static const struct of_device_id msm8x74_pinctrl_of_match[] = { · 1042 unmodified lines
10431043 static struct platform_driver msm8x74_pinctrl_driver = {
10441044 .driver = {
10451045 .name = "msm8x74-pinctrl",
1046− .owner = THIS_MODULE,
10471046 .of_match_table = msm8x74_pinctrl_of_match,
10481047 },
10491048 .probe = msm8x74_pinctrl_probe,
drivers/pinctrl/samsung/pinctrl-exynos5440.c+0−1
@@ -1036,7 +1036,6 @@ static struct platform_driver exynos5440_pinctrl_driver = { · 1035 unmodified lines
10361036 .probe = exynos5440_pinctrl_probe,
10371037 .driver = {
10381038 .name = "exynos5440-pinctrl",
1039− .owner = THIS_MODULE,
10401039 .of_match_table = exynos5440_pinctrl_dt_match,
10411040 },
10421041 };
drivers/pinctrl/samsung/pinctrl-samsung.c+0−1
@@ -1266,7 +1266,6 @@ static struct platform_driver samsung_pinctrl_driver = { · 1265 unmodified lines
12661266 .probe = samsung_pinctrl_probe,
12671267 .driver = {
12681268 .name = "samsung-pinctrl",
1269− .owner = THIS_MODULE,
12701269 .of_match_table = samsung_pinctrl_dt_match,
12711270 },
12721271 };
drivers/pinctrl/sh-pfc/core.c+0−1
@@ -650,7 +650,6 @@ static struct platform_driver sh_pfc_driver = { · 649 unmodified lines
650650 .id_table = sh_pfc_id_table,
651651 .driver = {
652652 .name = DRV_NAME,
653− .owner = THIS_MODULE,
654653 .of_match_table = of_match_ptr(sh_pfc_of_table),
655654 },
656655 };
drivers/pinctrl/sirf/pinctrl-sirf.c+0−1
@@ -406,7 +406,6 @@ static const struct dev_pm_ops sirfsoc_pinmux_pm_ops = { · 405 unmodified lines
406406 static struct platform_driver sirfsoc_pinmux_driver = {
407407 .driver = {
408408 .name = DRIVER_NAME,
409− .owner = THIS_MODULE,
410409 .of_match_table = pinmux_ids,
411410 #ifdef CONFIG_PM_SLEEP
412411 .pm = &sirfsoc_pinmux_pm_ops,
drivers/pinctrl/spear/pinctrl-plgpio.c+0−1
@@ -710,7 +710,6 @@ MODULE_DEVICE_TABLE(of, plgpio_of_match); · 709 unmodified lines
710710 static struct platform_driver plgpio_driver = {
711711 .probe = plgpio_probe,
712712 .driver = {
713− .owner = THIS_MODULE,
714713 .name = "spear-plgpio",
715714 .pm = &plgpio_dev_pm_ops,
716715 .of_match_table = plgpio_of_match,
drivers/pinctrl/spear/pinctrl-spear1310.c+0−1
@@ -2712,7 +2712,6 @@ static int spear1310_pinctrl_remove(struct platform_device *pdev) · 2711 unmodified lines
27122712 static struct platform_driver spear1310_pinctrl_driver = {
27132713 .driver = {
27142714 .name = DRIVER_NAME,
2715− .owner = THIS_MODULE,
27162715 .of_match_table = spear1310_pinctrl_of_match,
27172716 },
27182717 .probe = spear1310_pinctrl_probe,
drivers/pinctrl/spear/pinctrl-spear1340.c+0−1
@@ -2028,7 +2028,6 @@ static int spear1340_pinctrl_remove(struct platform_device *pdev) · 2027 unmodified lines
20282028 static struct platform_driver spear1340_pinctrl_driver = {
20292029 .driver = {
20302030 .name = DRIVER_NAME,
2031− .owner = THIS_MODULE,
20322031 .of_match_table = spear1340_pinctrl_of_match,
20332032 },
20342033 .probe = spear1340_pinctrl_probe,
drivers/pinctrl/spear/pinctrl-spear300.c+0−1
@@ -685,7 +685,6 @@ static int spear300_pinctrl_remove(struct platform_device *pdev) · 684 unmodified lines
685685 static struct platform_driver spear300_pinctrl_driver = {
686686 .driver = {
687687 .name = DRIVER_NAME,
688− .owner = THIS_MODULE,
689688 .of_match_table = spear300_pinctrl_of_match,
690689 },
691690 .probe = spear300_pinctrl_probe,
drivers/pinctrl/spear/pinctrl-spear310.c+0−1
@@ -408,7 +408,6 @@ static int spear310_pinctrl_remove(struct platform_device *pdev) · 407 unmodified lines
408408 static struct platform_driver spear310_pinctrl_driver = {
409409 .driver = {
410410 .name = DRIVER_NAME,
411− .owner = THIS_MODULE,
412411 .of_match_table = spear310_pinctrl_of_match,
413412 },
414413 .probe = spear310_pinctrl_probe,
drivers/pinctrl/spear/pinctrl-spear320.c+0−1
@@ -3449,7 +3449,6 @@ static int spear320_pinctrl_remove(struct platform_device *pdev) · 3448 unmodified lines
34493449 static struct platform_driver spear320_pinctrl_driver = {
34503450 .driver = {
34513451 .name = DRIVER_NAME,
3452− .owner = THIS_MODULE,
34533452 .of_match_table = spear320_pinctrl_of_match,
34543453 },
34553454 .probe = spear320_pinctrl_probe,
drivers/pinctrl/sunxi/pinctrl-sun4i-a10.c+0−1
@@ -1029,7 +1029,6 @@ static struct platform_driver sun4i_a10_pinctrl_driver = { · 1028 unmodified lines
10291029 .probe = sun4i_a10_pinctrl_probe,
10301030 .driver = {
10311031 .name = "sun4i-pinctrl",
1032− .owner = THIS_MODULE,
10331032 .of_match_table = sun4i_a10_pinctrl_match,
10341033 },
10351034 };
drivers/pinctrl/sunxi/pinctrl-sun5i-a10s.c+0−1
@@ -680,7 +680,6 @@ static struct platform_driver sun5i_a10s_pinctrl_driver = { · 679 unmodified lines
680680 .probe = sun5i_a10s_pinctrl_probe,
681681 .driver = {
682682 .name = "sun5i-a10s-pinctrl",
683− .owner = THIS_MODULE,
684683 .of_match_table = sun5i_a10s_pinctrl_match,
685684 },
686685 };
drivers/pinctrl/sunxi/pinctrl-sun5i-a13.c+0−1
@@ -398,7 +398,6 @@ static struct platform_driver sun5i_a13_pinctrl_driver = { · 397 unmodified lines
398398 .probe = sun5i_a13_pinctrl_probe,
399399 .driver = {
400400 .name = "sun5i-a13-pinctrl",
401− .owner = THIS_MODULE,
402401 .of_match_table = sun5i_a13_pinctrl_match,
403402 },
404403 };
drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c+0−1
@@ -130,7 +130,6 @@ static struct platform_driver sun6i_a31_r_pinctrl_driver = { · 129 unmodified lines
130130 .probe = sun6i_a31_r_pinctrl_probe,
131131 .driver = {
132132 .name = "sun6i-a31-r-pinctrl",
133− .owner = THIS_MODULE,
134133 .of_match_table = sun6i_a31_r_pinctrl_match,
135134 },
136135 };
drivers/pinctrl/sunxi/pinctrl-sun6i-a31.c+0−1
@@ -927,7 +927,6 @@ static struct platform_driver sun6i_a31_pinctrl_driver = { · 926 unmodified lines
927927 .probe = sun6i_a31_pinctrl_probe,
928928 .driver = {
929929 .name = "sun6i-a31-pinctrl",
930− .owner = THIS_MODULE,
931930 .of_match_table = sun6i_a31_pinctrl_match,
932931 },
933932 };
drivers/pinctrl/sunxi/pinctrl-sun7i-a20.c+0−1
@@ -1055,7 +1055,6 @@ static struct platform_driver sun7i_a20_pinctrl_driver = { · 1054 unmodified lines
10551055 .probe = sun7i_a20_pinctrl_probe,
10561056 .driver = {
10571057 .name = "sun7i-a20-pinctrl",
1058− .owner = THIS_MODULE,
10591058 .of_match_table = sun7i_a20_pinctrl_match,
10601059 },
10611060 };
drivers/pinctrl/sunxi/pinctrl-sun8i-a23-r.c+0−1
@@ -129,7 +129,6 @@ static struct platform_driver sun8i_a23_r_pinctrl_driver = { · 128 unmodified lines
129129 .probe = sun8i_a23_r_pinctrl_probe,
130130 .driver = {
131131 .name = "sun8i-a23-r-pinctrl",
132− .owner = THIS_MODULE,
133132 .of_match_table = sun8i_a23_r_pinctrl_match,
134133 },
135134 };
drivers/pinctrl/sunxi/pinctrl-sun8i-a23.c+0−1
@@ -581,7 +581,6 @@ static struct platform_driver sun8i_a23_pinctrl_driver = { · 580 unmodified lines
581581 .probe = sun8i_a23_pinctrl_probe,
582582 .driver = {
583583 .name = "sun8i-a23-pinctrl",
584− .owner = THIS_MODULE,
585584 .of_match_table = sun8i_a23_pinctrl_match,
586585 },
587586 };
drivers/pinctrl/vt8500/pinctrl-vt8500.c+0−1
@@ -488,7 +488,6 @@ static struct platform_driver wmt_pinctrl_driver = { · 487 unmodified lines
488488 .remove = vt8500_pinctrl_remove,
489489 .driver = {
490490 .name = "pinctrl-vt8500",
491− .owner = THIS_MODULE,
492491 .of_match_table = wmt_pinctrl_of_match,
493492 },
494493 };
drivers/pinctrl/vt8500/pinctrl-wm8505.c+0−1
@@ -519,7 +519,6 @@ static struct platform_driver wmt_pinctrl_driver = { · 518 unmodified lines
519519 .remove = wm8505_pinctrl_remove,
520520 .driver = {
521521 .name = "pinctrl-wm8505",
522− .owner = THIS_MODULE,
523522 .of_match_table = wmt_pinctrl_of_match,
524523 },
525524 };
drivers/pinctrl/vt8500/pinctrl-wm8650.c+0−1
@@ -357,7 +357,6 @@ static struct platform_driver wmt_pinctrl_driver = { · 356 unmodified lines
357357 .remove = wm8650_pinctrl_remove,
358358 .driver = {
359359 .name = "pinctrl-wm8650",
360− .owner = THIS_MODULE,
361360 .of_match_table = wmt_pinctrl_of_match,
362361 },
363362 };
drivers/pinctrl/vt8500/pinctrl-wm8750.c+0−1
@@ -396,7 +396,6 @@ static struct platform_driver wmt_pinctrl_driver = { · 395 unmodified lines
396396 .remove = wm8750_pinctrl_remove,
397397 .driver = {
398398 .name = "pinctrl-wm8750",
399− .owner = THIS_MODULE,
400399 .of_match_table = wmt_pinctrl_of_match,
401400 },
402401 };
drivers/pinctrl/vt8500/pinctrl-wm8850.c+0−1
@@ -375,7 +375,6 @@ static struct platform_driver wmt_pinctrl_driver = { · 374 unmodified lines
375375 .remove = wm8850_pinctrl_remove,
376376 .driver = {
377377 .name = "pinctrl-wm8850",
378− .owner = THIS_MODULE,
379378 .of_match_table = wmt_pinctrl_of_match,
380379 },
381380 };
drivers/platform/chrome/chromeos_laptop.c+0−1
@@ -571,7 +571,6 @@ static struct platform_device *cros_platform_device; · 570 unmodified lines
571571 static struct platform_driver cros_platform_driver = {
572572 .driver = {
573573 .name = "chromeos_laptop",
574− .owner = THIS_MODULE,
575574 },
576575 .probe = chromeos_laptop_probe,
577576 };
drivers/platform/x86/acer-wmi.c+0−1
@@ -2117,7 +2117,6 @@ static void acer_platform_shutdown(struct platform_device *device) · 2116 unmodified lines
21172117 static struct platform_driver acer_platform_driver = {
21182118 .driver = {
21192119 .name = "acer-wmi",
2120− .owner = THIS_MODULE,
21212120 .pm = &acer_pm,
21222121 },
21232122 .probe = acer_platform_probe,
drivers/platform/x86/acerhdf.c+0−1
@@ -533,7 +533,6 @@ static const struct dev_pm_ops acerhdf_pm_ops = { · 532 unmodified lines
533533 static struct platform_driver acerhdf_driver = {
534534 .driver = {
535535 .name = "acerhdf",
536− .owner = THIS_MODULE,
537536 .pm = &acerhdf_pm_ops,
538537 },
539538 .probe = acerhdf_probe,
drivers/platform/x86/alienware-wmi.c+0−1
@@ -157,7 +157,6 @@ static struct platform_zone *zone_data; · 156 unmodified lines
157157 static struct platform_driver platform_driver = {
158158 .driver = {
159159 .name = "alienware-wmi",
160− .owner = THIS_MODULE,
161160 }
162161 };
163162
drivers/platform/x86/amilo-rfkill.c+0−1
@@ -138,7 +138,6 @@ static int amilo_rfkill_remove(struct platform_device *device) · 137 unmodified lines
138138 static struct platform_driver amilo_rfkill_driver = {
139139 .driver = {
140140 .name = KBUILD_MODNAME,
141− .owner = THIS_MODULE,
142141 },
143142 .probe = amilo_rfkill_probe,
144143 .remove = amilo_rfkill_remove,
drivers/platform/x86/asus-laptop.c+0−1
@@ -1699,7 +1699,6 @@ static void asus_platform_exit(struct asus_laptop *asus) · 1698 unmodified lines
16991699 static struct platform_driver platform_driver = {
17001700 .driver = {
17011701 .name = ASUS_LAPTOP_FILE,
1702− .owner = THIS_MODULE,
17031702 },
17041703 };
17051704
drivers/platform/x86/compal-laptop.c+0−1
@@ -710,7 +710,6 @@ static int compal_remove(struct platform_device *); · 709 unmodified lines
710710 static struct platform_driver compal_driver = {
711711 .driver = {
712712 .name = DRIVER_NAME,
713− .owner = THIS_MODULE,
714713 },
715714 .probe = compal_probe,
716715 .remove = compal_remove,
drivers/platform/x86/dell-laptop.c+0−1
@@ -84,7 +84,6 @@ static struct calling_interface_token *da_tokens; · 83 unmodified lines
8484 static struct platform_driver platform_driver = {
8585 .driver = {
8686 .name = "dell-laptop",
87− .owner = THIS_MODULE,
8887 }
8988 };
9089
drivers/platform/x86/eeepc-laptop.c+0−1
@@ -961,7 +961,6 @@ static const struct dev_pm_ops eeepc_pm_ops = { · 960 unmodified lines
961961 static struct platform_driver platform_driver = {
962962 .driver = {
963963 .name = EEEPC_LAPTOP_FILE,
964− .owner = THIS_MODULE,
965964 .pm = &eeepc_pm_ops,
966965 }
967966 };
drivers/platform/x86/fujitsu-laptop.c+0−1
@@ -559,7 +559,6 @@ static struct attribute_group fujitsupf_attribute_group = { · 558 unmodified lines
559559 static struct platform_driver fujitsupf_driver = {
560560 .driver = {
561561 .name = "fujitsu-laptop",
562− .owner = THIS_MODULE,
563562 }
564563 };
565564
drivers/platform/x86/hdaps.c+0−1
@@ -318,7 +318,6 @@ static struct platform_driver hdaps_driver = { · 317 unmodified lines
318318 .probe = hdaps_probe,
319319 .driver = {
320320 .name = "hdaps",
321− .owner = THIS_MODULE,
322321 .pm = &hdaps_pm,
323322 },
324323 };
drivers/platform/x86/hp-wmi.c+0−1
@@ -1006,7 +1006,6 @@ static const struct dev_pm_ops hp_wmi_pm_ops = { · 1005 unmodified lines
10061006 static struct platform_driver hp_wmi_driver = {
10071007 .driver = {
10081008 .name = "hp-wmi",
1009− .owner = THIS_MODULE,
10101009 .pm = &hp_wmi_pm_ops,
10111010 },
10121011 .remove = __exit_p(hp_wmi_bios_remove),
drivers/platform/x86/ideapad-laptop.c+0−1
@@ -966,7 +966,6 @@ static struct platform_driver ideapad_acpi_driver = { · 965 unmodified lines
966966 .remove = ideapad_acpi_remove,
967967 .driver = {
968968 .name = "ideapad_acpi",
969− .owner = THIS_MODULE,
970969 .pm = &ideapad_pm,
971970 .acpi_match_table = ACPI_PTR(ideapad_device_ids),
972971 },
drivers/platform/x86/intel_mid_powerbtn.c+0−1
@@ -133,7 +133,6 @@ static int mfld_pb_remove(struct platform_device *pdev) · 132 unmodified lines
133133 static struct platform_driver mfld_pb_driver = {
134134 .driver = {
135135 .name = DRIVER_NAME,
136− .owner = THIS_MODULE,
137136 },
138137 .probe = mfld_pb_probe,
139138 .remove = mfld_pb_remove,
drivers/platform/x86/intel_mid_thermal.c+0−1
@@ -555,7 +555,6 @@ static const struct platform_device_id therm_id_table[] = { · 554 unmodified lines
555555 static struct platform_driver mid_thermal_driver = {
556556 .driver = {
557557 .name = DRIVER_NAME,
558− .owner = THIS_MODULE,
559558 .pm = &mid_thermal_pm,
560559 },
561560 .probe = mid_thermal_probe,
drivers/platform/x86/intel_oaktrail.c+0−1
@@ -288,7 +288,6 @@ static int oaktrail_remove(struct platform_device *pdev) · 287 unmodified lines
288288 static struct platform_driver oaktrail_driver = {
289289 .driver = {
290290 .name = DRIVER_NAME,
291− .owner = THIS_MODULE,
292291 },
293292 .probe = oaktrail_probe,
294293 .remove = oaktrail_remove,
drivers/platform/x86/intel_pmic_gpio.c+0−1
@@ -314,7 +314,6 @@ err2: · 313 unmodified lines
314314 static struct platform_driver platform_pmic_gpio_driver = {
315315 .driver = {
316316 .name = DRIVER_NAME,
317− .owner = THIS_MODULE,
318317 },
319318 .probe = platform_pmic_gpio_probe,
320319 };
drivers/platform/x86/msi-laptop.c+0−1
@@ -573,7 +573,6 @@ static struct attribute_group msipf_old_attribute_group = { · 572 unmodified lines
573573 static struct platform_driver msipf_driver = {
574574 .driver = {
575575 .name = "msi-laptop-pf",
576− .owner = THIS_MODULE,
577576 .pm = &msi_laptop_pm,
578577 },
579578 };
drivers/platform/x86/samsung-q10.c+0−1
@@ -82,7 +82,6 @@ static int samsungq10_remove(struct platform_device *pdev) · 81 unmodified lines
8282 static struct platform_driver samsungq10_driver = {
8383 .driver = {
8484 .name = KBUILD_MODNAME,
85− .owner = THIS_MODULE,
8685 },
8786 .probe = samsungq10_probe,
8887 .remove = samsungq10_remove,
drivers/platform/x86/sony-laptop.c+0−1
@@ -581,7 +581,6 @@ static atomic_t sony_pf_users = ATOMIC_INIT(0); · 580 unmodified lines
581581 static struct platform_driver sony_pf_driver = {
582582 .driver = {
583583 .name = "sony-laptop",
584− .owner = THIS_MODULE,
585584 }
586585 };
587586 static struct platform_device *sony_pf_device;
drivers/platform/x86/tc1100-wmi.c+0−1
@@ -234,7 +234,6 @@ static const struct dev_pm_ops tc1100_pm_ops = { · 233 unmodified lines
234234 static struct platform_driver tc1100_driver = {
235235 .driver = {
236236 .name = "tc1100-wmi",
237− .owner = THIS_MODULE,
238237 #ifdef CONFIG_PM
239238 .pm = &tc1100_pm_ops,
240239 #endif
drivers/platform/x86/thinkpad_acpi.c+0−2
@@ -972,7 +972,6 @@ static void tpacpi_shutdown_handler(struct platform_device *pdev) · 971 unmodified lines
972972 static struct platform_driver tpacpi_pdriver = {
973973 .driver = {
974974 .name = TPACPI_DRVR_NAME,
975− .owner = THIS_MODULE,
976975 .pm = &tpacpi_pm,
977976 },
978977 .shutdown = tpacpi_shutdown_handler,
@@ -981,7 +980,6 @@ static struct platform_driver tpacpi_pdriver = { · 2 unmodified lines
981980 static struct platform_driver tpacpi_hwmon_pdriver = {
982981 .driver = {
983982 .name = TPACPI_HWMON_DRVR_NAME,
984− .owner = THIS_MODULE,
985983 },
986984 };
987985
drivers/platform/x86/xo1-rfkill.c+0−1
@@ -71,7 +71,6 @@ static int xo1_rfkill_remove(struct platform_device *pdev) · 70 unmodified lines
7171 static struct platform_driver xo1_rfkill_driver = {
7272 .driver = {
7373 .name = "xo1-rfkill",
74− .owner = THIS_MODULE,
7574 },
7675 .probe = xo1_rfkill_probe,
7776 .remove = xo1_rfkill_remove,
drivers/power/88pm860x_battery.c+0−1
@@ -1023,7 +1023,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_battery_pm_ops, · 1022 unmodified lines
10231023 static struct platform_driver pm860x_battery_driver = {
10241024 .driver = {
10251025 .name = "88pm860x-battery",
1026− .owner = THIS_MODULE,
10271026 .pm = &pm860x_battery_pm_ops,
10281027 },
10291028 .probe = pm860x_battery_probe,
drivers/power/88pm860x_charger.c+0−1
@@ -732,7 +732,6 @@ static int pm860x_charger_remove(struct platform_device *pdev) · 731 unmodified lines
732732 static struct platform_driver pm860x_charger_driver = {
733733 .driver = {
734734 .name = "88pm860x-charger",
735− .owner = THIS_MODULE,
736735 },
737736 .probe = pm860x_charger_probe,
738737 .remove = pm860x_charger_remove,
drivers/power/ab8500_btemp.c+0−1
@@ -1195,7 +1195,6 @@ static struct platform_driver ab8500_btemp_driver = { · 1194 unmodified lines
11951195 .resume = ab8500_btemp_resume,
11961196 .driver = {
11971197 .name = "ab8500-btemp",
1198− .owner = THIS_MODULE,
11991198 .of_match_table = ab8500_btemp_match,
12001199 },
12011200 };
drivers/power/ab8500_charger.c+0−1
@@ -3733,7 +3733,6 @@ static struct platform_driver ab8500_charger_driver = { · 3732 unmodified lines
37333733 .resume = ab8500_charger_resume,
37343734 .driver = {
37353735 .name = "ab8500-charger",
3736− .owner = THIS_MODULE,
37373736 .of_match_table = ab8500_charger_match,
37383737 },
37393738 };
drivers/power/ab8500_fg.c+0−1
@@ -3281,7 +3281,6 @@ static struct platform_driver ab8500_fg_driver = { · 3280 unmodified lines
32813281 .resume = ab8500_fg_resume,
32823282 .driver = {
32833283 .name = "ab8500-fg",
3284− .owner = THIS_MODULE,
32853284 .of_match_table = ab8500_fg_match,
32863285 },
32873286 };
drivers/power/abx500_chargalg.c+0−1
@@ -2156,7 +2156,6 @@ static struct platform_driver abx500_chargalg_driver = { · 2155 unmodified lines
21562156 .resume = abx500_chargalg_resume,
21572157 .driver = {
21582158 .name = "ab8500-chargalg",
2159− .owner = THIS_MODULE,
21602159 .of_match_table = ab8500_chargalg_match,
21612160 },
21622161 };
drivers/power/bq27x00_battery.c+0−1
@@ -1014,7 +1014,6 @@ static struct platform_driver bq27000_battery_driver = { · 1013 unmodified lines
10141014 .remove = bq27000_battery_remove,
10151015 .driver = {
10161016 .name = "bq27000-battery",
1017− .owner = THIS_MODULE,
10181017 },
10191018 };
10201019
drivers/power/charger-manager.c+0−1
@@ -2086,7 +2086,6 @@ static const struct dev_pm_ops charger_manager_pm = { · 2085 unmodified lines
20862086 static struct platform_driver charger_manager_driver = {
20872087 .driver = {
20882088 .name = "charger-manager",
2089− .owner = THIS_MODULE,
20902089 .pm = &charger_manager_pm,
20912090 .of_match_table = charger_manager_match,
20922091 },
drivers/power/da9030_battery.c+0−1
@@ -579,7 +579,6 @@ static int da9030_battery_remove(struct platform_device *dev) · 578 unmodified lines
579579 static struct platform_driver da903x_battery_driver = {
580580 .driver = {
581581 .name = "da903x-battery",
582− .owner = THIS_MODULE,
583582 },
584583 .probe = da9030_battery_probe,
585584 .remove = da9030_battery_remove,
drivers/power/da9052-battery.c+0−1
@@ -656,7 +656,6 @@ static struct platform_driver da9052_bat_driver = { · 655 unmodified lines
656656 .remove = da9052_bat_remove,
657657 .driver = {
658658 .name = "da9052-bat",
659− .owner = THIS_MODULE,
660659 },
661660 };
662661 module_platform_driver(da9052_bat_driver);
drivers/power/generic-adc-battery.c+0−1
@@ -414,7 +414,6 @@ static const struct dev_pm_ops gab_pm_ops = { · 413 unmodified lines
414414 static struct platform_driver gab_driver = {
415415 .driver = {
416416 .name = "generic-adc-battery",
417− .owner = THIS_MODULE,
418417 .pm = GAB_PM_OPS
419418 },
420419 .probe = gab_probe,
drivers/power/gpio-charger.c+0−1
@@ -194,7 +194,6 @@ static struct platform_driver gpio_charger_driver = { · 193 unmodified lines
194194 .remove = gpio_charger_remove,
195195 .driver = {
196196 .name = "gpio-charger",
197− .owner = THIS_MODULE,
198197 .pm = &gpio_charger_pm_ops,
199198 },
200199 };
drivers/power/intel_mid_battery.c+0−1
@@ -773,7 +773,6 @@ static int platform_pmic_battery_remove(struct platform_device *pdev) · 772 unmodified lines
773773 static struct platform_driver platform_pmic_battery_driver = {
774774 .driver = {
775775 .name = DRIVER_NAME,
776− .owner = THIS_MODULE,
777776 },
778777 .probe = platform_pmic_battery_probe,
779778 .remove = platform_pmic_battery_remove,
drivers/power/jz4740-battery.c+0−1
@@ -406,7 +406,6 @@ static struct platform_driver jz_battery_driver = { · 405 unmodified lines
406406 .remove = jz_battery_remove,
407407 .driver = {
408408 .name = "jz4740-battery",
409− .owner = THIS_MODULE,
410409 .pm = JZ_BATTERY_PM_OPS,
411410 },
412411 };
drivers/power/lp8788-charger.c+0−1
@@ -740,7 +740,6 @@ static struct platform_driver lp8788_charger_driver = { · 739 unmodified lines
740740 .remove = lp8788_charger_remove,
741741 .driver = {
742742 .name = LP8788_DEV_CHARGER,
743− .owner = THIS_MODULE,
744743 },
745744 };
746745 module_platform_driver(lp8788_charger_driver);
drivers/power/max14577_charger.c+0−1
@@ -599,7 +599,6 @@ MODULE_DEVICE_TABLE(platform, max14577_charger_id); · 598 unmodified lines
599599
600600 static struct platform_driver max14577_charger_driver = {
601601 .driver = {
602− .owner = THIS_MODULE,
603602 .name = "max14577-charger",
604603 },
605604 .probe = max14577_charger_probe,
drivers/power/max8903_charger.c+0−1
@@ -368,7 +368,6 @@ static struct platform_driver max8903_driver = { · 367 unmodified lines
368368 .remove = max8903_remove,
369369 .driver = {
370370 .name = "max8903-charger",
371− .owner = THIS_MODULE,
372371 },
373372 };
374373
drivers/power/max8997_charger.c+0−1
@@ -181,7 +181,6 @@ static const struct platform_device_id max8997_battery_id[] = { · 180 unmodified lines
181181 static struct platform_driver max8997_battery_driver = {
182182 .driver = {
183183 .name = "max8997-battery",
184− .owner = THIS_MODULE,
185184 },
186185 .probe = max8997_battery_probe,
187186 .remove = max8997_battery_remove,
drivers/power/max8998_charger.c+0−1
@@ -195,7 +195,6 @@ static const struct platform_device_id max8998_battery_id[] = { · 194 unmodified lines
195195 static struct platform_driver max8998_battery_driver = {
196196 .driver = {
197197 .name = "max8998-battery",
198− .owner = THIS_MODULE,
199198 },
200199 .probe = max8998_battery_probe,
201200 .remove = max8998_battery_remove,
drivers/power/olpc_battery.c+0−1
@@ -677,7 +677,6 @@ MODULE_DEVICE_TABLE(of, olpc_battery_ids); · 676 unmodified lines
677677 static struct platform_driver olpc_battery_driver = {
678678 .driver = {
679679 .name = "olpc-battery",
680− .owner = THIS_MODULE,
681680 .of_match_table = olpc_battery_ids,
682681 },
683682 .probe = olpc_battery_probe,
drivers/power/reset/as3722-poweroff.c+0−1
@@ -82,7 +82,6 @@ static int as3722_poweroff_remove(struct platform_device *pdev) · 81 unmodified lines
8282 static struct platform_driver as3722_poweroff_driver = {
8383 .driver = {
8484 .name = "as3722-power-off",
85− .owner = THIS_MODULE,
8685 },
8786 .probe = as3722_poweroff_probe,
8887 .remove = as3722_poweroff_remove,
drivers/power/reset/brcmstb-reboot.c+0−1
@@ -107,7 +107,6 @@ static struct platform_driver brcmstb_reboot_driver = { · 106 unmodified lines
107107 .probe = brcmstb_reboot_probe,
108108 .driver = {
109109 .name = "brcmstb-reboot",
110− .owner = THIS_MODULE,
111110 .of_match_table = of_match,
112111 },
113112 };
drivers/power/reset/gpio-poweroff.c+0−1
@@ -99,7 +99,6 @@ static struct platform_driver gpio_poweroff_driver = { · 98 unmodified lines
9999 .remove = gpio_poweroff_remove,
100100 .driver = {
101101 .name = "poweroff-gpio",
102− .owner = THIS_MODULE,
103102 .of_match_table = of_gpio_poweroff_match,
104103 },
105104 };
drivers/power/reset/gpio-restart.c+0−1
@@ -137,7 +137,6 @@ static struct platform_driver gpio_restart_driver = { · 136 unmodified lines
137137 .remove = gpio_restart_remove,
138138 .driver = {
139139 .name = "restart-gpio",
140− .owner = THIS_MODULE,
141140 .of_match_table = of_gpio_restart_match,
142141 },
143142 };
drivers/power/reset/keystone-reset.c+0−1
@@ -153,7 +153,6 @@ static int rsctrl_probe(struct platform_device *pdev) · 152 unmodified lines
153153 static struct platform_driver rsctrl_driver = {
154154 .probe = rsctrl_probe,
155155 .driver = {
156− .owner = THIS_MODULE,
157156 .name = KBUILD_MODNAME,
158157 .of_match_table = rsctrl_of_match,
159158 },
drivers/power/reset/ltc2952-poweroff.c+0−1
@@ -342,7 +342,6 @@ static struct platform_driver ltc2952_poweroff_driver = { · 341 unmodified lines
342342 .remove = ltc2952_poweroff_remove,
343343 .driver = {
344344 .name = "ltc2952-poweroff",
345− .owner = THIS_MODULE,
346345 .of_match_table = of_ltc2952_poweroff_match,
347346 },
348347 .suspend = ltc2952_poweroff_suspend,
drivers/power/reset/qnap-poweroff.c+0−1
@@ -129,7 +129,6 @@ static struct platform_driver qnap_power_off_driver = { · 128 unmodified lines
129129 .probe = qnap_power_off_probe,
130130 .remove = qnap_power_off_remove,
131131 .driver = {
132− .owner = THIS_MODULE,
133132 .name = "qnap_power_off",
134133 .of_match_table = of_match_ptr(qnap_power_off_of_match_table),
135134 },
drivers/power/reset/restart-poweroff.c+0−1
@@ -55,7 +55,6 @@ static struct platform_driver restart_poweroff_driver = { · 54 unmodified lines
5555 .remove = restart_poweroff_remove,
5656 .driver = {
5757 .name = "poweroff-restart",
58− .owner = THIS_MODULE,
5958 .of_match_table = of_restart_poweroff_match,
6059 },
6160 };
drivers/power/rx51_battery.c+0−1
@@ -281,7 +281,6 @@ static struct platform_driver rx51_battery_driver = { · 280 unmodified lines
281281 .remove = rx51_battery_remove,
282282 .driver = {
283283 .name = "rx51-battery",
284− .owner = THIS_MODULE,
285284 .of_match_table = of_match_ptr(n900_battery_of_match),
286285 },
287286 };
drivers/power/tps65090-charger.c+0−1
@@ -353,7 +353,6 @@ static struct platform_driver tps65090_charger_driver = { · 352 unmodified lines
353353 .driver = {
354354 .name = "tps65090-charger",
355355 .of_match_table = of_tps65090_charger_match,
356− .owner = THIS_MODULE,
357356 },
358357 .probe = tps65090_charger_probe,
359358 .remove = tps65090_charger_remove,
drivers/power/twl4030_charger.c+0−1
@@ -716,7 +716,6 @@ MODULE_DEVICE_TABLE(of, twl_bci_of_match); · 715 unmodified lines
716716 static struct platform_driver twl4030_bci_driver = {
717717 .driver = {
718718 .name = "twl4030_bci",
719− .owner = THIS_MODULE,
720719 .of_match_table = of_match_ptr(twl_bci_of_match),
721720 },
722721 .remove = __exit_p(twl4030_bci_remove),
drivers/power/wm97xx_battery.c+0−1
@@ -281,7 +281,6 @@ static int wm97xx_bat_remove(struct platform_device *dev) · 280 unmodified lines
281281 static struct platform_driver wm97xx_bat_driver = {
282282 .driver = {
283283 .name = "wm97xx-battery",
284− .owner = THIS_MODULE,
285284 #ifdef CONFIG_PM
286285 .pm = &wm97xx_bat_pm_ops,
287286 #endif
drivers/pps/clients/pps-gpio.c+0−1
@@ -200,7 +200,6 @@ static struct platform_driver pps_gpio_driver = { · 199 unmodified lines
200200 .remove = pps_gpio_remove,
201201 .driver = {
202202 .name = PPS_GPIO_NAME,
203− .owner = THIS_MODULE,
204203 .of_match_table = pps_gpio_dt_ids,
205204 },
206205 };
drivers/pwm/pwm-ab8500.c+0−1
@@ -131,7 +131,6 @@ static int ab8500_pwm_remove(struct platform_device *pdev) · 130 unmodified lines
131131 static struct platform_driver ab8500_pwm_driver = {
132132 .driver = {
133133 .name = "ab8500-pwm",
134− .owner = THIS_MODULE,
135134 },
136135 .probe = ab8500_pwm_probe,
137136 .remove = ab8500_pwm_remove,
drivers/pwm/pwm-atmel-tcb.c+0−1
@@ -436,7 +436,6 @@ MODULE_DEVICE_TABLE(of, atmel_tcb_pwm_dt_ids); · 435 unmodified lines
436436 static struct platform_driver atmel_tcb_pwm_driver = {
437437 .driver = {
438438 .name = "atmel-tcb-pwm",
439− .owner = THIS_MODULE,
440439 .of_match_table = atmel_tcb_pwm_dt_ids,
441440 },
442441 .probe = atmel_tcb_pwm_probe,
drivers/pwm/pwm-bfin.c+0−1
@@ -149,7 +149,6 @@ static int bfin_pwm_remove(struct platform_device *pdev) · 148 unmodified lines
149149 static struct platform_driver bfin_pwm_driver = {
150150 .driver = {
151151 .name = "bfin-pwm",
152− .owner = THIS_MODULE,
153152 },
154153 .probe = bfin_pwm_probe,
155154 .remove = bfin_pwm_remove,
drivers/pwm/pwm-clps711x.c+0−1
@@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(of, clps711x_pwm_dt_ids); · 162 unmodified lines
163163 static struct platform_driver clps711x_pwm_driver = {
164164 .driver = {
165165 .name = "clps711x-pwm",
166− .owner = THIS_MODULE,
167166 .of_match_table = of_match_ptr(clps711x_pwm_dt_ids),
168167 },
169168 .probe = clps711x_pwm_probe,
drivers/pwm/pwm-imx.c+0−1
@@ -336,7 +336,6 @@ static int imx_pwm_remove(struct platform_device *pdev) · 335 unmodified lines
336336 static struct platform_driver imx_pwm_driver = {
337337 .driver = {
338338 .name = "imx-pwm",
339− .owner = THIS_MODULE,
340339 .of_match_table = imx_pwm_dt_ids,
341340 },
342341 .probe = imx_pwm_probe,
drivers/pwm/pwm-jz4740.c+0−1
@@ -194,7 +194,6 @@ static int jz4740_pwm_remove(struct platform_device *pdev) · 193 unmodified lines
194194 static struct platform_driver jz4740_pwm_driver = {
195195 .driver = {
196196 .name = "jz4740-pwm",
197− .owner = THIS_MODULE,
198197 },
199198 .probe = jz4740_pwm_probe,
200199 .remove = jz4740_pwm_remove,
drivers/pwm/pwm-lp3943.c+0−1
@@ -305,7 +305,6 @@ static struct platform_driver lp3943_pwm_driver = { · 304 unmodified lines
305305 .remove = lp3943_pwm_remove,
306306 .driver = {
307307 .name = "lp3943-pwm",
308− .owner = THIS_MODULE,
309308 .of_match_table = of_match_ptr(lp3943_pwm_of_match),
310309 },
311310 };
drivers/pwm/pwm-lpc32xx.c+0−1
@@ -168,7 +168,6 @@ MODULE_DEVICE_TABLE(of, lpc32xx_pwm_dt_ids); · 167 unmodified lines
168168 static struct platform_driver lpc32xx_pwm_driver = {
169169 .driver = {
170170 .name = "lpc32xx-pwm",
171− .owner = THIS_MODULE,
172171 .of_match_table = lpc32xx_pwm_dt_ids,
173172 },
174173 .probe = lpc32xx_pwm_probe,
drivers/pwm/pwm-mxs.c+0−1
@@ -189,7 +189,6 @@ MODULE_DEVICE_TABLE(of, mxs_pwm_dt_ids); · 188 unmodified lines
189189 static struct platform_driver mxs_pwm_driver = {
190190 .driver = {
191191 .name = "mxs-pwm",
192− .owner = THIS_MODULE,
193192 .of_match_table = mxs_pwm_dt_ids,
194193 },
195194 .probe = mxs_pwm_probe,
drivers/pwm/pwm-puv3.c+0−1
@@ -146,7 +146,6 @@ static int pwm_remove(struct platform_device *pdev) · 145 unmodified lines
146146 static struct platform_driver puv3_pwm_driver = {
147147 .driver = {
148148 .name = "PKUnity-v3-PWM",
149− .owner = THIS_MODULE,
150149 },
151150 .probe = pwm_probe,
152151 .remove = pwm_remove,
drivers/pwm/pwm-pxa.c+0−1
@@ -225,7 +225,6 @@ static int pwm_remove(struct platform_device *pdev) · 224 unmodified lines
225225 static struct platform_driver pwm_driver = {
226226 .driver = {
227227 .name = "pxa25x-pwm",
228− .owner = THIS_MODULE,
229228 .of_match_table = pwm_of_match,
230229 },
231230 .probe = pwm_probe,
drivers/pwm/pwm-renesas-tpu.c+0−1
@@ -468,7 +468,6 @@ static struct platform_driver tpu_driver = { · 467 unmodified lines
468468 .remove = tpu_remove,
469469 .driver = {
470470 .name = "renesas-tpu-pwm",
471− .owner = THIS_MODULE,
472471 .of_match_table = of_match_ptr(tpu_of_table),
473472 }
474473 };
drivers/pwm/pwm-samsung.c+0−1
@@ -601,7 +601,6 @@ static SIMPLE_DEV_PM_OPS(pwm_samsung_pm_ops, pwm_samsung_suspend, · 600 unmodified lines
601601 static struct platform_driver pwm_samsung_driver = {
602602 .driver = {
603603 .name = "samsung-pwm",
604− .owner = THIS_MODULE,
605604 .pm = &pwm_samsung_pm_ops,
606605 .of_match_table = of_match_ptr(samsung_pwm_matches),
607606 },
drivers/pwm/pwm-spear.c+0−1
@@ -252,7 +252,6 @@ MODULE_DEVICE_TABLE(of, spear_pwm_of_match); · 251 unmodified lines
252252 static struct platform_driver spear_pwm_driver = {
253253 .driver = {
254254 .name = "spear-pwm",
255− .owner = THIS_MODULE,
256255 .of_match_table = spear_pwm_of_match,
257256 },
258257 .probe = spear_pwm_probe,
drivers/pwm/pwm-tegra.c+0−1
@@ -237,7 +237,6 @@ MODULE_DEVICE_TABLE(of, tegra_pwm_of_match); · 236 unmodified lines
237237 static struct platform_driver tegra_pwm_driver = {
238238 .driver = {
239239 .name = "tegra-pwm",
240− .owner = THIS_MODULE,
241240 .of_match_table = tegra_pwm_of_match,
242241 },
243242 .probe = tegra_pwm_probe,
drivers/pwm/pwm-tiecap.c+0−1
@@ -331,7 +331,6 @@ static SIMPLE_DEV_PM_OPS(ecap_pwm_pm_ops, ecap_pwm_suspend, ecap_pwm_resume); · 330 unmodified lines
331331 static struct platform_driver ecap_pwm_driver = {
332332 .driver = {
333333 .name = "ecap",
334− .owner = THIS_MODULE,
335334 .of_match_table = ecap_of_match,
336335 .pm = &ecap_pwm_pm_ops,
337336 },
drivers/pwm/pwm-tiehrpwm.c+0−1
@@ -599,7 +599,6 @@ static SIMPLE_DEV_PM_OPS(ehrpwm_pwm_pm_ops, ehrpwm_pwm_suspend, · 598 unmodified lines
599599 static struct platform_driver ehrpwm_pwm_driver = {
600600 .driver = {
601601 .name = "ehrpwm",
602− .owner = THIS_MODULE,
603602 .of_match_table = ehrpwm_of_match,
604603 .pm = &ehrpwm_pwm_pm_ops,
605604 },
drivers/pwm/pwm-tipwmss.c+0−1
@@ -119,7 +119,6 @@ static SIMPLE_DEV_PM_OPS(pwmss_pm_ops, pwmss_suspend, pwmss_resume); · 118 unmodified lines
119119 static struct platform_driver pwmss_driver = {
120120 .driver = {
121121 .name = "pwmss",
122− .owner = THIS_MODULE,
123122 .pm = &pwmss_pm_ops,
124123 .of_match_table = pwmss_of_match,
125124 },
drivers/pwm/pwm-vt8500.c+0−1
@@ -266,7 +266,6 @@ static struct platform_driver vt8500_pwm_driver = { · 265 unmodified lines
266266 .remove = vt8500_pwm_remove,
267267 .driver = {
268268 .name = "vt8500-pwm",
269− .owner = THIS_MODULE,
270269 .of_match_table = vt8500_pwm_dt_ids,
271270 },
272271 };
drivers/regulator/88pm800.c+0−1
@@ -362,7 +362,6 @@ static int pm800_regulator_remove(struct platform_device *pdev) · 361 unmodified lines
362362 static struct platform_driver pm800_regulator_driver = {
363363 .driver = {
364364 .name = "88pm80x-regulator",
365− .owner = THIS_MODULE,
366365 },
367366 .probe = pm800_regulator_probe,
368367 .remove = pm800_regulator_remove,
drivers/regulator/88pm8607.c+0−1
@@ -419,7 +419,6 @@ MODULE_DEVICE_TABLE(platform, pm8607_regulator_driver_ids); · 418 unmodified lines
419419 static struct platform_driver pm8607_regulator_driver = {
420420 .driver = {
421421 .name = "88pm860x-regulator",
422− .owner = THIS_MODULE,
423422 },
424423 .probe = pm8607_regulator_probe,
425424 .id_table = pm8607_regulator_driver_ids,
drivers/regulator/aat2870-regulator.c+0−1
@@ -191,7 +191,6 @@ static int aat2870_regulator_probe(struct platform_device *pdev) · 190 unmodified lines
191191 static struct platform_driver aat2870_regulator_driver = {
192192 .driver = {
193193 .name = "aat2870-regulator",
194− .owner = THIS_MODULE,
195194 },
196195 .probe = aat2870_regulator_probe,
197196 };
drivers/regulator/ab3100.c+0−1
@@ -721,7 +721,6 @@ static int ab3100_regulators_probe(struct platform_device *pdev) · 720 unmodified lines
721721 static struct platform_driver ab3100_regulators_driver = {
722722 .driver = {
723723 .name = "ab3100-regulators",
724− .owner = THIS_MODULE,
725724 },
726725 .probe = ab3100_regulators_probe,
727726 .remove = ab3100_regulators_remove,
drivers/regulator/ab8500-ext.c+0−1
@@ -433,7 +433,6 @@ static struct platform_driver ab8500_ext_regulator_driver = { · 432 unmodified lines
433433 .probe = ab8500_ext_regulator_probe,
434434 .driver = {
435435 .name = "ab8500-ext-regulator",
436− .owner = THIS_MODULE,
437436 },
438437 };
439438
drivers/regulator/ab8500.c+0−1
@@ -3075,7 +3075,6 @@ static struct platform_driver ab8500_regulator_driver = { · 3074 unmodified lines
30753075 .probe = ab8500_regulator_probe,
30763076 .driver = {
30773077 .name = "ab8500-regulator",
3078− .owner = THIS_MODULE,
30793078 },
30803079 };
30813080
drivers/regulator/anatop-regulator.c+0−1
@@ -322,7 +322,6 @@ static const struct of_device_id of_anatop_regulator_match_tbl[] = { · 321 unmodified lines
322322 static struct platform_driver anatop_regulator_driver = {
323323 .driver = {
324324 .name = "anatop_regulator",
325− .owner = THIS_MODULE,
326325 .of_match_table = of_anatop_regulator_match_tbl,
327326 },
328327 .probe = anatop_regulator_probe,
drivers/regulator/arizona-ldo1.c+0−1
@@ -300,7 +300,6 @@ static struct platform_driver arizona_ldo1_driver = { · 299 unmodified lines
300300 .probe = arizona_ldo1_probe,
301301 .driver = {
302302 .name = "arizona-ldo1",
303− .owner = THIS_MODULE,
304303 },
305304 };
306305
drivers/regulator/arizona-micsupp.c+0−1
@@ -302,7 +302,6 @@ static struct platform_driver arizona_micsupp_driver = { · 301 unmodified lines
302302 .probe = arizona_micsupp_probe,
303303 .driver = {
304304 .name = "arizona-micsupp",
305− .owner = THIS_MODULE,
306305 },
307306 };
308307
drivers/regulator/as3711-regulator.c+0−1
@@ -267,7 +267,6 @@ static int as3711_regulator_probe(struct platform_device *pdev) · 266 unmodified lines
267267 static struct platform_driver as3711_regulator_driver = {
268268 .driver = {
269269 .name = "as3711-regulator",
270− .owner = THIS_MODULE,
271270 },
272271 .probe = as3711_regulator_probe,
273272 };
drivers/regulator/as3722-regulator.c+0−1
@@ -916,7 +916,6 @@ MODULE_DEVICE_TABLE(of, of_as3722_regulator_match); · 915 unmodified lines
916916 static struct platform_driver as3722_regulator_driver = {
917917 .driver = {
918918 .name = "as3722-regulator",
919− .owner = THIS_MODULE,
920919 .of_match_table = of_as3722_regulator_match,
921920 },
922921 .probe = as3722_regulator_probe,
drivers/regulator/axp20x-regulator.c+0−1
@@ -275,7 +275,6 @@ static struct platform_driver axp20x_regulator_driver = { · 274 unmodified lines
275275 .probe = axp20x_regulator_probe,
276276 .driver = {
277277 .name = "axp20x-regulator",
278− .owner = THIS_MODULE,
279278 },
280279 };
281280
drivers/regulator/bcm590xx-regulator.c+0−1
@@ -453,7 +453,6 @@ static int bcm590xx_probe(struct platform_device *pdev) · 452 unmodified lines
453453 static struct platform_driver bcm590xx_regulator_driver = {
454454 .driver = {
455455 .name = "bcm590xx-vregs",
456− .owner = THIS_MODULE,
457456 },
458457 .probe = bcm590xx_probe,
459458 };
drivers/regulator/da903x.c+0−1
@@ -475,7 +475,6 @@ static int da903x_regulator_probe(struct platform_device *pdev) · 474 unmodified lines
475475 static struct platform_driver da903x_regulator_driver = {
476476 .driver = {
477477 .name = "da903x-regulator",
478− .owner = THIS_MODULE,
479478 },
480479 .probe = da903x_regulator_probe,
481480 };
drivers/regulator/da9052-regulator.c+0−1
@@ -464,7 +464,6 @@ static struct platform_driver da9052_regulator_driver = { · 463 unmodified lines
464464 .probe = da9052_regulator_probe,
465465 .driver = {
466466 .name = "da9052-regulator",
467− .owner = THIS_MODULE,
468467 },
469468 };
470469
drivers/regulator/da9055-regulator.c+0−1
@@ -665,7 +665,6 @@ static struct platform_driver da9055_regulator_driver = { · 664 unmodified lines
665665 .probe = da9055_regulator_probe,
666666 .driver = {
667667 .name = "da9055-regulator",
668− .owner = THIS_MODULE,
669668 },
670669 };
671670
drivers/regulator/da9063-regulator.c+0−1
@@ -893,7 +893,6 @@ static int da9063_regulator_remove(struct platform_device *pdev) · 892 unmodified lines
893893 static struct platform_driver da9063_regulator_driver = {
894894 .driver = {
895895 .name = DA9063_DRVNAME_REGULATORS,
896− .owner = THIS_MODULE,
897896 },
898897 .probe = da9063_regulator_probe,
899898 .remove = da9063_regulator_remove,
drivers/regulator/db8500-prcmu.c+0−1
@@ -534,7 +534,6 @@ static int db8500_regulator_remove(struct platform_device *pdev) · 533 unmodified lines
534534 static struct platform_driver db8500_regulator_driver = {
535535 .driver = {
536536 .name = "db8500-prcmu-regulators",
537− .owner = THIS_MODULE,
538537 },
539538 .probe = db8500_regulator_probe,
540539 .remove = db8500_regulator_remove,
drivers/regulator/dummy.c+0−1
@@ -63,7 +63,6 @@ static struct platform_driver dummy_regulator_driver = { · 62 unmodified lines
6363 .probe = dummy_regulator_probe,
6464 .driver = {
6565 .name = "reg-dummy",
66− .owner = THIS_MODULE,
6766 },
6867 };
6968
drivers/regulator/fixed.c+0−1
@@ -213,7 +213,6 @@ static struct platform_driver regulator_fixed_voltage_driver = { · 212 unmodified lines
213213 .probe = reg_fixed_voltage_probe,
214214 .driver = {
215215 .name = "reg-fixed-voltage",
216− .owner = THIS_MODULE,
217216 .of_match_table = of_match_ptr(fixed_of_match),
218217 },
219218 };
drivers/regulator/gpio-regulator.c+0−1
@@ -401,7 +401,6 @@ static struct platform_driver gpio_regulator_driver = { · 400 unmodified lines
401401 .remove = gpio_regulator_remove,
402402 .driver = {
403403 .name = "gpio-regulator",
404− .owner = THIS_MODULE,
405404 .of_match_table = of_match_ptr(regulator_gpio_of_match),
406405 },
407406 };
drivers/regulator/hi6421-regulator.c+0−1
@@ -623,7 +623,6 @@ static int hi6421_regulator_probe(struct platform_device *pdev) · 622 unmodified lines
623623 static struct platform_driver hi6421_regulator_driver = {
624624 .driver = {
625625 .name = "hi6421-regulator",
626− .owner = THIS_MODULE,
627626 },
628627 .probe = hi6421_regulator_probe,
629628 };
drivers/regulator/lp8788-buck.c+0−1
@@ -533,7 +533,6 @@ static struct platform_driver lp8788_buck_driver = { · 532 unmodified lines
533533 .probe = lp8788_buck_probe,
534534 .driver = {
535535 .name = LP8788_DEV_BUCK,
536− .owner = THIS_MODULE,
537536 },
538537 };
539538
drivers/regulator/lp8788-ldo.c+0−2
@@ -561,7 +561,6 @@ static struct platform_driver lp8788_dldo_driver = { · 560 unmodified lines
561561 .probe = lp8788_dldo_probe,
562562 .driver = {
563563 .name = LP8788_DEV_DLDO,
564− .owner = THIS_MODULE,
565564 },
566565 };
567566
@@ -611,7 +610,6 @@ static struct platform_driver lp8788_aldo_driver = { · 43 unmodified lines
611610 .probe = lp8788_aldo_probe,
612611 .driver = {
613612 .name = LP8788_DEV_ALDO,
614− .owner = THIS_MODULE,
615613 },
616614 };
617615
drivers/regulator/max14577.c+0−1
@@ -371,7 +371,6 @@ MODULE_DEVICE_TABLE(platform, max14577_regulator_id); · 370 unmodified lines
371371
372372 static struct platform_driver max14577_regulator_driver = {
373373 .driver = {
374− .owner = THIS_MODULE,
375374 .name = "max14577-regulator",
376375 },
377376 .probe = max14577_regulator_probe,
drivers/regulator/max77686.c+0−1
@@ -488,7 +488,6 @@ MODULE_DEVICE_TABLE(platform, max77686_pmic_id); · 487 unmodified lines
488488 static struct platform_driver max77686_pmic_driver = {
489489 .driver = {
490490 .name = "max77686-pmic",
491− .owner = THIS_MODULE,
492491 },
493492 .probe = max77686_pmic_probe,
494493 .id_table = max77686_pmic_id,
drivers/regulator/max77693.c+0−1
@@ -267,7 +267,6 @@ MODULE_DEVICE_TABLE(platform, max77693_pmic_id); · 266 unmodified lines
267267 static struct platform_driver max77693_pmic_driver = {
268268 .driver = {
269269 .name = "max77693-pmic",
270− .owner = THIS_MODULE,
271270 },
272271 .probe = max77693_pmic_probe,
273272 .id_table = max77693_pmic_id,
drivers/regulator/max77802.c+0−1
@@ -597,7 +597,6 @@ MODULE_DEVICE_TABLE(platform, max77802_pmic_id); · 596 unmodified lines
597597 static struct platform_driver max77802_pmic_driver = {
598598 .driver = {
599599 .name = "max77802-pmic",
600− .owner = THIS_MODULE,
601600 },
602601 .probe = max77802_pmic_probe,
603602 .id_table = max77802_pmic_id,
drivers/regulator/max8907-regulator.c+0−1
@@ -366,7 +366,6 @@ static int max8907_regulator_probe(struct platform_device *pdev) · 365 unmodified lines
366366 static struct platform_driver max8907_regulator_driver = {
367367 .driver = {
368368 .name = "max8907-regulator",
369− .owner = THIS_MODULE,
370369 },
371370 .probe = max8907_regulator_probe,
372371 };
drivers/regulator/max8925-regulator.c+0−1
@@ -324,7 +324,6 @@ static int max8925_regulator_probe(struct platform_device *pdev) · 323 unmodified lines
324324 static struct platform_driver max8925_regulator_driver = {
325325 .driver = {
326326 .name = "max8925-regulator",
327− .owner = THIS_MODULE,
328327 },
329328 .probe = max8925_regulator_probe,
330329 };
drivers/regulator/max8997.c+0−1
@@ -1219,7 +1219,6 @@ MODULE_DEVICE_TABLE(platform, max8997_pmic_id); · 1218 unmodified lines
12191219 static struct platform_driver max8997_pmic_driver = {
12201220 .driver = {
12211221 .name = "max8997-pmic",
1222− .owner = THIS_MODULE,
12231222 },
12241223 .probe = max8997_pmic_probe,
12251224 .id_table = max8997_pmic_id,
drivers/regulator/max8998.c+0−1
@@ -895,7 +895,6 @@ MODULE_DEVICE_TABLE(platform, max8998_pmic_id); · 894 unmodified lines
895895 static struct platform_driver max8998_pmic_driver = {
896896 .driver = {
897897 .name = "max8998-pmic",
898− .owner = THIS_MODULE,
899898 },
900899 .probe = max8998_pmic_probe,
901900 .id_table = max8998_pmic_id,
drivers/regulator/mc13783-regulator.c+0−1
@@ -459,7 +459,6 @@ static int mc13783_regulator_probe(struct platform_device *pdev) · 458 unmodified lines
459459 static struct platform_driver mc13783_regulator_driver = {
460460 .driver = {
461461 .name = "mc13783-regulator",
462− .owner = THIS_MODULE,
463462 },
464463 .probe = mc13783_regulator_probe,
465464 };
drivers/regulator/mc13892-regulator.c+0−1
@@ -633,7 +633,6 @@ err_unlock: · 632 unmodified lines
633633 static struct platform_driver mc13892_regulator_driver = {
634634 .driver = {
635635 .name = "mc13892-regulator",
636− .owner = THIS_MODULE,
637636 },
638637 .probe = mc13892_regulator_probe,
639638 };
drivers/regulator/palmas-regulator.c+0−1
@@ -1610,7 +1610,6 @@ static struct platform_driver palmas_driver = { · 1609 unmodified lines
16101610 .driver = {
16111611 .name = "palmas-pmic",
16121612 .of_match_table = of_palmas_match_tbl,
1613− .owner = THIS_MODULE,
16141613 },
16151614 .probe = palmas_regulators_probe,
16161615 };
drivers/regulator/pbias-regulator.c+0−1
@@ -185,7 +185,6 @@ static struct platform_driver pbias_regulator_driver = { · 184 unmodified lines
185185 .probe = pbias_regulator_probe,
186186 .driver = {
187187 .name = "pbias-regulator",
188− .owner = THIS_MODULE,
189188 .of_match_table = of_match_ptr(pbias_of_match),
190189 },
191190 };
drivers/regulator/pcap-regulator.c+0−1
@@ -259,7 +259,6 @@ static int pcap_regulator_probe(struct platform_device *pdev) · 258 unmodified lines
259259 static struct platform_driver pcap_regulator_driver = {
260260 .driver = {
261261 .name = "pcap-regulator",
262− .owner = THIS_MODULE,
263262 },
264263 .probe = pcap_regulator_probe,
265264 };
drivers/regulator/pwm-regulator.c+0−1
@@ -184,7 +184,6 @@ MODULE_DEVICE_TABLE(of, pwm_of_match); · 183 unmodified lines
184184 static struct platform_driver pwm_regulator_driver = {
185185 .driver = {
186186 .name = "pwm-regulator",
187− .owner = THIS_MODULE,
188187 .of_match_table = of_match_ptr(pwm_of_match),
189188 },
190189 .probe = pwm_regulator_probe,
drivers/regulator/qcom_rpm-regulator.c+0−1
@@ -797,7 +797,6 @@ static struct platform_driver rpm_reg_driver = { · 796 unmodified lines
797797 .probe = rpm_reg_probe,
798798 .driver = {
799799 .name = "qcom_rpm_reg",
800− .owner = THIS_MODULE,
801800 .of_match_table = of_match_ptr(rpm_of_match),
802801 },
803802 };
drivers/regulator/rc5t583-regulator.c+0−1
@@ -179,7 +179,6 @@ skip_ext_pwr_config: · 178 unmodified lines
179179 static struct platform_driver rc5t583_regulator_driver = {
180180 .driver = {
181181 .name = "rc5t583-regulator",
182− .owner = THIS_MODULE,
183182 },
184183 .probe = rc5t583_regulator_probe,
185184 };
drivers/regulator/rk808-regulator.c+0−1
@@ -419,7 +419,6 @@ static struct platform_driver rk808_regulator_driver = { · 418 unmodified lines
419419 .probe = rk808_regulator_probe,
420420 .driver = {
421421 .name = "rk808-regulator",
422− .owner = THIS_MODULE,
423422 },
424423 };
425424
drivers/regulator/s2mpa01.c+0−1
@@ -405,7 +405,6 @@ MODULE_DEVICE_TABLE(platform, s2mpa01_pmic_id); · 404 unmodified lines
405405 static struct platform_driver s2mpa01_pmic_driver = {
406406 .driver = {
407407 .name = "s2mpa01-pmic",
408− .owner = THIS_MODULE,
409408 },
410409 .probe = s2mpa01_pmic_probe,
411410 .id_table = s2mpa01_pmic_id,
drivers/regulator/s2mps11.c+0−1
@@ -1033,7 +1033,6 @@ MODULE_DEVICE_TABLE(platform, s2mps11_pmic_id); · 1032 unmodified lines
10331033 static struct platform_driver s2mps11_pmic_driver = {
10341034 .driver = {
10351035 .name = "s2mps11-pmic",
1036− .owner = THIS_MODULE,
10371036 },
10381037 .probe = s2mps11_pmic_probe,
10391038 .id_table = s2mps11_pmic_id,
drivers/regulator/s5m8767.c+0−1
@@ -988,7 +988,6 @@ MODULE_DEVICE_TABLE(platform, s5m8767_pmic_id); · 987 unmodified lines
988988 static struct platform_driver s5m8767_pmic_driver = {
989989 .driver = {
990990 .name = "s5m8767-pmic",
991− .owner = THIS_MODULE,
992991 },
993992 .probe = s5m8767_pmic_probe,
994993 .id_table = s5m8767_pmic_id,
drivers/regulator/stw481x-vmmc.c+0−1
@@ -95,7 +95,6 @@ static const struct of_device_id stw481x_vmmc_match[] = { · 94 unmodified lines
9595 static struct platform_driver stw481x_vmmc_regulator_driver = {
9696 .driver = {
9797 .name = "stw481x-vmmc-regulator",
98− .owner = THIS_MODULE,
9998 .of_match_table = stw481x_vmmc_match,
10099 },
101100 .probe = stw481x_vmmc_regulator_probe,
drivers/regulator/ti-abb-regulator.c+0−1
@@ -892,7 +892,6 @@ static struct platform_driver ti_abb_driver = { · 891 unmodified lines
892892 .probe = ti_abb_probe,
893893 .driver = {
894894 .name = "ti_abb",
895− .owner = THIS_MODULE,
896895 .of_match_table = of_match_ptr(ti_abb_of_match),
897896 },
898897 };
drivers/regulator/tps6105x-regulator.c+0−1
@@ -163,7 +163,6 @@ static int tps6105x_regulator_probe(struct platform_device *pdev) · 162 unmodified lines
163163 static struct platform_driver tps6105x_regulator_driver = {
164164 .driver = {
165165 .name = "tps6105x-regulator",
166− .owner = THIS_MODULE,
167166 },
168167 .probe = tps6105x_regulator_probe,
169168 };
drivers/regulator/tps6507x-regulator.c+0−1
@@ -519,7 +519,6 @@ static int tps6507x_pmic_probe(struct platform_device *pdev) · 518 unmodified lines
519519 static struct platform_driver tps6507x_pmic_driver = {
520520 .driver = {
521521 .name = "tps6507x-pmic",
522− .owner = THIS_MODULE,
523522 },
524523 .probe = tps6507x_pmic_probe,
525524 };
drivers/regulator/tps65090-regulator.c+0−1
@@ -511,7 +511,6 @@ static int tps65090_regulator_probe(struct platform_device *pdev) · 510 unmodified lines
511511 static struct platform_driver tps65090_regulator_driver = {
512512 .driver = {
513513 .name = "tps65090-pmic",
514− .owner = THIS_MODULE,
515514 },
516515 .probe = tps65090_regulator_probe,
517516 };
drivers/regulator/tps65218-regulator.c+0−1
@@ -256,7 +256,6 @@ static int tps65218_regulator_probe(struct platform_device *pdev) · 255 unmodified lines
256256 static struct platform_driver tps65218_regulator_driver = {
257257 .driver = {
258258 .name = "tps65218-pmic",
259− .owner = THIS_MODULE,
260259 .of_match_table = tps65218_of_match,
261260 },
262261 .probe = tps65218_regulator_probe,
drivers/regulator/tps6586x-regulator.c+0−1
@@ -522,7 +522,6 @@ static int tps6586x_regulator_probe(struct platform_device *pdev) · 521 unmodified lines
522522 static struct platform_driver tps6586x_regulator_driver = {
523523 .driver = {
524524 .name = "tps6586x-regulator",
525− .owner = THIS_MODULE,
526525 },
527526 .probe = tps6586x_regulator_probe,
528527 };
drivers/regulator/tps65910-regulator.c+0−1
@@ -1245,7 +1245,6 @@ static void tps65910_shutdown(struct platform_device *pdev) · 1244 unmodified lines
12451245 static struct platform_driver tps65910_driver = {
12461246 .driver = {
12471247 .name = "tps65910-pmic",
1248− .owner = THIS_MODULE,
12491248 },
12501249 .probe = tps65910_probe,
12511250 .shutdown = tps65910_shutdown,
drivers/regulator/tps65912-regulator.c+0−1
@@ -519,7 +519,6 @@ static int tps65912_probe(struct platform_device *pdev) · 518 unmodified lines
519519 static struct platform_driver tps65912_driver = {
520520 .driver = {
521521 .name = "tps65912-pmic",
522− .owner = THIS_MODULE,
523522 },
524523 .probe = tps65912_probe,
525524 };
drivers/regulator/tps80031-regulator.c+0−1
@@ -746,7 +746,6 @@ static int tps80031_regulator_probe(struct platform_device *pdev) · 745 unmodified lines
746746 static struct platform_driver tps80031_regulator_driver = {
747747 .driver = {
748748 .name = "tps80031-pmic",
749− .owner = THIS_MODULE,
750749 },
751750 .probe = tps80031_regulator_probe,
752751 };
drivers/regulator/twl-regulator.c+0−1
@@ -1221,7 +1221,6 @@ static struct platform_driver twlreg_driver = { · 1220 unmodified lines
12211221 */
12221222 .driver = {
12231223 .name = "twl_reg",
1224− .owner = THIS_MODULE,
12251224 .of_match_table = of_match_ptr(twl_of_match),
12261225 },
12271226 };
drivers/regulator/vexpress.c+0−1
@@ -108,7 +108,6 @@ static struct platform_driver vexpress_regulator_driver = { · 107 unmodified lines
108108 .probe = vexpress_regulator_probe,
109109 .driver = {
110110 .name = DRVNAME,
111− .owner = THIS_MODULE,
112111 .of_match_table = vexpress_regulator_of_match,
113112 },
114113 };
drivers/regulator/virtual.c+0−1
@@ -338,7 +338,6 @@ static struct platform_driver regulator_virtual_consumer_driver = { · 337 unmodified lines
338338 .remove = regulator_virtual_remove,
339339 .driver = {
340340 .name = "reg-virt-consumer",
341− .owner = THIS_MODULE,
342341 },
343342 };
344343
drivers/regulator/wm831x-dcdc.c+0−4
@@ -562,7 +562,6 @@ static struct platform_driver wm831x_buckv_driver = { · 561 unmodified lines
562562 .probe = wm831x_buckv_probe,
563563 .driver = {
564564 .name = "wm831x-buckv",
565− .owner = THIS_MODULE,
566565 },
567566 };
568567
@@ -689,7 +688,6 @@ static struct platform_driver wm831x_buckp_driver = { · 120 unmodified lines
689688 .probe = wm831x_buckp_probe,
690689 .driver = {
691690 .name = "wm831x-buckp",
692− .owner = THIS_MODULE,
693691 },
694692 };
695693
@@ -804,7 +802,6 @@ static struct platform_driver wm831x_boostp_driver = { · 108 unmodified lines
804802 .probe = wm831x_boostp_probe,
805803 .driver = {
806804 .name = "wm831x-boostp",
807− .owner = THIS_MODULE,
808805 },
809806 };
810807
@@ -880,7 +877,6 @@ static struct platform_driver wm831x_epe_driver = { · 69 unmodified lines
880877 .probe = wm831x_epe_probe,
881878 .driver = {
882879 .name = "wm831x-epe",
883− .owner = THIS_MODULE,
884880 },
885881 };
886882
drivers/regulator/wm831x-isink.c+0−1
@@ -224,7 +224,6 @@ static struct platform_driver wm831x_isink_driver = { · 223 unmodified lines
224224 .probe = wm831x_isink_probe,
225225 .driver = {
226226 .name = "wm831x-isink",
227− .owner = THIS_MODULE,
228227 },
229228 };
230229
drivers/regulator/wm831x-ldo.c+0−3
@@ -307,7 +307,6 @@ static struct platform_driver wm831x_gp_ldo_driver = { · 306 unmodified lines
307307 .probe = wm831x_gp_ldo_probe,
308308 .driver = {
309309 .name = "wm831x-ldo",
310− .owner = THIS_MODULE,
311310 },
312311 };
313312
@@ -516,7 +515,6 @@ static struct platform_driver wm831x_aldo_driver = { · 202 unmodified lines
516515 .probe = wm831x_aldo_probe,
517516 .driver = {
518517 .name = "wm831x-aldo",
519− .owner = THIS_MODULE,
520518 },
521519 };
522520
@@ -650,7 +648,6 @@ static struct platform_driver wm831x_alive_ldo_driver = { · 127 unmodified lines
650648 .probe = wm831x_alive_ldo_probe,
651649 .driver = {
652650 .name = "wm831x-alive-ldo",
653− .owner = THIS_MODULE,
654651 },
655652 };
656653
drivers/regulator/wm8994-regulator.c+0−1
@@ -187,7 +187,6 @@ static struct platform_driver wm8994_ldo_driver = { · 186 unmodified lines
187187 .probe = wm8994_ldo_probe,
188188 .driver = {
189189 .name = "wm8994-ldo",
190− .owner = THIS_MODULE,
191190 },
192191 };
193192
drivers/remoteproc/da8xx_remoteproc.c+0−1
@@ -300,7 +300,6 @@ static struct platform_driver da8xx_rproc_driver = { · 299 unmodified lines
300300 .remove = da8xx_rproc_remove,
301301 .driver = {
302302 .name = "davinci-rproc",
303− .owner = THIS_MODULE,
304303 },
305304 };
306305
drivers/remoteproc/omap_remoteproc.c+0−1
@@ -231,7 +231,6 @@ static struct platform_driver omap_rproc_driver = { · 230 unmodified lines
231231 .remove = omap_rproc_remove,
232232 .driver = {
233233 .name = "omap-rproc",
234− .owner = THIS_MODULE,
235234 },
236235 };
237236
drivers/remoteproc/ste_modem_rproc.c+0−1
@@ -331,7 +331,6 @@ free_rproc: · 330 unmodified lines
331331 static struct platform_driver sproc_driver = {
332332 .driver = {
333333 .name = SPROC_MODEM_NAME,
334− .owner = THIS_MODULE,
335334 },
336335 .probe = sproc_probe,
337336 .remove = sproc_drv_remove,
drivers/reset/reset-socfpga.c+0−1
@@ -150,7 +150,6 @@ static struct platform_driver socfpga_reset_driver = { · 149 unmodified lines
150150 .remove = socfpga_reset_remove,
151151 .driver = {
152152 .name = "socfpga-reset",
153− .owner = THIS_MODULE,
154153 .of_match_table = socfpga_reset_dt_ids,
155154 },
156155 };
drivers/reset/reset-sunxi.c+0−1
@@ -179,7 +179,6 @@ static struct platform_driver sunxi_reset_driver = { · 178 unmodified lines
179179 .remove = sunxi_reset_remove,
180180 .driver = {
181181 .name = "sunxi-reset",
182− .owner = THIS_MODULE,
183182 .of_match_table = sunxi_reset_dt_ids,
184183 },
185184 };
drivers/reset/sti/reset-stih415.c+0−1
@@ -101,7 +101,6 @@ static struct platform_driver stih415_reset_driver = { · 100 unmodified lines
101101 .probe = syscfg_reset_probe,
102102 .driver = {
103103 .name = "reset-stih415",
104− .owner = THIS_MODULE,
105104 .of_match_table = stih415_reset_match,
106105 },
107106 };
drivers/reset/sti/reset-stih416.c+0−1
@@ -132,7 +132,6 @@ static struct platform_driver stih416_reset_driver = { · 131 unmodified lines
132132 .probe = syscfg_reset_probe,
133133 .driver = {
134134 .name = "reset-stih416",
135− .owner = THIS_MODULE,
136135 .of_match_table = stih416_reset_match,
137136 },
138137 };
drivers/rtc/rtc-88pm80x.c+0−1
@@ -352,7 +352,6 @@ static int pm80x_rtc_remove(struct platform_device *pdev) · 351 unmodified lines
352352 static struct platform_driver pm80x_rtc_driver = {
353353 .driver = {
354354 .name = "88pm80x-rtc",
355− .owner = THIS_MODULE,
356355 .pm = &pm80x_rtc_pm_ops,
357356 },
358357 .probe = pm80x_rtc_probe,
drivers/rtc/rtc-88pm860x.c+0−1
@@ -448,7 +448,6 @@ static SIMPLE_DEV_PM_OPS(pm860x_rtc_pm_ops, pm860x_rtc_suspend, pm860x_rtc_resum · 447 unmodified lines
448448 static struct platform_driver pm860x_rtc_driver = {
449449 .driver = {
450450 .name = "88pm860x-rtc",
451− .owner = THIS_MODULE,
452451 .pm = &pm860x_rtc_pm_ops,
453452 },
454453 .probe = pm860x_rtc_probe,
drivers/rtc/rtc-ab3100.c+0−1
@@ -243,7 +243,6 @@ static int __init ab3100_rtc_probe(struct platform_device *pdev) · 242 unmodified lines
243243 static struct platform_driver ab3100_rtc_driver = {
244244 .driver = {
245245 .name = "ab3100-rtc",
246− .owner = THIS_MODULE,
247246 },
248247 };
249248
drivers/rtc/rtc-ab8500.c+0−1
@@ -519,7 +519,6 @@ static int ab8500_rtc_remove(struct platform_device *pdev) · 518 unmodified lines
519519 static struct platform_driver ab8500_rtc_driver = {
520520 .driver = {
521521 .name = "ab8500-rtc",
522− .owner = THIS_MODULE,
523522 },
524523 .probe = ab8500_rtc_probe,
525524 .remove = ab8500_rtc_remove,
drivers/rtc/rtc-at32ap700x.c+0−1
@@ -277,7 +277,6 @@ static struct platform_driver at32_rtc_driver = { · 276 unmodified lines
277277 .remove = __exit_p(at32_rtc_remove),
278278 .driver = {
279279 .name = "at32ap700x_rtc",
280− .owner = THIS_MODULE,
281280 },
282281 };
283282
drivers/rtc/rtc-at91rm9200.c+0−1
@@ -491,7 +491,6 @@ static struct platform_driver at91_rtc_driver = { · 490 unmodified lines
491491 .shutdown = at91_rtc_shutdown,
492492 .driver = {
493493 .name = "at91_rtc",
494− .owner = THIS_MODULE,
495494 .pm = &at91_rtc_pm_ops,
496495 .of_match_table = of_match_ptr(at91_rtc_dt_ids),
497496 },
drivers/rtc/rtc-at91sam9.c+0−1
@@ -525,7 +525,6 @@ static struct platform_driver at91_rtc_driver = { · 524 unmodified lines
525525 .shutdown = at91_rtc_shutdown,
526526 .driver = {
527527 .name = "rtc-at91sam9",
528− .owner = THIS_MODULE,
529528 .pm = &at91_rtc_pm_ops,
530529 .of_match_table = of_match_ptr(at91_rtc_dt_ids),
531530 },
drivers/rtc/rtc-au1xxx.c+0−1
@@ -117,7 +117,6 @@ out_err: · 116 unmodified lines
117117 static struct platform_driver au1xrtc_driver = {
118118 .driver = {
119119 .name = "rtc-au1xxx",
120− .owner = THIS_MODULE,
121120 },
122121 };
123122
drivers/rtc/rtc-bfin.c+0−1
@@ -434,7 +434,6 @@ static SIMPLE_DEV_PM_OPS(bfin_rtc_pm_ops, bfin_rtc_suspend, bfin_rtc_resume); · 433 unmodified lines
434434 static struct platform_driver bfin_rtc_driver = {
435435 .driver = {
436436 .name = "rtc-bfin",
437− .owner = THIS_MODULE,
438437 .pm = &bfin_rtc_pm_ops,
439438 },
440439 .probe = bfin_rtc_probe,
drivers/rtc/rtc-bq4802.c+0−1
@@ -192,7 +192,6 @@ MODULE_ALIAS("platform:rtc-bq4802"); · 191 unmodified lines
192192 static struct platform_driver bq4802_driver = {
193193 .driver = {
194194 .name = "rtc-bq4802",
195− .owner = THIS_MODULE,
196195 },
197196 .probe = bq4802_probe,
198197 };
drivers/rtc/rtc-coh901331.c+0−1
@@ -267,7 +267,6 @@ static const struct of_device_id coh901331_dt_match[] = { · 266 unmodified lines
267267 static struct platform_driver coh901331_driver = {
268268 .driver = {
269269 .name = "rtc-coh901331",
270− .owner = THIS_MODULE,
271270 .pm = &coh901331_pm_ops,
272271 .of_match_table = coh901331_dt_match,
273272 },
drivers/rtc/rtc-da9052.c+0−1
@@ -265,7 +265,6 @@ static struct platform_driver da9052_rtc_driver = { · 264 unmodified lines
265265 .probe = da9052_rtc_probe,
266266 .driver = {
267267 .name = "da9052-rtc",
268− .owner = THIS_MODULE,
269268 },
270269 };
271270
drivers/rtc/rtc-da9055.c+0−1
@@ -391,7 +391,6 @@ static struct platform_driver da9055_rtc_driver = { · 390 unmodified lines
391391 .probe = da9055_rtc_probe,
392392 .driver = {
393393 .name = "da9055-rtc",
394− .owner = THIS_MODULE,
395394 .pm = &da9055_rtc_pm_ops,
396395 },
397396 };
drivers/rtc/rtc-da9063.c+0−1
@@ -341,7 +341,6 @@ static struct platform_driver da9063_rtc_driver = { · 340 unmodified lines
341341 .probe = da9063_rtc_probe,
342342 .driver = {
343343 .name = DA9063_DRVNAME_RTC,
344− .owner = THIS_MODULE,
345344 },
346345 };
347346
drivers/rtc/rtc-davinci.c+0−1
@@ -550,7 +550,6 @@ static struct platform_driver davinci_rtc_driver = { · 549 unmodified lines
550550 .remove = __exit_p(davinci_rtc_remove),
551551 .driver = {
552552 .name = "rtc_davinci",
553− .owner = THIS_MODULE,
554553 },
555554 };
556555
drivers/rtc/rtc-dm355evm.c+0−1
@@ -146,7 +146,6 @@ static int dm355evm_rtc_probe(struct platform_device *pdev) · 145 unmodified lines
146146 static struct platform_driver rtc_dm355evm_driver = {
147147 .probe = dm355evm_rtc_probe,
148148 .driver = {
149− .owner = THIS_MODULE,
150149 .name = "rtc-dm355evm",
151150 },
152151 };
drivers/rtc/rtc-ds1216.c+0−1
@@ -170,7 +170,6 @@ static int __init ds1216_rtc_probe(struct platform_device *pdev) · 169 unmodified lines
170170 static struct platform_driver ds1216_rtc_platform_driver = {
171171 .driver = {
172172 .name = "rtc-ds1216",
173− .owner = THIS_MODULE,
174173 },
175174 };
176175
drivers/rtc/rtc-ds1286.c+0−1
@@ -356,7 +356,6 @@ static int ds1286_probe(struct platform_device *pdev) · 355 unmodified lines
356356 static struct platform_driver ds1286_platform_driver = {
357357 .driver = {
358358 .name = "rtc-ds1286",
359− .owner = THIS_MODULE,
360359 },
361360 .probe = ds1286_probe,
362361 };
drivers/rtc/rtc-ds1302.c+0−1
@@ -244,7 +244,6 @@ static int __init ds1302_rtc_probe(struct platform_device *pdev) · 243 unmodified lines
244244 static struct platform_driver ds1302_platform_driver = {
245245 .driver = {
246246 .name = DRV_NAME,
247− .owner = THIS_MODULE,
248247 },
249248 };
250249
drivers/rtc/rtc-ds1511.c+0−1
@@ -561,7 +561,6 @@ static struct platform_driver ds1511_rtc_driver = { · 560 unmodified lines
561561 .remove = ds1511_rtc_remove,
562562 .driver = {
563563 .name = "ds1511",
564− .owner = THIS_MODULE,
565564 },
566565 };
567566
drivers/rtc/rtc-ds1553.c+0−1
@@ -351,7 +351,6 @@ static struct platform_driver ds1553_rtc_driver = { · 350 unmodified lines
351351 .remove = ds1553_rtc_remove,
352352 .driver = {
353353 .name = "rtc-ds1553",
354− .owner = THIS_MODULE,
355354 },
356355 };
357356
drivers/rtc/rtc-ds1742.c+0−1
@@ -230,7 +230,6 @@ static struct platform_driver ds1742_rtc_driver = { · 229 unmodified lines
230230 .remove = ds1742_rtc_remove,
231231 .driver = {
232232 .name = "rtc-ds1742",
233− .owner = THIS_MODULE,
234233 .of_match_table = of_match_ptr(ds1742_rtc_of_match),
235234 },
236235 };
drivers/rtc/rtc-ds2404.c+0−1
@@ -274,7 +274,6 @@ static struct platform_driver rtc_device_driver = { · 273 unmodified lines
274274 .remove = rtc_remove,
275275 .driver = {
276276 .name = "ds2404",
277− .owner = THIS_MODULE,
278277 },
279278 };
280279 module_platform_driver(rtc_device_driver);
drivers/rtc/rtc-efi.c+0−1
@@ -226,7 +226,6 @@ static int __init efi_rtc_probe(struct platform_device *dev) · 225 unmodified lines
226226 static struct platform_driver efi_rtc_driver = {
227227 .driver = {
228228 .name = "rtc-efi",
229− .owner = THIS_MODULE,
230229 },
231230 };
232231
drivers/rtc/rtc-ep93xx.c+0−1
@@ -174,7 +174,6 @@ static int ep93xx_rtc_remove(struct platform_device *pdev) · 173 unmodified lines
174174 static struct platform_driver ep93xx_rtc_driver = {
175175 .driver = {
176176 .name = "ep93xx-rtc",
177− .owner = THIS_MODULE,
178177 },
179178 .probe = ep93xx_rtc_probe,
180179 .remove = ep93xx_rtc_remove,
drivers/rtc/rtc-generic.c+0−1
@@ -51,7 +51,6 @@ static int __init generic_rtc_probe(struct platform_device *dev) · 50 unmodified lines
5151 static struct platform_driver generic_rtc_driver = {
5252 .driver = {
5353 .name = "rtc-generic",
54− .owner = THIS_MODULE,
5554 },
5655 };
5756
drivers/rtc/rtc-hid-sensor-time.c+0−1
@@ -331,7 +331,6 @@ static struct platform_driver hid_time_platform_driver = { · 330 unmodified lines
331331 .id_table = hid_time_ids,
332332 .driver = {
333333 .name = KBUILD_MODNAME,
334− .owner = THIS_MODULE,
335334 },
336335 .probe = hid_time_probe,
337336 .remove = hid_time_remove,
drivers/rtc/rtc-imxdi.c+0−1
@@ -499,7 +499,6 @@ MODULE_DEVICE_TABLE(of, dryice_dt_ids); · 498 unmodified lines
499499 static struct platform_driver dryice_rtc_driver = {
500500 .driver = {
501501 .name = "imxdi_rtc",
502− .owner = THIS_MODULE,
503502 .of_match_table = of_match_ptr(dryice_dt_ids),
504503 },
505504 .remove = __exit_p(dryice_rtc_remove),
drivers/rtc/rtc-jz4740.c+0−1
@@ -299,7 +299,6 @@ static struct platform_driver jz4740_rtc_driver = { · 298 unmodified lines
299299 .probe = jz4740_rtc_probe,
300300 .driver = {
301301 .name = "jz4740-rtc",
302− .owner = THIS_MODULE,
303302 .pm = JZ4740_RTC_PM_OPS,
304303 },
305304 };
drivers/rtc/rtc-lp8788.c+0−1
@@ -316,7 +316,6 @@ static struct platform_driver lp8788_rtc_driver = { · 315 unmodified lines
316316 .probe = lp8788_rtc_probe,
317317 .driver = {
318318 .name = LP8788_DEV_RTC,
319− .owner = THIS_MODULE,
320319 },
321320 };
322321 module_platform_driver(lp8788_rtc_driver);
drivers/rtc/rtc-lpc32xx.c+0−1
@@ -379,7 +379,6 @@ static struct platform_driver lpc32xx_rtc_driver = { · 378 unmodified lines
379379 .remove = lpc32xx_rtc_remove,
380380 .driver = {
381381 .name = RTC_NAME,
382− .owner = THIS_MODULE,
383382 .pm = LPC32XX_RTC_PM_OPS,
384383 .of_match_table = of_match_ptr(lpc32xx_rtc_match),
385384 },
drivers/rtc/rtc-ls1x.c+0−1
@@ -188,7 +188,6 @@ err: · 187 unmodified lines
188188 static struct platform_driver ls1x_rtc_driver = {
189189 .driver = {
190190 .name = "ls1x-rtc",
191− .owner = THIS_MODULE,
192191 },
193192 .probe = ls1x_rtc_probe,
194193 };
drivers/rtc/rtc-m48t35.c+0−1
@@ -181,7 +181,6 @@ static int m48t35_probe(struct platform_device *pdev) · 180 unmodified lines
181181 static struct platform_driver m48t35_platform_driver = {
182182 .driver = {
183183 .name = "rtc-m48t35",
184− .owner = THIS_MODULE,
185184 },
186185 .probe = m48t35_probe,
187186 };
drivers/rtc/rtc-m48t59.c+0−1
@@ -504,7 +504,6 @@ MODULE_ALIAS("platform:rtc-m48t59"); · 503 unmodified lines
504504 static struct platform_driver m48t59_rtc_driver = {
505505 .driver = {
506506 .name = "rtc-m48t59",
507− .owner = THIS_MODULE,
508507 },
509508 .probe = m48t59_rtc_probe,
510509 .remove = m48t59_rtc_remove,
drivers/rtc/rtc-m48t86.c+0−1
@@ -169,7 +169,6 @@ static int m48t86_rtc_probe(struct platform_device *dev) · 168 unmodified lines
169169 static struct platform_driver m48t86_rtc_platform_driver = {
170170 .driver = {
171171 .name = "rtc-m48t86",
172− .owner = THIS_MODULE,
173172 },
174173 .probe = m48t86_rtc_probe,
175174 };
drivers/rtc/rtc-max77686.c+0−1
@@ -513,7 +513,6 @@ static const struct platform_device_id rtc_id[] = { · 512 unmodified lines
513513 static struct platform_driver max77686_rtc_driver = {
514514 .driver = {
515515 .name = "max77686-rtc",
516− .owner = THIS_MODULE,
517516 .pm = &max77686_rtc_pm_ops,
518517 },
519518 .probe = max77686_rtc_probe,
drivers/rtc/rtc-max77802.c+0−1
@@ -488,7 +488,6 @@ static const struct platform_device_id rtc_id[] = { · 487 unmodified lines
488488 static struct platform_driver max77802_rtc_driver = {
489489 .driver = {
490490 .name = "max77802-rtc",
491− .owner = THIS_MODULE,
492491 .pm = &max77802_rtc_pm_ops,
493492 },
494493 .probe = max77802_rtc_probe,
drivers/rtc/rtc-max8907.c+0−1
@@ -215,7 +215,6 @@ static int max8907_rtc_probe(struct platform_device *pdev) · 214 unmodified lines
215215 static struct platform_driver max8907_rtc_driver = {
216216 .driver = {
217217 .name = "max8907-rtc",
218− .owner = THIS_MODULE,
219218 },
220219 .probe = max8907_rtc_probe,
221220 };
drivers/rtc/rtc-max8925.c+0−1
@@ -314,7 +314,6 @@ static SIMPLE_DEV_PM_OPS(max8925_rtc_pm_ops, max8925_rtc_suspend, max8925_rtc_re · 313 unmodified lines
314314 static struct platform_driver max8925_rtc_driver = {
315315 .driver = {
316316 .name = "max8925-rtc",
317− .owner = THIS_MODULE,
318317 .pm = &max8925_rtc_pm_ops,
319318 },
320319 .probe = max8925_rtc_probe,
drivers/rtc/rtc-max8997.c+0−1
@@ -523,7 +523,6 @@ static const struct platform_device_id rtc_id[] = { · 522 unmodified lines
523523 static struct platform_driver max8997_rtc_driver = {
524524 .driver = {
525525 .name = "max8997-rtc",
526− .owner = THIS_MODULE,
527526 },
528527 .probe = max8997_rtc_probe,
529528 .shutdown = max8997_rtc_shutdown,
drivers/rtc/rtc-max8998.c+0−1
@@ -313,7 +313,6 @@ static const struct platform_device_id max8998_rtc_id[] = { · 312 unmodified lines
313313 static struct platform_driver max8998_rtc_driver = {
314314 .driver = {
315315 .name = "max8998-rtc",
316− .owner = THIS_MODULE,
317316 },
318317 .probe = max8998_rtc_probe,
319318 .id_table = max8998_rtc_id,
drivers/rtc/rtc-mc13xxx.c+0−1
@@ -370,7 +370,6 @@ static struct platform_driver mc13xxx_rtc_driver = { · 369 unmodified lines
370370 .remove = mc13xxx_rtc_remove,
371371 .driver = {
372372 .name = DRIVER_NAME,
373− .owner = THIS_MODULE,
374373 },
375374 };
376375
drivers/rtc/rtc-moxart.c+0−1
@@ -317,7 +317,6 @@ static struct platform_driver moxart_rtc_driver = { · 316 unmodified lines
317317 .probe = moxart_rtc_probe,
318318 .driver = {
319319 .name = "moxart-rtc",
320− .owner = THIS_MODULE,
321320 .of_match_table = moxart_rtc_match,
322321 },
323322 };
drivers/rtc/rtc-mpc5121.c+0−1
@@ -411,7 +411,6 @@ static const struct of_device_id mpc5121_rtc_match[] = { · 410 unmodified lines
411411 static struct platform_driver mpc5121_rtc_driver = {
412412 .driver = {
413413 .name = "mpc5121-rtc",
414− .owner = THIS_MODULE,
415414 .of_match_table = of_match_ptr(mpc5121_rtc_match),
416415 },
417416 .probe = mpc5121_rtc_probe,
drivers/rtc/rtc-msm6242.c+0−1
@@ -225,7 +225,6 @@ static int __init msm6242_rtc_probe(struct platform_device *pdev) · 224 unmodified lines
225225 static struct platform_driver msm6242_rtc_driver = {
226226 .driver = {
227227 .name = "rtc-msm6242",
228− .owner = THIS_MODULE,
229228 },
230229 };
231230
drivers/rtc/rtc-mv.c+0−1
@@ -329,7 +329,6 @@ static struct platform_driver mv_rtc_driver = { · 328 unmodified lines
329329 .remove = __exit_p(mv_rtc_remove),
330330 .driver = {
331331 .name = "rtc-mv",
332− .owner = THIS_MODULE,
333332 .of_match_table = of_match_ptr(rtc_mv_of_match_table),
334333 },
335334 };
drivers/rtc/rtc-mxc.c+0−1
@@ -489,7 +489,6 @@ static struct platform_driver mxc_rtc_driver = { · 488 unmodified lines
489489 .driver = {
490490 .name = "mxc_rtc",
491491 .pm = &mxc_rtc_pm_ops,
492− .owner = THIS_MODULE,
493492 },
494493 .id_table = imx_rtc_devtype,
495494 .probe = mxc_rtc_probe,
drivers/rtc/rtc-nuc900.c+0−1
@@ -262,7 +262,6 @@ static int __init nuc900_rtc_probe(struct platform_device *pdev) · 261 unmodified lines
262262 static struct platform_driver nuc900_rtc_driver = {
263263 .driver = {
264264 .name = "nuc900-rtc",
265− .owner = THIS_MODULE,
266265 },
267266 };
268267
drivers/rtc/rtc-omap.c+0−1
@@ -719,7 +719,6 @@ static struct platform_driver omap_rtc_driver = { · 718 unmodified lines
719719 .shutdown = omap_rtc_shutdown,
720720 .driver = {
721721 .name = "omap_rtc",
722− .owner = THIS_MODULE,
723722 .pm = &omap_rtc_pm_ops,
724723 .of_match_table = omap_rtc_of_match,
725724 },
drivers/rtc/rtc-palmas.c+0−1
@@ -363,7 +363,6 @@ static struct platform_driver palmas_rtc_driver = { · 362 unmodified lines
363363 .probe = palmas_rtc_probe,
364364 .remove = palmas_rtc_remove,
365365 .driver = {
366− .owner = THIS_MODULE,
367366 .name = "palmas-rtc",
368367 .pm = &palmas_rtc_pm_ops,
369368 .of_match_table = of_match_ptr(of_palmas_rtc_match),
drivers/rtc/rtc-pcap.c+0−1
@@ -184,7 +184,6 @@ static struct platform_driver pcap_rtc_driver = { · 183 unmodified lines
184184 .remove = __exit_p(pcap_rtc_remove),
185185 .driver = {
186186 .name = "pcap-rtc",
187− .owner = THIS_MODULE,
188187 },
189188 };
190189
drivers/rtc/rtc-pm8xxx.c+0−1
@@ -531,7 +531,6 @@ static struct platform_driver pm8xxx_rtc_driver = { · 530 unmodified lines
531531 .probe = pm8xxx_rtc_probe,
532532 .driver = {
533533 .name = "rtc-pm8xxx",
534− .owner = THIS_MODULE,
535534 .pm = &pm8xxx_rtc_pm_ops,
536535 .of_match_table = pm8xxx_id_table,
537536 },
drivers/rtc/rtc-ps3.c+0−1
@@ -74,7 +74,6 @@ static int __init ps3_rtc_probe(struct platform_device *dev) · 73 unmodified lines
7474 static struct platform_driver ps3_rtc_driver = {
7575 .driver = {
7676 .name = "rtc-ps3",
77− .owner = THIS_MODULE,
7877 },
7978 };
8079
drivers/rtc/rtc-puv3.c+0−1
@@ -328,7 +328,6 @@ static struct platform_driver puv3_rtc_driver = { · 327 unmodified lines
328328 .remove = puv3_rtc_remove,
329329 .driver = {
330330 .name = "PKUnity-v3-RTC",
331− .owner = THIS_MODULE,
332331 .pm = &puv3_rtc_pm_ops,
333332 }
334333 };
drivers/rtc/rtc-rc5t583.c+0−1
@@ -310,7 +310,6 @@ static struct platform_driver rc5t583_rtc_driver = { · 309 unmodified lines
310310 .probe = rc5t583_rtc_probe,
311311 .remove = rc5t583_rtc_remove,
312312 .driver = {
313− .owner = THIS_MODULE,
314313 .name = "rtc-rc5t583",
315314 .pm = &rc5t583_rtc_pm_ops,
316315 },
drivers/rtc/rtc-rp5c01.c+0−1
@@ -273,7 +273,6 @@ static int __exit rp5c01_rtc_remove(struct platform_device *dev) · 272 unmodified lines
273273 static struct platform_driver rp5c01_rtc_driver = {
274274 .driver = {
275275 .name = "rtc-rp5c01",
276− .owner = THIS_MODULE,
277276 },
278277 .remove = __exit_p(rp5c01_rtc_remove),
279278 };
drivers/rtc/rtc-rs5c313.c+0−1
@@ -381,7 +381,6 @@ static int rs5c313_rtc_probe(struct platform_device *pdev) · 380 unmodified lines
381381 static struct platform_driver rs5c313_rtc_platform_driver = {
382382 .driver = {
383383 .name = DRV_NAME,
384− .owner = THIS_MODULE,
385384 },
386385 .probe = rs5c313_rtc_probe,
387386 };
drivers/rtc/rtc-s3c.c+0−1
@@ -896,7 +896,6 @@ static struct platform_driver s3c_rtc_driver = { · 895 unmodified lines
896896 .remove = s3c_rtc_remove,
897897 .driver = {
898898 .name = "s3c-rtc",
899− .owner = THIS_MODULE,
900899 .pm = &s3c_rtc_pm_ops,
901900 .of_match_table = of_match_ptr(s3c_rtc_dt_match),
902901 },
drivers/rtc/rtc-s5m.c+0−1
@@ -837,7 +837,6 @@ static const struct platform_device_id s5m_rtc_id[] = { · 836 unmodified lines
837837 static struct platform_driver s5m_rtc_driver = {
838838 .driver = {
839839 .name = "s5m-rtc",
840− .owner = THIS_MODULE,
841840 .pm = &s5m_rtc_pm_ops,
842841 },
843842 .probe = s5m_rtc_probe,
drivers/rtc/rtc-sh.c+0−1
@@ -782,7 +782,6 @@ static SIMPLE_DEV_PM_OPS(sh_rtc_pm_ops, sh_rtc_suspend, sh_rtc_resume); · 781 unmodified lines
782782 static struct platform_driver sh_rtc_platform_driver = {
783783 .driver = {
784784 .name = DRV_NAME,
785− .owner = THIS_MODULE,
786785 .pm = &sh_rtc_pm_ops,
787786 },
788787 .remove = __exit_p(sh_rtc_remove),
drivers/rtc/rtc-sirfsoc.c+0−1
@@ -444,7 +444,6 @@ static SIMPLE_DEV_PM_OPS(sirfsoc_rtc_pm_ops, · 443 unmodified lines
444444 static struct platform_driver sirfsoc_rtc_driver = {
445445 .driver = {
446446 .name = "sirfsoc-rtc",
447− .owner = THIS_MODULE,
448447 .pm = &sirfsoc_rtc_pm_ops,
449448 .of_match_table = sirfsoc_rtc_of_match,
450449 },
drivers/rtc/rtc-snvs.c+0−1
@@ -367,7 +367,6 @@ MODULE_DEVICE_TABLE(of, snvs_dt_ids); · 366 unmodified lines
367367 static struct platform_driver snvs_rtc_driver = {
368368 .driver = {
369369 .name = "snvs_rtc",
370− .owner = THIS_MODULE,
371370 .pm = SNVS_RTC_PM_OPS,
372371 .of_match_table = snvs_dt_ids,
373372 },
drivers/rtc/rtc-starfire.c+0−1
@@ -54,7 +54,6 @@ static int __init starfire_rtc_probe(struct platform_device *pdev) · 53 unmodified lines
5454 static struct platform_driver starfire_rtc_driver = {
5555 .driver = {
5656 .name = "rtc-starfire",
57− .owner = THIS_MODULE,
5857 },
5958 };
6059
drivers/rtc/rtc-stk17ta8.c+0−1
@@ -358,7 +358,6 @@ static struct platform_driver stk17ta8_rtc_driver = { · 357 unmodified lines
358358 .remove = stk17ta8_rtc_remove,
359359 .driver = {
360360 .name = "stk17ta8",
361− .owner = THIS_MODULE,
362361 },
363362 };
364363
drivers/rtc/rtc-stmp3xxx.c+0−1
@@ -341,7 +341,6 @@ static struct platform_driver stmp3xxx_rtcdrv = { · 340 unmodified lines
341341 .remove = stmp3xxx_rtc_remove,
342342 .driver = {
343343 .name = "stmp3xxx-rtc",
344− .owner = THIS_MODULE,
345344 .pm = &stmp3xxx_rtc_pm_ops,
346345 .of_match_table = rtc_dt_ids,
347346 },
drivers/rtc/rtc-sun4v.c+0−1
@@ -95,7 +95,6 @@ static int __init sun4v_rtc_probe(struct platform_device *pdev) · 94 unmodified lines
9595 static struct platform_driver sun4v_rtc_driver = {
9696 .driver = {
9797 .name = "rtc-sun4v",
98− .owner = THIS_MODULE,
9998 },
10099 };
101100
drivers/rtc/rtc-sunxi.c+0−1
@@ -511,7 +511,6 @@ static struct platform_driver sunxi_rtc_driver = { · 510 unmodified lines
511511 .remove = sunxi_rtc_remove,
512512 .driver = {
513513 .name = "sunxi-rtc",
514− .owner = THIS_MODULE,
515514 .of_match_table = sunxi_rtc_dt_ids,
516515 },
517516 };
drivers/rtc/rtc-tegra.c+0−1
@@ -420,7 +420,6 @@ static struct platform_driver tegra_rtc_driver = { · 419 unmodified lines
420420 .shutdown = tegra_rtc_shutdown,
421421 .driver = {
422422 .name = "tegra_rtc",
423− .owner = THIS_MODULE,
424423 .of_match_table = tegra_rtc_dt_match,
425424 .pm = &tegra_rtc_pm_ops,
426425 },
drivers/rtc/rtc-test.c+0−1
@@ -129,7 +129,6 @@ static struct platform_driver test_driver = { · 128 unmodified lines
129129 .remove = test_remove,
130130 .driver = {
131131 .name = "rtc-test",
132− .owner = THIS_MODULE,
133132 },
134133 };
135134
drivers/rtc/rtc-tile.c+0−1
@@ -94,7 +94,6 @@ static int tile_rtc_probe(struct platform_device *dev) · 93 unmodified lines
9494 static struct platform_driver tile_rtc_platform_driver = {
9595 .driver = {
9696 .name = "rtc-tile",
97− .owner = THIS_MODULE,
9897 },
9998 .probe = tile_rtc_probe,
10099 };
drivers/rtc/rtc-tps6586x.c+0−1
@@ -337,7 +337,6 @@ static SIMPLE_DEV_PM_OPS(tps6586x_pm_ops, tps6586x_rtc_suspend, · 336 unmodified lines
337337 static struct platform_driver tps6586x_rtc_driver = {
338338 .driver = {
339339 .name = "tps6586x-rtc",
340− .owner = THIS_MODULE,
341340 .pm = &tps6586x_pm_ops,
342341 },
343342 .probe = tps6586x_rtc_probe,
drivers/rtc/rtc-tps65910.c+0−1
@@ -326,7 +326,6 @@ static struct platform_driver tps65910_rtc_driver = { · 325 unmodified lines
326326 .probe = tps65910_rtc_probe,
327327 .remove = tps65910_rtc_remove,
328328 .driver = {
329− .owner = THIS_MODULE,
330329 .name = "tps65910-rtc",
331330 .pm = &tps65910_rtc_pm_ops,
332331 },
drivers/rtc/rtc-tps80031.c+0−1
@@ -324,7 +324,6 @@ static SIMPLE_DEV_PM_OPS(tps80031_pm_ops, tps80031_rtc_suspend, · 323 unmodified lines
324324 static struct platform_driver tps80031_rtc_driver = {
325325 .driver = {
326326 .name = "tps80031-rtc",
327− .owner = THIS_MODULE,
328327 .pm = &tps80031_pm_ops,
329328 },
330329 .probe = tps80031_rtc_probe,
drivers/rtc/rtc-twl.c+0−1
@@ -608,7 +608,6 @@ static struct platform_driver twl4030rtc_driver = { · 607 unmodified lines
608608 .remove = twl_rtc_remove,
609609 .shutdown = twl_rtc_shutdown,
610610 .driver = {
611− .owner = THIS_MODULE,
612611 .name = "twl_rtc",
613612 .pm = &twl_rtc_pm_ops,
614613 .of_match_table = of_match_ptr(twl_rtc_of_match),
drivers/rtc/rtc-tx4939.c+0−1
@@ -287,7 +287,6 @@ static struct platform_driver tx4939_rtc_driver = { · 286 unmodified lines
287287 .remove = __exit_p(tx4939_rtc_remove),
288288 .driver = {
289289 .name = "tx4939rtc",
290− .owner = THIS_MODULE,
291290 },
292291 };
293292
drivers/rtc/rtc-v3020.c+0−1
@@ -382,7 +382,6 @@ static struct platform_driver rtc_device_driver = { · 381 unmodified lines
382382 .remove = rtc_remove,
383383 .driver = {
384384 .name = "v3020",
385− .owner = THIS_MODULE,
386385 },
387386 };
388387
drivers/rtc/rtc-vr41xx.c+0−1
@@ -375,7 +375,6 @@ static struct platform_driver rtc_platform_driver = { · 374 unmodified lines
375375 .probe = rtc_probe,
376376 .driver = {
377377 .name = rtc_name,
378− .owner = THIS_MODULE,
379378 },
380379 };
381380
drivers/rtc/rtc-vt8500.c+0−1
@@ -277,7 +277,6 @@ static struct platform_driver vt8500_rtc_driver = { · 276 unmodified lines
277277 .remove = vt8500_rtc_remove,
278278 .driver = {
279279 .name = "vt8500-rtc",
280− .owner = THIS_MODULE,
281280 .of_match_table = wmt_dt_ids,
282281 },
283282 };
drivers/rtc/rtc-xgene.c+0−1
@@ -264,7 +264,6 @@ static struct platform_driver xgene_rtc_driver = { · 263 unmodified lines
264264 .probe = xgene_rtc_probe,
265265 .remove = xgene_rtc_remove,
266266 .driver = {
267− .owner = THIS_MODULE,
268267 .name = "xgene-rtc",
269268 .pm = &xgene_rtc_pm_ops,
270269 .of_match_table = of_match_ptr(xgene_rtc_of_match),
drivers/s390/block/dcssblk.c+0−1
@@ -1003,7 +1003,6 @@ static const struct dev_pm_ops dcssblk_pm_ops = { · 1002 unmodified lines
10031003 static struct platform_driver dcssblk_pdrv = {
10041004 .driver = {
10051005 .name = "dcssblk",
1006− .owner = THIS_MODULE,
10071006 .pm = &dcssblk_pm_ops,
10081007 },
10091008 };
drivers/s390/block/xpram.c+0−1
@@ -417,7 +417,6 @@ static const struct dev_pm_ops xpram_pm_ops = { · 416 unmodified lines
417417 static struct platform_driver xpram_pdrv = {
418418 .driver = {
419419 .name = XPRAM_NAME,
420− .owner = THIS_MODULE,
421420 .pm = &xpram_pm_ops,
422421 },
423422 };
drivers/s390/char/monwriter.c+0−1
@@ -334,7 +334,6 @@ static const struct dev_pm_ops monwriter_pm_ops = { · 333 unmodified lines
334334 static struct platform_driver monwriter_pdrv = {
335335 .driver = {
336336 .name = "monwriter",
337− .owner = THIS_MODULE,
338337 .pm = &monwriter_pm_ops,
339338 },
340339 };
drivers/s390/char/sclp.c+0−1
@@ -1167,7 +1167,6 @@ static const struct attribute_group *sclp_drv_attr_groups[] = { · 1166 unmodified lines
11671167 static struct platform_driver sclp_pdrv = {
11681168 .driver = {
11691169 .name = "sclp",
1170− .owner = THIS_MODULE,
11711170 .pm = &sclp_pm_ops,
11721171 .groups = sclp_drv_attr_groups,
11731172 },
drivers/sbus/char/bbc_i2c.c+0−1
@@ -413,7 +413,6 @@ MODULE_DEVICE_TABLE(of, bbc_i2c_match); · 412 unmodified lines
413413 static struct platform_driver bbc_i2c_driver = {
414414 .driver = {
415415 .name = "bbc_i2c",
416− .owner = THIS_MODULE,
417416 .of_match_table = bbc_i2c_match,
418417 },
419418 .probe = bbc_i2c_probe,
drivers/sbus/char/display7seg.c+0−1
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, d7s_match); · 262 unmodified lines
263263 static struct platform_driver d7s_driver = {
264264 .driver = {
265265 .name = DRIVER_NAME,
266− .owner = THIS_MODULE,
267266 .of_match_table = d7s_match,
268267 },
269268 .probe = d7s_probe,
drivers/sbus/char/envctrl.c+0−1
@@ -1130,7 +1130,6 @@ MODULE_DEVICE_TABLE(of, envctrl_match); · 1129 unmodified lines
11301130 static struct platform_driver envctrl_driver = {
11311131 .driver = {
11321132 .name = DRIVER_NAME,
1133− .owner = THIS_MODULE,
11341133 .of_match_table = envctrl_match,
11351134 },
11361135 .probe = envctrl_probe,
drivers/sbus/char/flash.c+0−1
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, flash_match); · 206 unmodified lines
207207 static struct platform_driver flash_driver = {
208208 .driver = {
209209 .name = "flash",
210− .owner = THIS_MODULE,
211210 .of_match_table = flash_match,
212211 },
213212 .probe = flash_probe,
drivers/sbus/char/uctrl.c+0−1
@@ -425,7 +425,6 @@ MODULE_DEVICE_TABLE(of, uctrl_match); · 424 unmodified lines
425425 static struct platform_driver uctrl_driver = {
426426 .driver = {
427427 .name = "uctrl",
428− .owner = THIS_MODULE,
429428 .of_match_table = uctrl_match,
430429 },
431430 .probe = uctrl_probe,
drivers/scsi/a3000.c+0−1
@@ -276,7 +276,6 @@ static struct platform_driver amiga_a3000_scsi_driver = { · 275 unmodified lines
276276 .remove = __exit_p(amiga_a3000_scsi_remove),
277277 .driver = {
278278 .name = "amiga-a3000-scsi",
279− .owner = THIS_MODULE,
280279 },
281280 };
282281
drivers/scsi/a4000t.c+0−1
@@ -112,7 +112,6 @@ static struct platform_driver amiga_a4000t_scsi_driver = { · 111 unmodified lines
112112 .remove = __exit_p(amiga_a4000t_scsi_remove),
113113 .driver = {
114114 .name = "amiga-a4000t-scsi",
115− .owner = THIS_MODULE,
116115 },
117116 };
118117
drivers/scsi/bvme6000_scsi.c+0−1
@@ -105,7 +105,6 @@ bvme6000_device_remove(struct platform_device *dev) · 104 unmodified lines
105105 static struct platform_driver bvme6000_scsi_driver = {
106106 .driver = {
107107 .name = "bvme6000-scsi",
108− .owner = THIS_MODULE,
109108 },
110109 .probe = bvme6000_probe,
111110 .remove = bvme6000_device_remove,
drivers/scsi/jazz_esp.c+0−1
@@ -226,7 +226,6 @@ static struct platform_driver esp_jazz_driver = { · 225 unmodified lines
226226 .remove = esp_jazz_remove,
227227 .driver = {
228228 .name = "jazz_esp",
229− .owner = THIS_MODULE,
230229 },
231230 };
232231
drivers/scsi/mac_esp.c+0−1
@@ -617,7 +617,6 @@ static struct platform_driver esp_mac_driver = { · 616 unmodified lines
617617 .remove = esp_mac_remove,
618618 .driver = {
619619 .name = DRV_MODULE_NAME,
620− .owner = THIS_MODULE,
621620 },
622621 };
623622
drivers/scsi/mvme16x_scsi.c+0−1
@@ -126,7 +126,6 @@ static int mvme16x_device_remove(struct platform_device *dev) · 125 unmodified lines
126126 static struct platform_driver mvme16x_scsi_driver = {
127127 .driver = {
128128 .name = "mvme16x-scsi",
129− .owner = THIS_MODULE,
130129 },
131130 .probe = mvme16x_probe,
132131 .remove = mvme16x_device_remove,
drivers/scsi/qlogicpti.c+0−1
@@ -1455,7 +1455,6 @@ MODULE_DEVICE_TABLE(of, qpti_match); · 1454 unmodified lines
14551455 static struct platform_driver qpti_sbus_driver = {
14561456 .driver = {
14571457 .name = "qpti",
1458− .owner = THIS_MODULE,
14591458 .of_match_table = qpti_match,
14601459 },
14611460 .probe = qpti_sbus_probe,
drivers/scsi/sgiwd93.c+0−1
@@ -315,7 +315,6 @@ static struct platform_driver sgiwd93_driver = { · 314 unmodified lines
315315 .remove = sgiwd93_remove,
316316 .driver = {
317317 .name = "sgiwd93",
318− .owner = THIS_MODULE,
319318 }
320319 };
321320
drivers/scsi/sni_53c710.c+0−1
@@ -137,7 +137,6 @@ static struct platform_driver snirm710_driver = { · 136 unmodified lines
137137 .remove = snirm710_driver_remove,
138138 .driver = {
139139 .name = "snirm_53c710",
140− .owner = THIS_MODULE,
141140 },
142141 };
143142
drivers/scsi/sun3x_esp.c+0−1
@@ -295,7 +295,6 @@ static struct platform_driver esp_sun3x_driver = { · 294 unmodified lines
295295 .remove = esp_sun3x_remove,
296296 .driver = {
297297 .name = "sun3x_esp",
298− .owner = THIS_MODULE,
299298 },
300299 };
301300
drivers/scsi/sun_esp.c+0−1
@@ -633,7 +633,6 @@ MODULE_DEVICE_TABLE(of, esp_match); · 632 unmodified lines
633633 static struct platform_driver esp_sbus_driver = {
634634 .driver = {
635635 .name = "esp",
636− .owner = THIS_MODULE,
637636 .of_match_table = esp_match,
638637 },
639638 .probe = esp_sbus_probe,
drivers/scsi/ufs/ufshcd-pltfrm.c+0−1
@@ -393,7 +393,6 @@ static struct platform_driver ufshcd_pltfrm_driver = { · 392 unmodified lines
393393 .shutdown = ufshcd_pltfrm_shutdown,
394394 .driver = {
395395 .name = "ufshcd",
396− .owner = THIS_MODULE,
397396 .pm = &ufshcd_dev_pm_ops,
398397 .of_match_table = ufs_of_match,
399398 },
drivers/soc/qcom/qcom_gsbi.c+0−1
@@ -91,7 +91,6 @@ MODULE_DEVICE_TABLE(of, gsbi_dt_match); · 90 unmodified lines
9191 static struct platform_driver gsbi_driver = {
9292 .driver = {
9393 .name = "gsbi",
94− .owner = THIS_MODULE,
9594 .of_match_table = gsbi_dt_match,
9695 },
9796 .probe = gsbi_probe,
drivers/soc/tegra/fuse/fuse-tegra20.c+0−1
@@ -158,7 +158,6 @@ static struct platform_driver tegra20_fuse_driver = { · 157 unmodified lines
158158 .probe = tegra20_fuse_probe,
159159 .driver = {
160160 .name = "tegra20_fuse",
161− .owner = THIS_MODULE,
162161 .of_match_table = tegra20_fuse_of_match,
163162 }
164163 };
drivers/soc/tegra/fuse/fuse-tegra30.c+0−1
@@ -130,7 +130,6 @@ static struct platform_driver tegra30_fuse_driver = { · 129 unmodified lines
130130 .probe = tegra30_fuse_probe,
131131 .driver = {
132132 .name = "tegra_fuse",
133− .owner = THIS_MODULE,
134133 .of_match_table = tegra30_fuse_of_match,
135134 }
136135 };
drivers/soc/ti/knav_dma.c+0−1
@@ -803,7 +803,6 @@ static struct platform_driver knav_dma_driver = { · 802 unmodified lines
803803 .remove = knav_dma_remove,
804804 .driver = {
805805 .name = "keystone-navigator-dma",
806− .owner = THIS_MODULE,
807806 .of_match_table = of_match,
808807 },
809808 };
drivers/soc/ti/knav_qmss_queue.c+0−1
@@ -1805,7 +1805,6 @@ static struct platform_driver keystone_qmss_driver = { · 1804 unmodified lines
18051805 .remove = knav_queue_remove,
18061806 .driver = {
18071807 .name = "keystone-navigator-qmss",
1808− .owner = THIS_MODULE,
18091808 .of_match_table = keystone_qmss_of_match,
18101809 },
18111810 };
drivers/spi/spi-adi-v3.c+0−1
@@ -972,7 +972,6 @@ MODULE_ALIAS("platform:adi-spi3"); · 971 unmodified lines
972972 static struct platform_driver adi_spi_driver = {
973973 .driver = {
974974 .name = "adi-spi3",
975− .owner = THIS_MODULE,
976975 .pm = &adi_spi_pm_ops,
977976 },
978977 .remove = adi_spi_remove,
drivers/spi/spi-altera.c+0−1
@@ -282,7 +282,6 @@ static struct platform_driver altera_spi_driver = { · 281 unmodified lines
282282 .remove = altera_spi_remove,
283283 .driver = {
284284 .name = DRV_NAME,
285− .owner = THIS_MODULE,
286285 .pm = NULL,
287286 .of_match_table = of_match_ptr(altera_spi_match),
288287 },
drivers/spi/spi-ath79.c+0−1
@@ -307,7 +307,6 @@ static struct platform_driver ath79_spi_driver = { · 306 unmodified lines
307307 .shutdown = ath79_spi_shutdown,
308308 .driver = {
309309 .name = DRV_NAME,
310− .owner = THIS_MODULE,
311310 },
312311 };
313312 module_platform_driver(ath79_spi_driver);
drivers/spi/spi-atmel.c+0−1
@@ -1522,7 +1522,6 @@ MODULE_DEVICE_TABLE(of, atmel_spi_dt_ids); · 1521 unmodified lines
15221522 static struct platform_driver atmel_spi_driver = {
15231523 .driver = {
15241524 .name = "atmel_spi",
1525− .owner = THIS_MODULE,
15261525 .pm = ATMEL_SPI_PM_OPS,
15271526 .of_match_table = of_match_ptr(atmel_spi_dt_ids),
15281527 },
drivers/spi/spi-au1550.c+0−1
@@ -965,7 +965,6 @@ static struct platform_driver au1550_spi_drv = { · 964 unmodified lines
965965 .remove = au1550_spi_remove,
966966 .driver = {
967967 .name = "au1550-spi",
968− .owner = THIS_MODULE,
969968 },
970969 };
971970
drivers/spi/spi-bcm2835.c+0−1
@@ -395,7 +395,6 @@ MODULE_DEVICE_TABLE(of, bcm2835_spi_match); · 394 unmodified lines
395395 static struct platform_driver bcm2835_spi_driver = {
396396 .driver = {
397397 .name = DRV_NAME,
398− .owner = THIS_MODULE,
399398 .of_match_table = bcm2835_spi_match,
400399 },
401400 .probe = bcm2835_spi_probe,
drivers/spi/spi-bcm63xx-hsspi.c+0−1
@@ -459,7 +459,6 @@ static SIMPLE_DEV_PM_OPS(bcm63xx_hsspi_pm_ops, bcm63xx_hsspi_suspend, · 458 unmodified lines
459459 static struct platform_driver bcm63xx_hsspi_driver = {
460460 .driver = {
461461 .name = "bcm63xx-hsspi",
462− .owner = THIS_MODULE,
463462 .pm = &bcm63xx_hsspi_pm_ops,
464463 },
465464 .probe = bcm63xx_hsspi_probe,
drivers/spi/spi-bcm63xx.c+0−1
@@ -469,7 +469,6 @@ static const struct dev_pm_ops bcm63xx_spi_pm_ops = { · 468 unmodified lines
469469 static struct platform_driver bcm63xx_spi_driver = {
470470 .driver = {
471471 .name = "bcm63xx-spi",
472− .owner = THIS_MODULE,
473472 .pm = &bcm63xx_spi_pm_ops,
474473 },
475474 .probe = bcm63xx_spi_probe,
drivers/spi/spi-bfin-sport.c+0−1
@@ -921,7 +921,6 @@ static SIMPLE_DEV_PM_OPS(bfin_sport_spi_pm_ops, bfin_sport_spi_suspend, · 920 unmodified lines
921921 static struct platform_driver bfin_sport_spi_driver = {
922922 .driver = {
923923 .name = DRV_NAME,
924− .owner = THIS_MODULE,
925924 .pm = BFIN_SPORT_SPI_PM_OPS,
926925 },
927926 .probe = bfin_sport_spi_probe,
drivers/spi/spi-bfin5xx.c+0−1
@@ -1455,7 +1455,6 @@ MODULE_ALIAS("platform:bfin-spi"); · 1454 unmodified lines
14551455 static struct platform_driver bfin_spi_driver = {
14561456 .driver = {
14571457 .name = DRV_NAME,
1458− .owner = THIS_MODULE,
14591458 .pm = BFIN_SPI_PM_OPS,
14601459 },
14611460 .probe = bfin_spi_probe,
drivers/spi/spi-clps711x.c+0−1
@@ -203,7 +203,6 @@ err_out: · 202 unmodified lines
203203 static struct platform_driver clps711x_spi_driver = {
204204 .driver = {
205205 .name = DRIVER_NAME,
206− .owner = THIS_MODULE,
207206 },
208207 .probe = spi_clps711x_probe,
209208 };
drivers/spi/spi-davinci.c+0−1
@@ -1119,7 +1119,6 @@ static int davinci_spi_remove(struct platform_device *pdev) · 1118 unmodified lines
11191119 static struct platform_driver davinci_spi_driver = {
11201120 .driver = {
11211121 .name = "spi_davinci",
1122− .owner = THIS_MODULE,
11231122 .of_match_table = of_match_ptr(davinci_spi_of_match),
11241123 },
11251124 .probe = davinci_spi_probe,
drivers/spi/spi-dw-mmio.c+0−1
@@ -135,7 +135,6 @@ static struct platform_driver dw_spi_mmio_driver = { · 134 unmodified lines
135135 .remove = dw_spi_mmio_remove,
136136 .driver = {
137137 .name = DRIVER_NAME,
138− .owner = THIS_MODULE,
139138 .of_match_table = dw_spi_mmio_of_match,
140139 },
141140 };
drivers/spi/spi-efm32.c+0−1
@@ -494,7 +494,6 @@ static struct platform_driver efm32_spi_driver = { · 493 unmodified lines
494494
495495 .driver = {
496496 .name = DRIVER_NAME,
497− .owner = THIS_MODULE,
498497 .of_match_table = efm32_spi_dt_ids,
499498 },
500499 };
drivers/spi/spi-ep93xx.c+0−1
@@ -964,7 +964,6 @@ static int ep93xx_spi_remove(struct platform_device *pdev) · 963 unmodified lines
964964 static struct platform_driver ep93xx_spi_driver = {
965965 .driver = {
966966 .name = "ep93xx-spi",
967− .owner = THIS_MODULE,
968967 },
969968 .probe = ep93xx_spi_probe,
970969 .remove = ep93xx_spi_remove,
drivers/spi/spi-falcon.c+0−1
@@ -441,7 +441,6 @@ static struct platform_driver falcon_sflash_driver = { · 440 unmodified lines
441441 .probe = falcon_sflash_probe,
442442 .driver = {
443443 .name = DRV_NAME,
444− .owner = THIS_MODULE,
445444 .of_match_table = falcon_sflash_match,
446445 }
447446 };
drivers/spi/spi-fsl-espi.c+0−1
@@ -850,7 +850,6 @@ MODULE_DEVICE_TABLE(of, of_fsl_espi_match); · 849 unmodified lines
850850 static struct platform_driver fsl_espi_driver = {
851851 .driver = {
852852 .name = "fsl_espi",
853− .owner = THIS_MODULE,
854853 .of_match_table = of_fsl_espi_match,
855854 .pm = &espi_pm,
856855 },
drivers/spi/spi-fsl-spi.c+0−2
@@ -879,7 +879,6 @@ static int of_fsl_spi_remove(struct platform_device *ofdev) · 878 unmodified lines
879879 static struct platform_driver of_fsl_spi_driver = {
880880 .driver = {
881881 .name = "fsl_spi",
882− .owner = THIS_MODULE,
883882 .of_match_table = of_fsl_spi_match,
884883 },
885884 .probe = of_fsl_spi_probe,
@@ -926,7 +925,6 @@ static struct platform_driver mpc8xxx_spi_driver = { · 40 unmodified lines
926925 .remove = plat_mpc8xxx_spi_remove,
927926 .driver = {
928927 .name = "mpc8xxx_spi",
929− .owner = THIS_MODULE,
930928 },
931929 };
932930
drivers/spi/spi-gpio.c+0−1
@@ -539,7 +539,6 @@ MODULE_ALIAS("platform:" DRIVER_NAME); · 538 unmodified lines
539539 static struct platform_driver spi_gpio_driver = {
540540 .driver = {
541541 .name = DRIVER_NAME,
542− .owner = THIS_MODULE,
543542 .of_match_table = of_match_ptr(spi_gpio_dt_ids),
544543 },
545544 .probe = spi_gpio_probe,
drivers/spi/spi-imx.c+0−1
@@ -1231,7 +1231,6 @@ static int spi_imx_remove(struct platform_device *pdev) · 1230 unmodified lines
12311231 static struct platform_driver spi_imx_driver = {
12321232 .driver = {
12331233 .name = DRIVER_NAME,
1234− .owner = THIS_MODULE,
12351234 .of_match_table = spi_imx_dt_ids,
12361235 },
12371236 .id_table = spi_imx_devtype,
drivers/spi/spi-mpc512x-psc.c+0−1
@@ -600,7 +600,6 @@ static struct platform_driver mpc512x_psc_spi_of_driver = { · 599 unmodified lines
600600 .remove = mpc512x_psc_spi_of_remove,
601601 .driver = {
602602 .name = "mpc512x-psc-spi",
603− .owner = THIS_MODULE,
604603 .of_match_table = mpc512x_psc_spi_of_match,
605604 },
606605 };
drivers/spi/spi-mpc52xx-psc.c+0−1
@@ -508,7 +508,6 @@ static struct platform_driver mpc52xx_psc_spi_of_driver = { · 507 unmodified lines
508508 .remove = mpc52xx_psc_spi_of_remove,
509509 .driver = {
510510 .name = "mpc52xx-psc-spi",
511− .owner = THIS_MODULE,
512511 .of_match_table = mpc52xx_psc_spi_of_match,
513512 },
514513 };
drivers/spi/spi-mpc52xx.c+0−1
@@ -543,7 +543,6 @@ MODULE_DEVICE_TABLE(of, mpc52xx_spi_match); · 542 unmodified lines
543543 static struct platform_driver mpc52xx_spi_of_driver = {
544544 .driver = {
545545 .name = "mpc52xx-spi",
546− .owner = THIS_MODULE,
547546 .of_match_table = mpc52xx_spi_match,
548547 },
549548 .probe = mpc52xx_spi_probe,
drivers/spi/spi-mxs.c+0−1
@@ -572,7 +572,6 @@ static struct platform_driver mxs_spi_driver = { · 571 unmodified lines
572572 .remove = mxs_spi_remove,
573573 .driver = {
574574 .name = DRIVER_NAME,
575− .owner = THIS_MODULE,
576575 .of_match_table = mxs_spi_dt_ids,
577576 },
578577 };
drivers/spi/spi-nuc900.c+0−1
@@ -423,7 +423,6 @@ static struct platform_driver nuc900_spi_driver = { · 422 unmodified lines
423423 .remove = nuc900_spi_remove,
424424 .driver = {
425425 .name = "nuc900-spi",
426− .owner = THIS_MODULE,
427426 },
428427 };
429428 module_platform_driver(nuc900_spi_driver);
drivers/spi/spi-oc-tiny.c+0−1
@@ -351,7 +351,6 @@ static struct platform_driver tiny_spi_driver = { · 350 unmodified lines
351351 .remove = tiny_spi_remove,
352352 .driver = {
353353 .name = DRV_NAME,
354− .owner = THIS_MODULE,
355354 .pm = NULL,
356355 .of_match_table = of_match_ptr(tiny_spi_match),
357356 },
drivers/spi/spi-octeon.c+0−1
@@ -247,7 +247,6 @@ MODULE_DEVICE_TABLE(of, octeon_spi_match); · 246 unmodified lines
247247 static struct platform_driver octeon_spi_driver = {
248248 .driver = {
249249 .name = "spi-octeon",
250− .owner = THIS_MODULE,
251250 .of_match_table = octeon_spi_match,
252251 },
253252 .probe = octeon_spi_probe,
drivers/spi/spi-omap-100k.c+0−1
@@ -453,7 +453,6 @@ err: · 452 unmodified lines
453453 static struct platform_driver omap1_spi100k_driver = {
454454 .driver = {
455455 .name = "omap1_spi100k",
456− .owner = THIS_MODULE,
457456 },
458457 .probe = omap1_spi100k_probe,
459458 };
drivers/spi/spi-omap-uwire.c+0−1
@@ -527,7 +527,6 @@ MODULE_ALIAS("platform:omap_uwire"); · 526 unmodified lines
527527 static struct platform_driver uwire_driver = {
528528 .driver = {
529529 .name = "omap_uwire",
530− .owner = THIS_MODULE,
531530 },
532531 .probe = uwire_probe,
533532 .remove = uwire_remove,
drivers/spi/spi-omap2-mcspi.c+0−1
@@ -1521,7 +1521,6 @@ static const struct dev_pm_ops omap2_mcspi_pm_ops = { · 1520 unmodified lines
15211521 static struct platform_driver omap2_mcspi_driver = {
15221522 .driver = {
15231523 .name = "omap2_mcspi",
1524− .owner = THIS_MODULE,
15251524 .pm = &omap2_mcspi_pm_ops,
15261525 .of_match_table = omap_mcspi_of_match,
15271526 },
drivers/spi/spi-orion.c+0−1
@@ -551,7 +551,6 @@ static const struct dev_pm_ops orion_spi_pm_ops = { · 550 unmodified lines
551551 static struct platform_driver orion_spi_driver = {
552552 .driver = {
553553 .name = DRIVER_NAME,
554− .owner = THIS_MODULE,
555554 .pm = &orion_spi_pm_ops,
556555 .of_match_table = of_match_ptr(orion_spi_of_match_table),
557556 },
drivers/spi/spi-ppc4xx.c+0−1
@@ -575,7 +575,6 @@ static struct platform_driver spi_ppc4xx_of_driver = { · 574 unmodified lines
575575 .remove = spi_ppc4xx_of_remove,
576576 .driver = {
577577 .name = DRIVER_NAME,
578− .owner = THIS_MODULE,
579578 .of_match_table = spi_ppc4xx_of_match,
580579 },
581580 };
drivers/spi/spi-pxa2xx.c+0−1
@@ -1558,7 +1558,6 @@ static const struct dev_pm_ops pxa2xx_spi_pm_ops = { · 1557 unmodified lines
15581558 static struct platform_driver driver = {
15591559 .driver = {
15601560 .name = "pxa2xx-spi",
1561− .owner = THIS_MODULE,
15621561 .pm = &pxa2xx_spi_pm_ops,
15631562 .acpi_match_table = ACPI_PTR(pxa2xx_spi_acpi_match),
15641563 },
drivers/spi/spi-qup.c+0−1
@@ -756,7 +756,6 @@ static const struct dev_pm_ops spi_qup_dev_pm_ops = { · 755 unmodified lines
756756 static struct platform_driver spi_qup_driver = {
757757 .driver = {
758758 .name = "spi_qup",
759− .owner = THIS_MODULE,
760759 .pm = &spi_qup_dev_pm_ops,
761760 .of_match_table = spi_qup_dt_match,
762761 },
drivers/spi/spi-rockchip.c+0−1
@@ -846,7 +846,6 @@ MODULE_DEVICE_TABLE(of, rockchip_spi_dt_match); · 845 unmodified lines
846846 static struct platform_driver rockchip_spi_driver = {
847847 .driver = {
848848 .name = DRIVER_NAME,
849− .owner = THIS_MODULE,
850849 .pm = &rockchip_spi_pm,
851850 .of_match_table = of_match_ptr(rockchip_spi_dt_match),
852851 },
drivers/spi/spi-rspi.c+0−1
@@ -1211,7 +1211,6 @@ static struct platform_driver rspi_driver = { · 1210 unmodified lines
12111211 .id_table = spi_driver_ids,
12121212 .driver = {
12131213 .name = "renesas_spi",
1214− .owner = THIS_MODULE,
12151214 .of_match_table = of_match_ptr(rspi_of_match),
12161215 },
12171216 };
drivers/spi/spi-s3c24xx.c+0−1
@@ -663,7 +663,6 @@ static struct platform_driver s3c24xx_spi_driver = { · 662 unmodified lines
663663 .remove = s3c24xx_spi_remove,
664664 .driver = {
665665 .name = "s3c2410-spi",
666− .owner = THIS_MODULE,
667666 .pm = S3C24XX_SPI_PMOPS,
668667 },
669668 };
drivers/spi/spi-s3c64xx.c+0−1
@@ -1394,7 +1394,6 @@ MODULE_DEVICE_TABLE(of, s3c64xx_spi_dt_match); · 1393 unmodified lines
13941394 static struct platform_driver s3c64xx_spi_driver = {
13951395 .driver = {
13961396 .name = "s3c64xx-spi",
1397− .owner = THIS_MODULE,
13981397 .pm = &s3c64xx_spi_pm,
13991398 .of_match_table = of_match_ptr(s3c64xx_spi_dt_match),
14001399 },
drivers/spi/spi-sh-hspi.c+0−1
@@ -315,7 +315,6 @@ static struct platform_driver hspi_driver = { · 314 unmodified lines
315315 .remove = hspi_remove,
316316 .driver = {
317317 .name = "sh-hspi",
318− .owner = THIS_MODULE,
319318 .of_match_table = hspi_of_match,
320319 },
321320 };
drivers/spi/spi-sh-msiof.c+0−1
@@ -1235,7 +1235,6 @@ static struct platform_driver sh_msiof_spi_drv = { · 1234 unmodified lines
12351235 .id_table = spi_driver_ids,
12361236 .driver = {
12371237 .name = "spi_sh_msiof",
1238− .owner = THIS_MODULE,
12391238 .of_match_table = of_match_ptr(sh_msiof_match),
12401239 },
12411240 };
drivers/spi/spi-sh-sci.c+0−1
@@ -187,7 +187,6 @@ static struct platform_driver sh_sci_spi_drv = { · 186 unmodified lines
187187 .remove = sh_sci_spi_remove,
188188 .driver = {
189189 .name = "spi_sh_sci",
190− .owner = THIS_MODULE,
191190 },
192191 };
193192 module_platform_driver(sh_sci_spi_drv);
drivers/spi/spi-sh.c+0−1
@@ -532,7 +532,6 @@ static struct platform_driver spi_sh_driver = { · 531 unmodified lines
532532 .remove = spi_sh_remove,
533533 .driver = {
534534 .name = "sh_spi",
535− .owner = THIS_MODULE,
536535 },
537536 };
538537 module_platform_driver(spi_sh_driver);
drivers/spi/spi-sirf.c+0−1
@@ -826,7 +826,6 @@ MODULE_DEVICE_TABLE(of, spi_sirfsoc_of_match); · 825 unmodified lines
826826 static struct platform_driver spi_sirfsoc_driver = {
827827 .driver = {
828828 .name = DRIVER_NAME,
829− .owner = THIS_MODULE,
830829 .pm = &spi_sirfsoc_pm_ops,
831830 .of_match_table = spi_sirfsoc_of_match,
832831 },
drivers/spi/spi-sun4i.c+0−1
@@ -464,7 +464,6 @@ static struct platform_driver sun4i_spi_driver = { · 463 unmodified lines
464464 .remove = sun4i_spi_remove,
465465 .driver = {
466466 .name = "sun4i-spi",
467− .owner = THIS_MODULE,
468467 .of_match_table = sun4i_spi_match,
469468 .pm = &sun4i_spi_pm_ops,
470469 },
drivers/spi/spi-sun6i.c+0−1
@@ -470,7 +470,6 @@ static struct platform_driver sun6i_spi_driver = { · 469 unmodified lines
470470 .remove = sun6i_spi_remove,
471471 .driver = {
472472 .name = "sun6i-spi",
473− .owner = THIS_MODULE,
474473 .of_match_table = sun6i_spi_match,
475474 .pm = &sun6i_spi_pm_ops,
476475 },
drivers/spi/spi-tegra114.c+0−1
@@ -1223,7 +1223,6 @@ static const struct dev_pm_ops tegra_spi_pm_ops = { · 1222 unmodified lines
12231223 static struct platform_driver tegra_spi_driver = {
12241224 .driver = {
12251225 .name = "spi-tegra114",
1226− .owner = THIS_MODULE,
12271226 .pm = &tegra_spi_pm_ops,
12281227 .of_match_table = tegra_spi_of_match,
12291228 },
drivers/spi/spi-tegra20-sflash.c+0−1
@@ -608,7 +608,6 @@ static const struct dev_pm_ops slink_pm_ops = { · 607 unmodified lines
608608 static struct platform_driver tegra_sflash_driver = {
609609 .driver = {
610610 .name = "spi-tegra-sflash",
611− .owner = THIS_MODULE,
612611 .pm = &slink_pm_ops,
613612 .of_match_table = tegra_sflash_of_match,
614613 },
drivers/spi/spi-tegra20-slink.c+0−1
@@ -1224,7 +1224,6 @@ static const struct dev_pm_ops slink_pm_ops = { · 1223 unmodified lines
12241224 static struct platform_driver tegra_slink_driver = {
12251225 .driver = {
12261226 .name = "spi-tegra-slink",
1227− .owner = THIS_MODULE,
12281227 .pm = &slink_pm_ops,
12291228 .of_match_table = tegra_slink_of_match,
12301229 },
drivers/spi/spi-ti-qspi.c+0−1
@@ -567,7 +567,6 @@ static struct platform_driver ti_qspi_driver = { · 566 unmodified lines
567567 .remove = ti_qspi_remove,
568568 .driver = {
569569 .name = "ti-qspi",
570− .owner = THIS_MODULE,
571570 .pm = &ti_qspi_pm_ops,
572571 .of_match_table = ti_qspi_match,
573572 }
drivers/spi/spi-topcliff-pch.c+0−1
@@ -1561,7 +1561,6 @@ static int pch_spi_pd_resume(struct platform_device *pd_dev) · 1560 unmodified lines
15611561 static struct platform_driver pch_spi_pd_driver = {
15621562 .driver = {
15631563 .name = "pch-spi",
1564− .owner = THIS_MODULE,
15651564 },
15661565 .probe = pch_spi_pd_probe,
15671566 .remove = pch_spi_pd_remove,
drivers/spi/spi-txx9.c+0−1
@@ -425,7 +425,6 @@ static struct platform_driver txx9spi_driver = { · 424 unmodified lines
425425 .remove = txx9spi_remove,
426426 .driver = {
427427 .name = "spi_txx9",
428− .owner = THIS_MODULE,
429428 },
430429 };
431430
drivers/spi/spi-xtensa-xtfpga.c+0−1
@@ -160,7 +160,6 @@ static struct platform_driver xtfpga_spi_driver = { · 159 unmodified lines
160160 .remove = xtfpga_spi_remove,
161161 .driver = {
162162 .name = XTFPGA_SPI_NAME,
163− .owner = THIS_MODULE,
164163 .of_match_table = of_match_ptr(xtfpga_spi_of_match),
165164 },
166165 };
drivers/spmi/spmi-pmic-arb.c+0−1
@@ -768,7 +768,6 @@ static struct platform_driver spmi_pmic_arb_driver = { · 767 unmodified lines
768768 .remove = spmi_pmic_arb_remove,
769769 .driver = {
770770 .name = "spmi_pmic_arb",
771− .owner = THIS_MODULE,
772771 .of_match_table = spmi_pmic_arb_match_table,
773772 },
774773 };
drivers/staging/android/timed_gpio.c+0−1
@@ -157,7 +157,6 @@ static struct platform_driver timed_gpio_driver = { · 156 unmodified lines
157157 .remove = timed_gpio_remove,
158158 .driver = {
159159 .name = TIMED_GPIO_NAME,
160− .owner = THIS_MODULE,
161160 },
162161 };
163162
drivers/staging/emxx_udc/emxx_udc.c+0−1
@@ -3491,7 +3491,6 @@ static struct platform_driver udc_driver = { · 3490 unmodified lines
34913491 .suspend = nbu2ss_drv_suspend,
34923492 .resume = nbu2ss_drv_resume,
34933493 .driver = {
3494− .owner = THIS_MODULE,
34953494 .name = driver_name,
34963495 },
34973496 };
drivers/staging/iio/adc/ad7606_par.c+0−1
@@ -141,7 +141,6 @@ static struct platform_driver ad7606_driver = { · 140 unmodified lines
141141 .id_table = ad7606_driver_ids,
142142 .driver = {
143143 .name = "ad7606",
144− .owner = THIS_MODULE,
145144 .pm = AD7606_PAR_PM_OPS,
146145 },
147146 };
drivers/staging/iio/adc/lpc32xx_adc.c+0−1
@@ -204,7 +204,6 @@ static struct platform_driver lpc32xx_adc_driver = { · 203 unmodified lines
204204 .probe = lpc32xx_adc_probe,
205205 .driver = {
206206 .name = MOD_NAME,
207− .owner = THIS_MODULE,
208207 .of_match_table = of_match_ptr(lpc32xx_adc_match),
209208 },
210209 };
drivers/staging/iio/adc/mxs-lradc.c+0−1
@@ -1668,7 +1668,6 @@ static int mxs_lradc_remove(struct platform_device *pdev) · 1667 unmodified lines
16681668 static struct platform_driver mxs_lradc_driver = {
16691669 .driver = {
16701670 .name = DRIVER_NAME,
1671− .owner = THIS_MODULE,
16721671 .of_match_table = mxs_lradc_dt_ids,
16731672 },
16741673 .probe = mxs_lradc_probe,
drivers/staging/iio/adc/spear_adc.c+0−1
@@ -389,7 +389,6 @@ static struct platform_driver spear_adc_driver = { · 388 unmodified lines
389389 .remove = spear_adc_remove,
390390 .driver = {
391391 .name = SPEAR_ADC_MOD_NAME,
392− .owner = THIS_MODULE,
393392 .of_match_table = of_match_ptr(spear_adc_dt_ids),
394393 },
395394 };
drivers/staging/iio/trigger/iio-trig-bfin-timer.c+0−1
@@ -279,7 +279,6 @@ static int iio_bfin_tmr_trigger_remove(struct platform_device *pdev) · 278 unmodified lines
279279 static struct platform_driver iio_bfin_tmr_trigger_driver = {
280280 .driver = {
281281 .name = "iio_bfin_tmr_trigger",
282− .owner = THIS_MODULE,
283282 },
284283 .probe = iio_bfin_tmr_trigger_probe,
285284 .remove = iio_bfin_tmr_trigger_remove,
drivers/staging/iio/trigger/iio-trig-periodic-rtc.c+0−1
@@ -206,7 +206,6 @@ static struct platform_driver iio_trig_periodic_rtc_driver = { · 205 unmodified lines
206206 .remove = iio_trig_periodic_rtc_remove,
207207 .driver = {
208208 .name = "iio_prtc_trigger",
209− .owner = THIS_MODULE,
210209 },
211210 };
212211
drivers/staging/imx-drm/imx-drm-core.c+0−1
@@ -691,7 +691,6 @@ static struct platform_driver imx_drm_pdrv = { · 690 unmodified lines
691691 .probe = imx_drm_platform_probe,
692692 .remove = imx_drm_platform_remove,
693693 .driver = {
694− .owner = THIS_MODULE,
695694 .name = "imx-drm",
696695 .pm = &imx_drm_pm_ops,
697696 .of_match_table = imx_drm_dt_ids,
drivers/staging/imx-drm/imx-hdmi.c+0−1
@@ -1754,7 +1754,6 @@ static struct platform_driver imx_hdmi_driver = { · 1753 unmodified lines
17541754 .remove = imx_hdmi_platform_remove,
17551755 .driver = {
17561756 .name = "imx-hdmi",
1757− .owner = THIS_MODULE,
17581757 .of_match_table = imx_hdmi_dt_ids,
17591758 },
17601759 };
drivers/staging/imx-drm/imx-ldb.c+0−1
@@ -604,7 +604,6 @@ static struct platform_driver imx_ldb_driver = { · 603 unmodified lines
604604 .driver = {
605605 .of_match_table = imx_ldb_dt_ids,
606606 .name = DRIVER_NAME,
607− .owner = THIS_MODULE,
608607 },
609608 };
610609
drivers/staging/imx-drm/imx-tve.c+0−1
@@ -724,7 +724,6 @@ static struct platform_driver imx_tve_driver = { · 723 unmodified lines
724724 .driver = {
725725 .of_match_table = imx_tve_dt_ids,
726726 .name = "imx-tve",
727− .owner = THIS_MODULE,
728727 },
729728 };
730729
drivers/staging/imx-drm/parallel-display.c+0−1
@@ -284,7 +284,6 @@ static struct platform_driver imx_pd_driver = { · 283 unmodified lines
284284 .driver = {
285285 .of_match_table = imx_pd_dt_ids,
286286 .name = "imx-parallel-display",
287− .owner = THIS_MODULE,
288287 },
289288 };
290289
drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c+0−1
@@ -707,7 +707,6 @@ static int vpfe_remove(struct platform_device *pdev) · 706 unmodified lines
707707 static struct platform_driver vpfe_driver = {
708708 .driver = {
709709 .name = CAPTURE_DRV_NAME,
710− .owner = THIS_MODULE,
711710 },
712711 .probe = vpfe_probe,
713712 .remove = vpfe_remove,
drivers/staging/media/lirc/lirc_parallel.c+0−1
@@ -605,7 +605,6 @@ static struct platform_driver lirc_parallel_driver = { · 604 unmodified lines
605605 .resume = lirc_parallel_resume,
606606 .driver = {
607607 .name = LIRC_DRIVER_NAME,
608− .owner = THIS_MODULE,
609608 },
610609 };
611610
drivers/staging/media/lirc/lirc_serial.c+0−1
@@ -1060,7 +1060,6 @@ static struct platform_driver lirc_serial_driver = { · 1059 unmodified lines
10601060 .resume = lirc_serial_resume,
10611061 .driver = {
10621062 .name = "lirc_serial",
1063− .owner = THIS_MODULE,
10641063 },
10651064 };
10661065
drivers/staging/media/lirc/lirc_sir.c+0−1
@@ -931,7 +931,6 @@ static struct platform_driver lirc_sir_driver = { · 930 unmodified lines
931931 .remove = lirc_sir_remove,
932932 .driver = {
933933 .name = "lirc_sir",
934− .owner = THIS_MODULE,
935934 },
936935 };
937936
drivers/staging/media/omap4iss/iss.c+0−1
@@ -1476,7 +1476,6 @@ static struct platform_driver iss_driver = { · 1475 unmodified lines
14761476 .remove = iss_remove,
14771477 .id_table = omap4iss_id_table,
14781478 .driver = {
1479− .owner = THIS_MODULE,
14801479 .name = "omap4iss",
14811480 },
14821481 };
drivers/staging/netlogic/xlr_net.c+0−1
@@ -1133,7 +1133,6 @@ static struct platform_driver xlr_net_driver = { · 1132 unmodified lines
11331133 .remove = xlr_net_remove,
11341134 .driver = {
11351135 .name = "xlr-net",
1136− .owner = THIS_MODULE,
11371136 },
11381137 };
11391138
drivers/staging/nvec/nvec.c+0−1
@@ -973,7 +973,6 @@ static struct platform_driver nvec_device_driver = { · 972 unmodified lines
973973 .remove = tegra_nvec_remove,
974974 .driver = {
975975 .name = "nvec",
976− .owner = THIS_MODULE,
977976 .pm = &nvec_pm_ops,
978977 .of_match_table = nvidia_nvec_of_match,
979978 }
drivers/staging/nvec/nvec_kbd.c+0−1
@@ -181,7 +181,6 @@ static struct platform_driver nvec_kbd_driver = { · 180 unmodified lines
181181 .remove = nvec_kbd_remove,
182182 .driver = {
183183 .name = "nvec-kbd",
184− .owner = THIS_MODULE,
185184 },
186185 };
187186
drivers/staging/nvec/nvec_paz00.c+0−1
@@ -87,7 +87,6 @@ static struct platform_driver nvec_paz00_driver = { · 86 unmodified lines
8787 .remove = nvec_paz00_remove,
8888 .driver = {
8989 .name = "nvec-paz00",
90− .owner = THIS_MODULE,
9190 },
9291 };
9392
drivers/staging/nvec/nvec_power.c+0−1
@@ -432,7 +432,6 @@ static struct platform_driver nvec_power_driver = { · 431 unmodified lines
432432 .remove = nvec_power_remove,
433433 .driver = {
434434 .name = "nvec-power",
435− .owner = THIS_MODULE,
436435 }
437436 };
438437
drivers/staging/nvec/nvec_ps2.c+0−1
@@ -177,7 +177,6 @@ static struct platform_driver nvec_mouse_driver = { · 176 unmodified lines
177177 .remove = nvec_mouse_remove,
178178 .driver = {
179179 .name = "nvec-mouse",
180− .owner = THIS_MODULE,
181180 .pm = &nvec_mouse_pm_ops,
182181 },
183182 };
drivers/staging/octeon-usb/octeon-hcd.c+0−1
@@ -3882,7 +3882,6 @@ static struct of_device_id octeon_usb_match[] = { · 3881 unmodified lines
38823882 static struct platform_driver octeon_usb_driver = {
38833883 .driver = {
38843884 .name = "OcteonUSB",
3885− .owner = THIS_MODULE,
38863885 .of_match_table = octeon_usb_match,
38873886 },
38883887 .probe = octeon_usb_probe,
drivers/staging/octeon/ethernet.c+0−1
@@ -877,7 +877,6 @@ static struct platform_driver cvm_oct_driver = { · 876 unmodified lines
877877 .probe = cvm_oct_probe,
878878 .remove = cvm_oct_remove,
879879 .driver = {
880− .owner = THIS_MODULE,
881880 .name = KBUILD_MODNAME,
882881 .of_match_table = cvm_oct_match,
883882 },
drivers/staging/ozwpan/ozhcd.c+0−1
@@ -224,7 +224,6 @@ static struct platform_driver g_oz_plat_drv = { · 223 unmodified lines
224224 .resume = oz_plat_resume,
225225 .driver = {
226226 .name = OZ_PLAT_DEV_NAME,
227− .owner = THIS_MODULE,
228227 },
229228 };
230229
drivers/thermal/armada_thermal.c+0−1
@@ -329,7 +329,6 @@ static struct platform_driver armada_thermal_driver = { · 328 unmodified lines
329329 .remove = armada_thermal_exit,
330330 .driver = {
331331 .name = "armada_thermal",
332− .owner = THIS_MODULE,
333332 .of_match_table = armada_thermal_id_table,
334333 },
335334 };
drivers/thermal/db8500_cpufreq_cooling.c+0−1
@@ -78,7 +78,6 @@ static const struct of_device_id db8500_cpufreq_cooling_match[] = { · 77 unmodified lines
7878
7979 static struct platform_driver db8500_cpufreq_cooling_driver = {
8080 .driver = {
81− .owner = THIS_MODULE,
8281 .name = "db8500-cpufreq-cooling",
8382 .of_match_table = of_match_ptr(db8500_cpufreq_cooling_match),
8483 },
drivers/thermal/db8500_thermal.c+0−1
@@ -517,7 +517,6 @@ static const struct of_device_id db8500_thermal_match[] = { · 516 unmodified lines
517517
518518 static struct platform_driver db8500_thermal_driver = {
519519 .driver = {
520− .owner = THIS_MODULE,
521520 .name = "db8500-thermal",
522521 .of_match_table = of_match_ptr(db8500_thermal_match),
523522 },
drivers/thermal/dove_thermal.c+0−1
@@ -184,7 +184,6 @@ static struct platform_driver dove_thermal_driver = { · 183 unmodified lines
184184 .remove = dove_thermal_exit,
185185 .driver = {
186186 .name = "dove_thermal",
187− .owner = THIS_MODULE,
188187 .of_match_table = dove_thermal_id_table,
189188 },
190189 };
drivers/thermal/imx_thermal.c+0−1
@@ -637,7 +637,6 @@ static SIMPLE_DEV_PM_OPS(imx_thermal_pm_ops, · 636 unmodified lines
637637 static struct platform_driver imx_thermal = {
638638 .driver = {
639639 .name = "imx_thermal",
640− .owner = THIS_MODULE,
641640 .pm = &imx_thermal_pm_ops,
642641 .of_match_table = of_imx_thermal_match,
643642 },
drivers/thermal/kirkwood_thermal.c+0−1
@@ -114,7 +114,6 @@ static struct platform_driver kirkwood_thermal_driver = { · 113 unmodified lines
114114 .remove = kirkwood_thermal_exit,
115115 .driver = {
116116 .name = "kirkwood_thermal",
117− .owner = THIS_MODULE,
118117 .of_match_table = kirkwood_thermal_id_table,
119118 },
120119 };
drivers/thermal/samsung/exynos_tmu.c+0−1
@@ -750,7 +750,6 @@ static SIMPLE_DEV_PM_OPS(exynos_tmu_pm, · 749 unmodified lines
750750 static struct platform_driver exynos_tmu_driver = {
751751 .driver = {
752752 .name = "exynos-tmu",
753− .owner = THIS_MODULE,
754753 .pm = EXYNOS_TMU_PM,
755754 .of_match_table = exynos_tmu_match,
756755 },
drivers/thermal/spear_thermal.c+0−1
@@ -186,7 +186,6 @@ static struct platform_driver spear_thermal_driver = { · 185 unmodified lines
186186 .remove = spear_thermal_exit,
187187 .driver = {
188188 .name = "spear_thermal",
189− .owner = THIS_MODULE,
190189 .pm = &spear_thermal_pm_ops,
191190 .of_match_table = spear_thermal_id_table,
192191 },
drivers/thermal/st/st_thermal_memmap.c+0−1
@@ -194,7 +194,6 @@ int st_mmap_remove(struct platform_device *pdev) · 193 unmodified lines
194194 static struct platform_driver st_mmap_thermal_driver = {
195195 .driver = {
196196 .name = "st_thermal_mmap",
197− .owner = THIS_MODULE,
198197 .pm = &st_thermal_pm_ops,
199198 .of_match_table = st_mmap_thermal_of_match,
200199 },
drivers/thermal/st/st_thermal_syscfg.c+0−1
@@ -165,7 +165,6 @@ int st_syscfg_remove(struct platform_device *pdev) · 164 unmodified lines
165165 static struct platform_driver st_syscfg_thermal_driver = {
166166 .driver = {
167167 .name = "st_syscfg_thermal",
168− .owner = THIS_MODULE,
169168 .pm = &st_thermal_pm_ops,
170169 .of_match_table = st_syscfg_thermal_of_match,
171170 },
drivers/tty/amiserial.c+0−1
@@ -1802,7 +1802,6 @@ static struct platform_driver amiga_serial_driver = { · 1801 unmodified lines
18021802 .remove = __exit_p(amiga_serial_remove),
18031803 .driver = {
18041804 .name = "amiga-serial",
1805− .owner = THIS_MODULE,
18061805 },
18071806 };
18081807
drivers/tty/ehv_bytechan.c+0−1
@@ -740,7 +740,6 @@ static const struct of_device_id ehv_bc_tty_of_ids[] = { · 739 unmodified lines
740740
741741 static struct platform_driver ehv_bc_tty_driver = {
742742 .driver = {
743− .owner = THIS_MODULE,
744743 .name = "ehv-bc",
745744 .of_match_table = ehv_bc_tty_of_ids,
746745 },
drivers/tty/hvc/hvc_opal.c+0−1
@@ -262,7 +262,6 @@ static struct platform_driver hvc_opal_driver = { · 261 unmodified lines
262262 .remove = hvc_opal_remove,
263263 .driver = {
264264 .name = hvc_opal_name,
265− .owner = THIS_MODULE,
266265 .of_match_table = hvc_opal_match,
267266 }
268267 };
drivers/tty/hvc/hvc_tile.c+0−1
@@ -178,7 +178,6 @@ static struct platform_driver hvc_tile_driver = { · 177 unmodified lines
178178 .shutdown = hvc_tile_shutdown,
179179 .driver = {
180180 .name = "hvc-tile",
181− .owner = THIS_MODULE,
182181 }
183182 };
184183 #endif
drivers/tty/serial/8250/8250_core.c+0−1
@@ -3483,7 +3483,6 @@ static struct platform_driver serial8250_isa_driver = { · 3482 unmodified lines
34833483 .resume = serial8250_resume,
34843484 .driver = {
34853485 .name = "serial8250",
3486− .owner = THIS_MODULE,
34873486 },
34883487 };
34893488
drivers/tty/serial/8250/8250_dw.c+0−1
@@ -584,7 +584,6 @@ MODULE_DEVICE_TABLE(acpi, dw8250_acpi_match); · 583 unmodified lines
584584 static struct platform_driver dw8250_platform_driver = {
585585 .driver = {
586586 .name = "dw-apb-uart",
587− .owner = THIS_MODULE,
588587 .pm = &dw8250_pm_ops,
589588 .of_match_table = dw8250_of_match,
590589 .acpi_match_table = ACPI_PTR(dw8250_acpi_match),
drivers/tty/serial/8250/8250_em.c+0−1
@@ -159,7 +159,6 @@ static struct platform_driver serial8250_em_platform_driver = { · 158 unmodified lines
159159 .driver = {
160160 .name = "serial8250-em",
161161 .of_match_table = serial8250_em_dt_ids,
162− .owner = THIS_MODULE,
163162 },
164163 .probe = serial8250_em_probe,
165164 .remove = serial8250_em_remove,
drivers/tty/serial/altera_jtaguart.c+0−1
@@ -475,7 +475,6 @@ static struct platform_driver altera_jtaguart_platform_driver = { · 474 unmodified lines
475475 .remove = altera_jtaguart_remove,
476476 .driver = {
477477 .name = DRV_NAME,
478− .owner = THIS_MODULE,
479478 .of_match_table = of_match_ptr(altera_jtaguart_match),
480479 },
481480 };
drivers/tty/serial/altera_uart.c+0−1
@@ -623,7 +623,6 @@ static struct platform_driver altera_uart_platform_driver = { · 622 unmodified lines
623623 .remove = altera_uart_remove,
624624 .driver = {
625625 .name = DRV_NAME,
626− .owner = THIS_MODULE,
627626 .of_match_table = of_match_ptr(altera_uart_match),
628627 },
629628 };
drivers/tty/serial/apbuart.c+0−1
@@ -585,7 +585,6 @@ static struct of_device_id apbuart_match[] = { · 584 unmodified lines
585585 static struct platform_driver grlib_apbuart_of_driver = {
586586 .probe = apbuart_probe,
587587 .driver = {
588− .owner = THIS_MODULE,
589588 .name = "grlib-apbuart",
590589 .of_match_table = apbuart_match,
591590 },
drivers/tty/serial/ar933x_uart.c+0−1
@@ -744,7 +744,6 @@ static struct platform_driver ar933x_uart_platform_driver = { · 743 unmodified lines
744744 .remove = ar933x_uart_remove,
745745 .driver = {
746746 .name = DRIVER_NAME,
747− .owner = THIS_MODULE,
748747 .of_match_table = of_match_ptr(ar933x_uart_of_ids),
749748 },
750749 };
drivers/tty/serial/arc_uart.c+0−1
@@ -653,7 +653,6 @@ static struct platform_driver arc_platform_driver = { · 652 unmodified lines
653653 .remove = arc_serial_remove,
654654 .driver = {
655655 .name = DRIVER_NAME,
656− .owner = THIS_MODULE,
657656 .of_match_table = arc_uart_dt_ids,
658657 },
659658 };
drivers/tty/serial/atmel_serial.c+0−1
@@ -2650,7 +2650,6 @@ static struct platform_driver atmel_serial_driver = { · 2649 unmodified lines
26502650 .resume = atmel_serial_resume,
26512651 .driver = {
26522652 .name = "atmel_usart",
2653− .owner = THIS_MODULE,
26542653 .of_match_table = of_match_ptr(atmel_serial_dt_ids),
26552654 },
26562655 };
drivers/tty/serial/bcm63xx_uart.c+0−1
@@ -885,7 +885,6 @@ static struct platform_driver bcm_uart_platform_driver = { · 884 unmodified lines
885885 .probe = bcm_uart_probe,
886886 .remove = bcm_uart_remove,
887887 .driver = {
888− .owner = THIS_MODULE,
889888 .name = "bcm63xx_uart",
890889 .of_match_table = bcm63xx_of_match,
891890 },
drivers/tty/serial/bfin_uart.c+0−1
@@ -1387,7 +1387,6 @@ static struct platform_driver bfin_serial_driver = { · 1386 unmodified lines
13871387 .resume = bfin_serial_resume,
13881388 .driver = {
13891389 .name = DRIVER_NAME,
1390− .owner = THIS_MODULE,
13911390 },
13921391 };
13931392
drivers/tty/serial/clps711x.c+0−1
@@ -543,7 +543,6 @@ MODULE_DEVICE_TABLE(of, clps711x_uart_dt_ids); · 542 unmodified lines
543543 static struct platform_driver clps711x_uart_platform = {
544544 .driver = {
545545 .name = "clps711x-uart",
546− .owner = THIS_MODULE,
547546 .of_match_table = of_match_ptr(clps711x_uart_dt_ids),
548547 },
549548 .probe = uart_clps711x_probe,
drivers/tty/serial/cpm_uart/cpm_uart_core.c+0−1
@@ -1454,7 +1454,6 @@ static struct of_device_id cpm_uart_match[] = { · 1453 unmodified lines
14541454 static struct platform_driver cpm_uart_driver = {
14551455 .driver = {
14561456 .name = "cpm_uart",
1457− .owner = THIS_MODULE,
14581457 .of_match_table = cpm_uart_match,
14591458 },
14601459 .probe = cpm_uart_probe,
drivers/tty/serial/efm32-uart.c+0−1
@@ -814,7 +814,6 @@ static struct platform_driver efm32_uart_driver = { · 813 unmodified lines
814814
815815 .driver = {
816816 .name = DRIVER_NAME,
817− .owner = THIS_MODULE,
818817 .of_match_table = efm32_uart_dt_ids,
819818 },
820819 };
drivers/tty/serial/fsl_lpuart.c+0−1
@@ -1888,7 +1888,6 @@ static struct platform_driver lpuart_driver = { · 1887 unmodified lines
18881888 .remove = lpuart_remove,
18891889 .driver = {
18901890 .name = "fsl-lpuart",
1891− .owner = THIS_MODULE,
18921891 .of_match_table = lpuart_dt_ids,
18931892 .pm = &lpuart_pm_ops,
18941893 },
drivers/tty/serial/imx.c+0−1
@@ -1952,7 +1952,6 @@ static struct platform_driver serial_imx_driver = { · 1951 unmodified lines
19521952 .id_table = imx_uart_devtype,
19531953 .driver = {
19541954 .name = "imx-uart",
1955− .owner = THIS_MODULE,
19561955 .of_match_table = imx_uart_dt_ids,
19571956 },
19581957 };
drivers/tty/serial/lantiq.c+0−1
@@ -745,7 +745,6 @@ MODULE_DEVICE_TABLE(of, ltq_asc_match); · 744 unmodified lines
745745 static struct platform_driver lqasc_driver = {
746746 .driver = {
747747 .name = DRVNAME,
748− .owner = THIS_MODULE,
749748 .of_match_table = ltq_asc_match,
750749 },
751750 };
drivers/tty/serial/lpc32xx_hs.c+0−1
@@ -768,7 +768,6 @@ static struct platform_driver serial_hs_lpc32xx_driver = { · 767 unmodified lines
768768 .resume = serial_hs_lpc32xx_resume,
769769 .driver = {
770770 .name = MODNAME,
771− .owner = THIS_MODULE,
772771 .of_match_table = serial_hs_lpc32xx_dt_ids,
773772 },
774773 };
drivers/tty/serial/mcf.c+0−1
@@ -667,7 +667,6 @@ static struct platform_driver mcf_platform_driver = { · 666 unmodified lines
667667 .remove = mcf_remove,
668668 .driver = {
669669 .name = "mcfuart",
670− .owner = THIS_MODULE,
671670 },
672671 };
673672
drivers/tty/serial/meson_uart.c+0−1
@@ -599,7 +599,6 @@ static struct platform_driver meson_uart_platform_driver = { · 598 unmodified lines
599599 .probe = meson_uart_probe,
600600 .remove = meson_uart_remove,
601601 .driver = {
602− .owner = THIS_MODULE,
603602 .name = "meson_uart",
604603 .of_match_table = meson_uart_dt_match,
605604 },
drivers/tty/serial/mpc52xx_uart.c+0−1
@@ -1889,7 +1889,6 @@ static struct platform_driver mpc52xx_uart_of_driver = { · 1888 unmodified lines
18891889 #endif
18901890 .driver = {
18911891 .name = "mpc52xx-psc-uart",
1892− .owner = THIS_MODULE,
18931892 .of_match_table = mpc52xx_uart_of_match,
18941893 },
18951894 };
drivers/tty/serial/mpsc.c+0−1
@@ -2124,7 +2124,6 @@ static struct platform_driver mpsc_driver = { · 2123 unmodified lines
21242124 .remove = mpsc_drv_remove,
21252125 .driver = {
21262126 .name = MPSC_CTLR_NAME,
2127− .owner = THIS_MODULE,
21282127 },
21292128 };
21302129
drivers/tty/serial/msm_serial.c+0−1
@@ -1119,7 +1119,6 @@ static struct platform_driver msm_platform_driver = { · 1118 unmodified lines
11191119 .probe = msm_serial_probe,
11201120 .driver = {
11211121 .name = "msm_serial",
1122− .owner = THIS_MODULE,
11231122 .of_match_table = msm_match_table,
11241123 },
11251124 };
drivers/tty/serial/msm_serial_hs.c+0−1
@@ -1838,7 +1838,6 @@ static struct platform_driver msm_serial_hs_platform_driver = { · 1837 unmodified lines
18381838 .remove = msm_hs_remove,
18391839 .driver = {
18401840 .name = "msm_serial_hs",
1841− .owner = THIS_MODULE,
18421841 .pm = &msm_hs_dev_pm_ops,
18431842 },
18441843 };
drivers/tty/serial/mxs-auart.c+0−1
@@ -1339,7 +1339,6 @@ static struct platform_driver mxs_auart_driver = { · 1338 unmodified lines
13391339 .remove = mxs_auart_remove,
13401340 .driver = {
13411341 .name = "mxs-auart",
1342− .owner = THIS_MODULE,
13431342 .of_match_table = mxs_auart_dt_ids,
13441343 },
13451344 };
drivers/tty/serial/netx-serial.c+0−1
@@ -710,7 +710,6 @@ static struct platform_driver serial_netx_driver = { · 709 unmodified lines
710710
711711 .driver = {
712712 .name = DRIVER_NAME,
713− .owner = THIS_MODULE,
714713 },
715714 };
716715
drivers/tty/serial/of_serial.c+0−1
@@ -342,7 +342,6 @@ static struct of_device_id of_platform_serial_table[] = { · 341 unmodified lines
342342 static struct platform_driver of_platform_serial_driver = {
343343 .driver = {
344344 .name = "of_serial",
345− .owner = THIS_MODULE,
346345 .of_match_table = of_platform_serial_table,
347346 },
348347 .probe = of_platform_serial_probe,
drivers/tty/serial/pmac_zilog.c+0−1
@@ -1876,7 +1876,6 @@ static struct platform_driver pmz_driver = { · 1875 unmodified lines
18761876 .remove = __exit_p(pmz_detach),
18771877 .driver = {
18781878 .name = "scc",
1879− .owner = THIS_MODULE,
18801879 },
18811880 };
18821881
drivers/tty/serial/pnx8xxx_uart.c+0−1
@@ -829,7 +829,6 @@ static int pnx8xxx_serial_remove(struct platform_device *pdev) · 828 unmodified lines
829829 static struct platform_driver pnx8xxx_serial_driver = {
830830 .driver = {
831831 .name = "pnx8xxx-uart",
832− .owner = THIS_MODULE,
833832 },
834833 .probe = pnx8xxx_serial_probe,
835834 .remove = pnx8xxx_serial_remove,
drivers/tty/serial/pxa.c+0−1
@@ -933,7 +933,6 @@ static struct platform_driver serial_pxa_driver = { · 932 unmodified lines
933933
934934 .driver = {
935935 .name = "pxa2xx-uart",
936− .owner = THIS_MODULE,
937936 #ifdef CONFIG_PM
938937 .pm = &serial_pxa_pm_ops,
939938 #endif
drivers/tty/serial/sa1100.c+0−1
@@ -898,7 +898,6 @@ static struct platform_driver sa11x0_serial_driver = { · 897 unmodified lines
898898 .resume = sa1100_serial_resume,
899899 .driver = {
900900 .name = "sa11x0-uart",
901− .owner = THIS_MODULE,
902901 },
903902 };
904903
drivers/tty/serial/samsung.c+0−1
@@ -1834,7 +1834,6 @@ static struct platform_driver samsung_serial_driver = { · 1833 unmodified lines
18341834 .id_table = s3c24xx_serial_driver_ids,
18351835 .driver = {
18361836 .name = "samsung-uart",
1837− .owner = THIS_MODULE,
18381837 .pm = SERIAL_SAMSUNG_PM_OPS,
18391838 .of_match_table = of_match_ptr(s3c24xx_uart_dt_match),
18401839 },
drivers/tty/serial/sccnxp.c+0−1
@@ -1012,7 +1012,6 @@ static int sccnxp_remove(struct platform_device *pdev) · 1011 unmodified lines
10121012 static struct platform_driver sccnxp_uart_driver = {
10131013 .driver = {
10141014 .name = SCCNXP_NAME,
1015− .owner = THIS_MODULE,
10161015 },
10171016 .probe = sccnxp_probe,
10181017 .remove = sccnxp_remove,
drivers/tty/serial/serial_txx9.c+0−1
@@ -1165,7 +1165,6 @@ static struct platform_driver serial_txx9_plat_driver = { · 1164 unmodified lines
11651165 #endif
11661166 .driver = {
11671167 .name = "serial_txx9",
1168− .owner = THIS_MODULE,
11691168 },
11701169 };
11711170
drivers/tty/serial/sh-sci.c+0−1
@@ -2635,7 +2635,6 @@ static struct platform_driver sci_driver = { · 2634 unmodified lines
26352635 .remove = sci_remove,
26362636 .driver = {
26372637 .name = "sh-sci",
2638− .owner = THIS_MODULE,
26392638 .pm = &sci_dev_pm_ops,
26402639 .of_match_table = of_match_ptr(of_sci_match),
26412640 },
drivers/tty/serial/sirfsoc_uart.c+0−1
@@ -1497,7 +1497,6 @@ static struct platform_driver sirfsoc_uart_driver = { · 1496 unmodified lines
14971497 .remove = sirfsoc_uart_remove,
14981498 .driver = {
14991499 .name = SIRFUART_PORT_NAME,
1500− .owner = THIS_MODULE,
15011500 .of_match_table = sirfsoc_uart_ids,
15021501 .pm = &sirfsoc_uart_pm_ops,
15031502 },
drivers/tty/serial/st-asc.c+0−1
@@ -895,7 +895,6 @@ static struct platform_driver asc_serial_driver = { · 894 unmodified lines
895895 .driver = {
896896 .name = DRIVER_NAME,
897897 .pm = &asc_serial_pm_ops,
898− .owner = THIS_MODULE,
899898 .of_match_table = of_match_ptr(asc_match),
900899 },
901900 };
drivers/tty/serial/sunhv.c+0−1
@@ -626,7 +626,6 @@ MODULE_DEVICE_TABLE(of, hv_match); · 625 unmodified lines
626626 static struct platform_driver hv_driver = {
627627 .driver = {
628628 .name = "hv",
629− .owner = THIS_MODULE,
630629 .of_match_table = hv_match,
631630 },
632631 .probe = hv_probe,
drivers/tty/serial/sunsab.c+0−1
@@ -1104,7 +1104,6 @@ MODULE_DEVICE_TABLE(of, sab_match); · 1103 unmodified lines
11041104 static struct platform_driver sab_driver = {
11051105 .driver = {
11061106 .name = "sab",
1107− .owner = THIS_MODULE,
11081107 .of_match_table = sab_match,
11091108 },
11101109 .probe = sab_probe,
drivers/tty/serial/sunsu.c+0−1
@@ -1550,7 +1550,6 @@ MODULE_DEVICE_TABLE(of, su_match); · 1549 unmodified lines
15501550 static struct platform_driver su_driver = {
15511551 .driver = {
15521552 .name = "su",
1553− .owner = THIS_MODULE,
15541553 .of_match_table = su_match,
15551554 },
15561555 .probe = su_probe,
drivers/tty/serial/sunzilog.c+0−1
@@ -1541,7 +1541,6 @@ MODULE_DEVICE_TABLE(of, zs_match); · 1540 unmodified lines
15411541 static struct platform_driver zs_driver = {
15421542 .driver = {
15431543 .name = "zs",
1544− .owner = THIS_MODULE,
15451544 .of_match_table = zs_match,
15461545 },
15471546 .probe = zs_probe,
drivers/tty/serial/timbuart.c+0−1
@@ -503,7 +503,6 @@ static int timbuart_remove(struct platform_device *dev) · 502 unmodified lines
503503 static struct platform_driver timbuart_platform_driver = {
504504 .driver = {
505505 .name = "timb-uart",
506− .owner = THIS_MODULE,
507506 },
508507 .probe = timbuart_probe,
509508 .remove = timbuart_remove,
drivers/tty/serial/ucc_uart.c+0−1
@@ -1485,7 +1485,6 @@ MODULE_DEVICE_TABLE(of, ucc_uart_match); · 1484 unmodified lines
14851485 static struct platform_driver ucc_uart_of_driver = {
14861486 .driver = {
14871487 .name = "ucc_uart",
1488− .owner = THIS_MODULE,
14891488 .of_match_table = ucc_uart_match,
14901489 },
14911490 .probe = ucc_uart_probe,
drivers/tty/serial/vr41xx_siu.c+0−1
@@ -954,7 +954,6 @@ static struct platform_driver siu_device_driver = { · 953 unmodified lines
954954 .resume = siu_resume,
955955 .driver = {
956956 .name = "SIU",
957− .owner = THIS_MODULE,
958957 },
959958 };
960959
drivers/tty/serial/vt8500_serial.c+0−1
@@ -745,7 +745,6 @@ static struct platform_driver vt8500_platform_driver = { · 744 unmodified lines
745745 .remove = vt8500_serial_remove,
746746 .driver = {
747747 .name = "vt8500_serial",
748− .owner = THIS_MODULE,
749748 .of_match_table = wmt_dt_ids,
750749 },
751750 };
drivers/uio/uio_dmem_genirq.c+0−1
@@ -343,7 +343,6 @@ static struct platform_driver uio_dmem_genirq = { · 342 unmodified lines
343343 .remove = uio_dmem_genirq_remove,
344344 .driver = {
345345 .name = DRIVER_NAME,
346− .owner = THIS_MODULE,
347346 .pm = &uio_dmem_genirq_dev_pm_ops,
348347 .of_match_table = of_match_ptr(uio_of_genirq_match),
349348 },
drivers/uio/uio_pdrv_genirq.c+0−1
@@ -266,7 +266,6 @@ static struct platform_driver uio_pdrv_genirq = { · 265 unmodified lines
266266 .remove = uio_pdrv_genirq_remove,
267267 .driver = {
268268 .name = DRIVER_NAME,
269− .owner = THIS_MODULE,
270269 .pm = &uio_pdrv_genirq_dev_pm_ops,
271270 .of_match_table = of_match_ptr(uio_of_genirq_match),
272271 },
drivers/uio/uio_pruss.c+0−1
@@ -231,7 +231,6 @@ static struct platform_driver pruss_driver = { · 230 unmodified lines
231231 .remove = pruss_remove,
232232 .driver = {
233233 .name = DRV_NAME,
234− .owner = THIS_MODULE,
235234 },
236235 };
237236
drivers/usb/c67x00/c67x00-drv.c+0−1
@@ -221,7 +221,6 @@ static struct platform_driver c67x00_driver = { · 220 unmodified lines
221221 .probe = c67x00_drv_probe,
222222 .remove = c67x00_drv_remove,
223223 .driver = {
224− .owner = THIS_MODULE,
225224 .name = "c67x00",
226225 },
227226 };
drivers/usb/chipidea/ci_hdrc_imx.c+0−1
@@ -247,7 +247,6 @@ static struct platform_driver ci_hdrc_imx_driver = { · 246 unmodified lines
247247 .remove = ci_hdrc_imx_remove,
248248 .driver = {
249249 .name = "imx_usb",
250− .owner = THIS_MODULE,
251250 .of_match_table = ci_hdrc_imx_dt_ids,
252251 .pm = &ci_hdrc_imx_pm_ops,
253252 },
drivers/usb/chipidea/ci_hdrc_zevio.c+0−1
@@ -61,7 +61,6 @@ static struct platform_driver ci_hdrc_zevio_driver = { · 60 unmodified lines
6161 .remove = ci_hdrc_zevio_remove,
6262 .driver = {
6363 .name = "zevio_usb",
64− .owner = THIS_MODULE,
6564 .of_match_table = ci_hdrc_zevio_dt_ids,
6665 },
6766 };
drivers/usb/chipidea/core.c+0−1
@@ -868,7 +868,6 @@ static struct platform_driver ci_hdrc_driver = { · 867 unmodified lines
868868 .driver = {
869869 .name = "ci_hdrc",
870870 .pm = &ci_pm_ops,
871− .owner = THIS_MODULE,
872871 },
873872 };
874873
drivers/usb/chipidea/usbmisc_imx.c+0−1
@@ -370,7 +370,6 @@ static struct platform_driver usbmisc_imx_driver = { · 369 unmodified lines
370370 .remove = usbmisc_imx_remove,
371371 .driver = {
372372 .name = "usbmisc_imx",
373− .owner = THIS_MODULE,
374373 .of_match_table = usbmisc_imx_dt_ids,
375374 },
376375 };
drivers/usb/gadget/legacy/hid.c+0−1
@@ -264,7 +264,6 @@ static __refdata struct usb_composite_driver hidg_driver = { · 263 unmodified lines
264264 static struct platform_driver hidg_plat_driver = {
265265 .remove = hidg_plat_driver_remove,
266266 .driver = {
267− .owner = THIS_MODULE,
268267 .name = "hidg",
269268 },
270269 };
drivers/usb/gadget/udc/at91_udc.c+0−1
@@ -2005,7 +2005,6 @@ static struct platform_driver at91_udc_driver = { · 2004 unmodified lines
20052005 .resume = at91udc_resume,
20062006 .driver = {
20072007 .name = (char *) driver_name,
2008− .owner = THIS_MODULE,
20092008 .of_match_table = of_match_ptr(at91_udc_dt_ids),
20102009 },
20112010 };
drivers/usb/gadget/udc/atmel_usba_udc.c+0−1
@@ -2105,7 +2105,6 @@ static struct platform_driver udc_driver = { · 2104 unmodified lines
21052105 .remove = __exit_p(usba_udc_remove),
21062106 .driver = {
21072107 .name = "atmel_usba_udc",
2108− .owner = THIS_MODULE,
21092108 .of_match_table = of_match_ptr(atmel_udc_dt_ids),
21102109 },
21112110 };
drivers/usb/gadget/udc/bcm63xx_udc.c+0−1
@@ -2424,7 +2424,6 @@ static struct platform_driver bcm63xx_udc_driver = { · 2423 unmodified lines
24242424 .remove = bcm63xx_udc_remove,
24252425 .driver = {
24262426 .name = DRV_MODULE_NAME,
2427− .owner = THIS_MODULE,
24282427 },
24292428 };
24302429 module_platform_driver(bcm63xx_udc_driver);
drivers/usb/gadget/udc/dummy_hcd.c+0−2
@@ -1037,7 +1037,6 @@ static struct platform_driver dummy_udc_driver = { · 1036 unmodified lines
10371037 .resume = dummy_udc_resume,
10381038 .driver = {
10391039 .name = (char *) gadget_name,
1040− .owner = THIS_MODULE,
10411040 },
10421041 };
10431042
@@ -2606,7 +2605,6 @@ static struct platform_driver dummy_hcd_driver = { · 1562 unmodified lines
26062605 .resume = dummy_hcd_resume,
26072606 .driver = {
26082607 .name = (char *) driver_name,
2609− .owner = THIS_MODULE,
26102608 },
26112609 };
26122610
drivers/usb/gadget/udc/fotg210-udc.c+0−1
@@ -1202,7 +1202,6 @@ err_alloc: · 1201 unmodified lines
12021202 static struct platform_driver fotg210_driver = {
12031203 .driver = {
12041204 .name = (char *)udc_name,
1205− .owner = THIS_MODULE,
12061205 },
12071206 .probe = fotg210_udc_probe,
12081207 .remove = fotg210_udc_remove,
drivers/usb/gadget/udc/fsl_qe_udc.c+0−1
@@ -2702,7 +2702,6 @@ MODULE_DEVICE_TABLE(of, qe_udc_match); · 2701 unmodified lines
27022702 static struct platform_driver udc_driver = {
27032703 .driver = {
27042704 .name = driver_name,
2705− .owner = THIS_MODULE,
27062705 .of_match_table = qe_udc_match,
27072706 },
27082707 .probe = qe_udc_probe,
drivers/usb/gadget/udc/fsl_udc_core.c+0−1
@@ -2670,7 +2670,6 @@ static struct platform_driver udc_driver = { · 2669 unmodified lines
26702670 .resume = fsl_udc_resume,
26712671 .driver = {
26722672 .name = driver_name,
2673− .owner = THIS_MODULE,
26742673 /* udc suspend/resume called from OTG driver */
26752674 .suspend = fsl_udc_otg_suspend,
26762675 .resume = fsl_udc_otg_resume,
drivers/usb/gadget/udc/fusb300_udc.c+0−1
@@ -1495,7 +1495,6 @@ static struct platform_driver fusb300_driver = { · 1494 unmodified lines
14951495 .remove = __exit_p(fusb300_remove),
14961496 .driver = {
14971497 .name = (char *) udc_name,
1498− .owner = THIS_MODULE,
14991498 },
15001499 };
15011500
drivers/usb/gadget/udc/gr_udc.c+0−1
@@ -2256,7 +2256,6 @@ MODULE_DEVICE_TABLE(of, gr_match); · 2255 unmodified lines
22562256 static struct platform_driver gr_driver = {
22572257 .driver = {
22582258 .name = DRIVER_NAME,
2259− .owner = THIS_MODULE,
22602259 .of_match_table = gr_match,
22612260 },
22622261 .probe = gr_probe,
drivers/usb/gadget/udc/lpc32xx_udc.c+0−1
@@ -3405,7 +3405,6 @@ static struct platform_driver lpc32xx_udc_driver = { · 3404 unmodified lines
34053405 .resume = lpc32xx_udc_resume,
34063406 .driver = {
34073407 .name = (char *) driver_name,
3408− .owner = THIS_MODULE,
34093408 .of_match_table = of_match_ptr(lpc32xx_udc_of_match),
34103409 },
34113410 };
drivers/usb/gadget/udc/m66592-udc.c+0−1
@@ -1698,7 +1698,6 @@ static struct platform_driver m66592_driver = { · 1697 unmodified lines
16981698 .remove = __exit_p(m66592_remove),
16991699 .driver = {
17001700 .name = (char *) udc_name,
1701− .owner = THIS_MODULE,
17021701 },
17031702 };
17041703
drivers/usb/gadget/udc/mv_u3d_core.c+0−1
@@ -2052,7 +2052,6 @@ static struct platform_driver mv_u3d_driver = { · 2051 unmodified lines
20522052 .remove = mv_u3d_remove,
20532053 .shutdown = mv_u3d_shutdown,
20542054 .driver = {
2055− .owner = THIS_MODULE,
20562055 .name = "mv-u3d",
20572056 .pm = &mv_u3d_pm_ops,
20582057 },
drivers/usb/gadget/udc/mv_udc_core.c+0−1
@@ -2415,7 +2415,6 @@ static struct platform_driver udc_driver = { · 2414 unmodified lines
24152415 .remove = mv_udc_remove,
24162416 .shutdown = mv_udc_shutdown,
24172417 .driver = {
2418− .owner = THIS_MODULE,
24192418 .name = "mv-udc",
24202419 #ifdef CONFIG_PM
24212420 .pm = &mv_udc_pm_ops,
drivers/usb/gadget/udc/net2272.c+0−1
@@ -2684,7 +2684,6 @@ static struct platform_driver net2272_plat_driver = { · 2683 unmodified lines
26842684 .remove = net2272_plat_remove,
26852685 .driver = {
26862686 .name = driver_name,
2687− .owner = THIS_MODULE,
26882687 },
26892688 /* FIXME .suspend, .resume */
26902689 };
drivers/usb/gadget/udc/omap_udc.c+0−1
@@ -3024,7 +3024,6 @@ static struct platform_driver udc_driver = { · 3023 unmodified lines
30243024 .suspend = omap_udc_suspend,
30253025 .resume = omap_udc_resume,
30263026 .driver = {
3027− .owner = THIS_MODULE,
30283027 .name = (char *) driver_name,
30293028 },
30303029 };
drivers/usb/gadget/udc/pxa25x_udc.c+0−1
@@ -2292,7 +2292,6 @@ static struct platform_driver udc_driver = { · 2291 unmodified lines
22922292 .suspend = pxa25x_udc_suspend,
22932293 .resume = pxa25x_udc_resume,
22942294 .driver = {
2295− .owner = THIS_MODULE,
22962295 .name = "pxa25x-udc",
22972296 },
22982297 };
drivers/usb/gadget/udc/pxa27x_udc.c+0−1
@@ -2591,7 +2591,6 @@ MODULE_ALIAS("platform:pxa27x-udc"); · 2590 unmodified lines
25912591 static struct platform_driver udc_driver = {
25922592 .driver = {
25932593 .name = "pxa27x-udc",
2594− .owner = THIS_MODULE,
25952594 .of_match_table = of_match_ptr(udc_pxa_dt_ids),
25962595 },
25972596 .probe = pxa_udc_probe,
drivers/usb/gadget/udc/s3c-hsudc.c+0−1
@@ -1344,7 +1344,6 @@ err_supplies: · 1343 unmodified lines
13441344
13451345 static struct platform_driver s3c_hsudc_driver = {
13461346 .driver = {
1347− .owner = THIS_MODULE,
13481347 .name = "s3c-hsudc",
13491348 },
13501349 .probe = s3c_hsudc_probe,
drivers/usb/gadget/udc/s3c2410_udc.c+0−1
@@ -1995,7 +1995,6 @@ MODULE_DEVICE_TABLE(platform, s3c_udc_ids); · 1994 unmodified lines
19951995 static struct platform_driver udc_driver_24x0 = {
19961996 .driver = {
19971997 .name = "s3c24x0-usbgadget",
1998− .owner = THIS_MODULE,
19991998 },
20001999 .probe = s3c2410_udc_probe,
20012000 .remove = s3c2410_udc_remove,
drivers/usb/host/ehci-exynos.c+0−1
@@ -317,7 +317,6 @@ static struct platform_driver exynos_ehci_driver = { · 316 unmodified lines
317317 .shutdown = usb_hcd_platform_shutdown,
318318 .driver = {
319319 .name = "exynos-ehci",
320− .owner = THIS_MODULE,
321320 .pm = &exynos_ehci_pm_ops,
322321 .of_match_table = of_match_ptr(exynos_ehci_match),
323322 }
drivers/usb/host/ehci-orion.c+0−1
@@ -313,7 +313,6 @@ static struct platform_driver ehci_orion_driver = { · 312 unmodified lines
313313 .shutdown = usb_hcd_platform_shutdown,
314314 .driver = {
315315 .name = "orion-ehci",
316− .owner = THIS_MODULE,
317316 .of_match_table = ehci_orion_dt_ids,
318317 },
319318 };
drivers/usb/host/ehci-platform.c+0−1
@@ -368,7 +368,6 @@ static struct platform_driver ehci_platform_driver = { · 367 unmodified lines
368368 .remove = ehci_platform_remove,
369369 .shutdown = usb_hcd_platform_shutdown,
370370 .driver = {
371− .owner = THIS_MODULE,
372371 .name = "ehci-platform",
373372 .pm = &ehci_platform_pm_ops,
374373 .of_match_table = vt8500_ehci_ids,
drivers/usb/host/ehci-w90x900.c+0−1
@@ -121,7 +121,6 @@ static struct platform_driver ehci_hcd_w90x900_driver = { · 120 unmodified lines
121121 .remove = ehci_w90x900_remove,
122122 .driver = {
123123 .name = "w90x900-ehci",
124− .owner = THIS_MODULE,
125124 },
126125 };
127126
drivers/usb/host/fhci-hcd.c+0−1
@@ -821,7 +821,6 @@ MODULE_DEVICE_TABLE(of, of_fhci_match); · 820 unmodified lines
821821 static struct platform_driver of_fhci_driver = {
822822 .driver = {
823823 .name = "fsl,usb-fhci",
824− .owner = THIS_MODULE,
825824 .of_match_table = of_fhci_match,
826825 },
827826 .probe = of_fhci_probe,
drivers/usb/host/fsl-mph-dr-of.c+0−1
@@ -326,7 +326,6 @@ static const struct of_device_id fsl_usb2_mph_dr_of_match[] = { · 325 unmodified lines
326326 static struct platform_driver fsl_usb2_mph_dr_driver = {
327327 .driver = {
328328 .name = "fsl-usb2-mph-dr",
329− .owner = THIS_MODULE,
330329 .of_match_table = fsl_usb2_mph_dr_of_match,
331330 },
332331 .probe = fsl_usb2_mph_dr_of_probe,
drivers/usb/host/isp116x-hcd.c+0−1
@@ -1707,7 +1707,6 @@ static struct platform_driver isp116x_driver = { · 1706 unmodified lines
17071707 .resume = isp116x_resume,
17081708 .driver = {
17091709 .name = hcd_name,
1710− .owner = THIS_MODULE,
17111710 },
17121711 };
17131712
drivers/usb/host/isp1362-hcd.c+0−1
@@ -2778,7 +2778,6 @@ static struct platform_driver isp1362_driver = { · 2777 unmodified lines
27782778 .resume = isp1362_resume,
27792779 .driver = {
27802780 .name = hcd_name,
2781− .owner = THIS_MODULE,
27822781 },
27832782 };
27842783
drivers/usb/host/isp1760-if.c+0−1
@@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(of, of_isp1760_match); · 160 unmodified lines
161161 static struct platform_driver isp1760_of_driver = {
162162 .driver = {
163163 .name = "nxp-isp1760",
164− .owner = THIS_MODULE,
165164 .of_match_table = of_isp1760_match,
166165 },
167166 .probe = of_isp1760_probe,
drivers/usb/host/ohci-at91.c+0−1
@@ -655,7 +655,6 @@ static struct platform_driver ohci_hcd_at91_driver = { · 654 unmodified lines
655655 .resume = ohci_hcd_at91_drv_resume,
656656 .driver = {
657657 .name = "at91_ohci",
658− .owner = THIS_MODULE,
659658 .of_match_table = of_match_ptr(at91_ohci_dt_ids),
660659 },
661660 };
drivers/usb/host/ohci-exynos.c+0−1
@@ -285,7 +285,6 @@ static struct platform_driver exynos_ohci_driver = { · 284 unmodified lines
285285 .shutdown = exynos_ohci_shutdown,
286286 .driver = {
287287 .name = "exynos-ohci",
288− .owner = THIS_MODULE,
289288 .pm = &exynos_ohci_pm_ops,
290289 .of_match_table = of_match_ptr(exynos_ohci_match),
291290 }
drivers/usb/host/ohci-nxp.c+0−1
@@ -322,7 +322,6 @@ MODULE_DEVICE_TABLE(of, ohci_hcd_nxp_match); · 321 unmodified lines
322322 static struct platform_driver ohci_hcd_nxp_driver = {
323323 .driver = {
324324 .name = "usb-ohci",
325− .owner = THIS_MODULE,
326325 .of_match_table = of_match_ptr(ohci_hcd_nxp_match),
327326 },
328327 .probe = ohci_hcd_nxp_probe,
drivers/usb/host/ohci-omap.c+0−1
@@ -481,7 +481,6 @@ static struct platform_driver ohci_hcd_omap_driver = { · 480 unmodified lines
481481 .resume = ohci_omap_resume,
482482 #endif
483483 .driver = {
484− .owner = THIS_MODULE,
485484 .name = "ohci",
486485 },
487486 };
drivers/usb/host/ohci-platform.c+0−1
@@ -347,7 +347,6 @@ static struct platform_driver ohci_platform_driver = { · 346 unmodified lines
347347 .remove = ohci_platform_remove,
348348 .shutdown = usb_hcd_platform_shutdown,
349349 .driver = {
350− .owner = THIS_MODULE,
351350 .name = "ohci-platform",
352351 .pm = &ohci_platform_pm_ops,
353352 .of_match_table = ohci_platform_ids,
drivers/usb/host/ohci-pxa27x.c+0−1
@@ -603,7 +603,6 @@ static struct platform_driver ohci_hcd_pxa27x_driver = { · 602 unmodified lines
603603 .shutdown = usb_hcd_platform_shutdown,
604604 .driver = {
605605 .name = "pxa27x-ohci",
606− .owner = THIS_MODULE,
607606 .of_match_table = of_match_ptr(pxa_ohci_dt_ids),
608607 #ifdef CONFIG_PM
609608 .pm = &ohci_hcd_pxa27x_pm_ops,
drivers/usb/host/ohci-s3c2410.c+0−1
@@ -462,7 +462,6 @@ static struct platform_driver ohci_hcd_s3c2410_driver = { · 461 unmodified lines
462462 .remove = ohci_hcd_s3c2410_drv_remove,
463463 .shutdown = usb_hcd_platform_shutdown,
464464 .driver = {
465− .owner = THIS_MODULE,
466465 .name = "s3c2410-ohci",
467466 .pm = &ohci_hcd_s3c2410_pm_ops,
468467 },
drivers/usb/host/ohci-spear.c+0−1
@@ -171,7 +171,6 @@ static struct platform_driver spear_ohci_hcd_driver = { · 170 unmodified lines
171171 .resume = spear_ohci_hcd_drv_resume,
172172 #endif
173173 .driver = {
174− .owner = THIS_MODULE,
175174 .name = "spear-ohci",
176175 .of_match_table = spear_ohci_id_table,
177176 },
drivers/usb/host/r8a66597-hcd.c+0−1
@@ -2535,7 +2535,6 @@ static struct platform_driver r8a66597_driver = { · 2534 unmodified lines
25352535 .remove = r8a66597_remove,
25362536 .driver = {
25372537 .name = hcd_name,
2538− .owner = THIS_MODULE,
25392538 .pm = R8A66597_DEV_PM_OPS,
25402539 },
25412540 };
drivers/usb/host/u132-hcd.c+0−1
@@ -3218,7 +3218,6 @@ static struct platform_driver u132_platform_driver = { · 3217 unmodified lines
32183218 .resume = u132_resume,
32193219 .driver = {
32203220 .name = hcd_name,
3221− .owner = THIS_MODULE,
32223221 },
32233222 };
32243223 static int __init u132_hcd_init(void)
drivers/usb/misc/usb3503.c+0−1
@@ -401,7 +401,6 @@ static struct platform_driver usb3503_platform_driver = { · 400 unmodified lines
401401 .driver = {
402402 .name = USB3503_I2C_NAME,
403403 .of_match_table = of_match_ptr(usb3503_of_match),
404− .owner = THIS_MODULE,
405404 },
406405 .probe = usb3503_platform_probe,
407406 };
drivers/usb/musb/musb_core.c+0−1
@@ -2519,7 +2519,6 @@ static struct platform_driver musb_driver = { · 2518 unmodified lines
25192519 .driver = {
25202520 .name = (char *)musb_driver_name,
25212521 .bus = &platform_bus_type,
2522− .owner = THIS_MODULE,
25232522 .pm = MUSB_DEV_PM_OPS,
25242523 },
25252524 .probe = musb_probe,
drivers/usb/phy/phy-ab8500-usb.c+0−1
@@ -1518,7 +1518,6 @@ static struct platform_driver ab8500_usb_driver = { · 1517 unmodified lines
15181518 .id_table = ab8500_usb_devtype,
15191519 .driver = {
15201520 .name = "abx5x0-usb",
1521− .owner = THIS_MODULE,
15221521 },
15231522 };
15241523
drivers/usb/phy/phy-am335x-control.c+0−1
@@ -173,7 +173,6 @@ static struct platform_driver am335x_control_driver = { · 172 unmodified lines
173173 .probe = am335x_control_usb_probe,
174174 .driver = {
175175 .name = "am335x-control-usb",
176− .owner = THIS_MODULE,
177176 .of_match_table = omap_control_usb_id_table,
178177 },
179178 };
drivers/usb/phy/phy-am335x.c+0−1
@@ -137,7 +137,6 @@ static struct platform_driver am335x_phy_driver = { · 136 unmodified lines
137137 .remove = am335x_phy_remove,
138138 .driver = {
139139 .name = "am335x-phy-driver",
140− .owner = THIS_MODULE,
141140 .pm = &am335x_pm_ops,
142141 .of_match_table = am335x_phy_ids,
143142 },
drivers/usb/phy/phy-generic.c+0−1
@@ -284,7 +284,6 @@ static struct platform_driver usb_phy_generic_driver = { · 283 unmodified lines
284284 .remove = usb_phy_generic_remove,
285285 .driver = {
286286 .name = "usb_phy_generic",
287− .owner = THIS_MODULE,
288287 .of_match_table = nop_xceiv_dt_ids,
289288 },
290289 };
drivers/usb/phy/phy-gpio-vbus-usb.c+0−1
@@ -382,7 +382,6 @@ MODULE_ALIAS("platform:gpio-vbus"); · 381 unmodified lines
382382 static struct platform_driver gpio_vbus_driver = {
383383 .driver = {
384384 .name = "gpio-vbus",
385− .owner = THIS_MODULE,
386385 #ifdef CONFIG_PM
387386 .pm = &gpio_vbus_dev_pm_ops,
388387 #endif
drivers/usb/phy/phy-isp1301-omap.c+0−1
@@ -878,7 +878,6 @@ static struct platform_driver omap_otg_driver = { · 877 unmodified lines
878878 .probe = otg_probe,
879879 .remove = otg_remove,
880880 .driver = {
881− .owner = THIS_MODULE,
882881 .name = "omap_otg",
883882 },
884883 };
drivers/usb/phy/phy-keystone.c+0−1
@@ -123,7 +123,6 @@ static struct platform_driver keystone_usbphy_driver = { · 122 unmodified lines
123123 .remove = keystone_usbphy_remove,
124124 .driver = {
125125 .name = "keystone-usbphy",
126− .owner = THIS_MODULE,
127126 .of_match_table = keystone_usbphy_ids,
128127 },
129128 };
drivers/usb/phy/phy-mv-usb.c+0−1
@@ -896,7 +896,6 @@ static struct platform_driver mv_otg_driver = { · 895 unmodified lines
896896 .probe = mv_otg_probe,
897897 .remove = mv_otg_remove,
898898 .driver = {
899− .owner = THIS_MODULE,
900899 .name = driver_name,
901900 },
902901 #ifdef CONFIG_PM
drivers/usb/phy/phy-mxs-usb.c+0−1
@@ -489,7 +489,6 @@ static struct platform_driver mxs_phy_driver = { · 488 unmodified lines
489489 .remove = mxs_phy_remove,
490490 .driver = {
491491 .name = DRIVER_NAME,
492− .owner = THIS_MODULE,
493492 .of_match_table = mxs_phy_dt_ids,
494493 .pm = &mxs_phy_pm,
495494 },
drivers/usb/phy/phy-omap-otg.c+0−1
@@ -158,7 +158,6 @@ static struct platform_driver omap_otg_driver = { · 157 unmodified lines
158158 .probe = omap_otg_probe,
159159 .remove = omap_otg_remove,
160160 .driver = {
161− .owner = THIS_MODULE,
162161 .name = "omap_otg",
163162 },
164163 };
drivers/usb/phy/phy-tahvo.c+0−1
@@ -450,7 +450,6 @@ static struct platform_driver tahvo_usb_driver = { · 449 unmodified lines
450450 .remove = tahvo_usb_remove,
451451 .driver = {
452452 .name = "tahvo-usb",
453− .owner = THIS_MODULE,
454453 },
455454 };
456455 module_platform_driver(tahvo_usb_driver);
drivers/usb/phy/phy-tegra-usb.c+0−1
@@ -1081,7 +1081,6 @@ static struct platform_driver tegra_usb_phy_driver = { · 1080 unmodified lines
10811081 .remove = tegra_usb_phy_remove,
10821082 .driver = {
10831083 .name = "tegra-phy",
1084− .owner = THIS_MODULE,
10851084 .of_match_table = tegra_usb_phy_id_table,
10861085 },
10871086 };
drivers/usb/phy/phy-twl6030-usb.c+0−1
@@ -430,7 +430,6 @@ static struct platform_driver twl6030_usb_driver = { · 429 unmodified lines
430430 .remove = twl6030_usb_remove,
431431 .driver = {
432432 .name = "twl6030_usb",
433− .owner = THIS_MODULE,
434433 .of_match_table = of_match_ptr(twl6030_usb_id_table),
435434 },
436435 };
drivers/usb/usbip/vhci_hcd.c+0−1
@@ -1107,7 +1107,6 @@ static struct platform_driver vhci_driver = { · 1106 unmodified lines
11071107 .resume = vhci_hcd_resume,
11081108 .driver = {
11091109 .name = driver_name,
1110− .owner = THIS_MODULE,
11111110 },
11121111 };
11131112
drivers/video/fbdev/amifb.c+0−1
@@ -3782,7 +3782,6 @@ static struct platform_driver amifb_driver = { · 3781 unmodified lines
37823782 .remove = __exit_p(amifb_remove),
37833783 .driver = {
37843784 .name = "amiga-video",
3785− .owner = THIS_MODULE,
37863785 },
37873786 };
37883787
drivers/video/fbdev/atmel_lcdfb.c+0−1
@@ -1465,7 +1465,6 @@ static struct platform_driver atmel_lcdfb_driver = { · 1464 unmodified lines
14651465 .id_table = atmel_lcdfb_devtypes,
14661466 .driver = {
14671467 .name = "atmel_lcdfb",
1468− .owner = THIS_MODULE,
14691468 .of_match_table = of_match_ptr(atmel_lcdfb_dt_ids),
14701469 },
14711470 };
drivers/video/fbdev/au1100fb.c+0−1
@@ -638,7 +638,6 @@ int au1100fb_drv_resume(struct platform_device *dev) · 637 unmodified lines
638638 static struct platform_driver au1100fb_driver = {
639639 .driver = {
640640 .name = "au1100-lcd",
641− .owner = THIS_MODULE,
642641 },
643642 .probe = au1100fb_drv_probe,
644643 .remove = au1100fb_drv_remove,
drivers/video/fbdev/au1200fb.c+0−1
@@ -1841,7 +1841,6 @@ static const struct dev_pm_ops au1200fb_pmops = { · 1840 unmodified lines
18411841 static struct platform_driver au1200fb_driver = {
18421842 .driver = {
18431843 .name = "au1200-lcd",
1844− .owner = THIS_MODULE,
18451844 .pm = AU1200FB_PMOPS,
18461845 },
18471846 .probe = au1200fb_drv_probe,
drivers/video/fbdev/auo_k1900fb.c+0−1
@@ -193,7 +193,6 @@ static struct platform_driver auok1900fb_driver = { · 192 unmodified lines
193193 .probe = auok1900fb_probe,
194194 .remove = auok1900fb_remove,
195195 .driver = {
196− .owner = THIS_MODULE,
197196 .name = "auo_k1900fb",
198197 .pm = &auok190x_pm,
199198 },
drivers/video/fbdev/auo_k1901fb.c+0−1
@@ -246,7 +246,6 @@ static struct platform_driver auok1901fb_driver = { · 245 unmodified lines
246246 .probe = auok1901fb_probe,
247247 .remove = auok1901fb_remove,
248248 .driver = {
249− .owner = THIS_MODULE,
250249 .name = "auo_k1901fb",
251250 .pm = &auok190x_pm,
252251 },
drivers/video/fbdev/bf537-lq035.c+0−1
@@ -894,7 +894,6 @@ static struct platform_driver bfin_lq035_driver = { · 893 unmodified lines
894894 .resume = bfin_lq035_resume,
895895 .driver = {
896896 .name = KBUILD_MODNAME,
897− .owner = THIS_MODULE,
898897 },
899898 };
900899
drivers/video/fbdev/bf54x-lq043fb.c+0−1
@@ -756,7 +756,6 @@ static struct platform_driver bfin_bf54x_driver = { · 755 unmodified lines
756756 .resume = bfin_bf54x_resume,
757757 .driver = {
758758 .name = DRIVER_NAME,
759− .owner = THIS_MODULE,
760759 },
761760 };
762761 module_platform_driver(bfin_bf54x_driver);
drivers/video/fbdev/bfin-t350mcqb-fb.c+0−1
@@ -661,7 +661,6 @@ static struct platform_driver bfin_t350mcqb_driver = { · 660 unmodified lines
661661 .resume = bfin_t350mcqb_resume,
662662 .driver = {
663663 .name = DRIVER_NAME,
664− .owner = THIS_MODULE,
665664 },
666665 };
667666 module_platform_driver(bfin_t350mcqb_driver);
drivers/video/fbdev/broadsheetfb.c+0−1
@@ -1212,7 +1212,6 @@ static struct platform_driver broadsheetfb_driver = { · 1211 unmodified lines
12121212 .probe = broadsheetfb_probe,
12131213 .remove = broadsheetfb_remove,
12141214 .driver = {
1215− .owner = THIS_MODULE,
12161215 .name = "broadsheetfb",
12171216 },
12181217 };
drivers/video/fbdev/bw2.c+0−1
@@ -377,7 +377,6 @@ MODULE_DEVICE_TABLE(of, bw2_match); · 376 unmodified lines
377377 static struct platform_driver bw2_driver = {
378378 .driver = {
379379 .name = "bw2",
380− .owner = THIS_MODULE,
381380 .of_match_table = bw2_match,
382381 },
383382 .probe = bw2_probe,
drivers/video/fbdev/cg14.c+0−1
@@ -597,7 +597,6 @@ MODULE_DEVICE_TABLE(of, cg14_match); · 596 unmodified lines
597597 static struct platform_driver cg14_driver = {
598598 .driver = {
599599 .name = "cg14",
600− .owner = THIS_MODULE,
601600 .of_match_table = cg14_match,
602601 },
603602 .probe = cg14_probe,
drivers/video/fbdev/cg3.c+0−1
@@ -463,7 +463,6 @@ MODULE_DEVICE_TABLE(of, cg3_match); · 462 unmodified lines
463463 static struct platform_driver cg3_driver = {
464464 .driver = {
465465 .name = "cg3",
466− .owner = THIS_MODULE,
467466 .of_match_table = cg3_match,
468467 },
469468 .probe = cg3_probe,
drivers/video/fbdev/cg6.c+0−1
@@ -856,7 +856,6 @@ MODULE_DEVICE_TABLE(of, cg6_match); · 855 unmodified lines
856856 static struct platform_driver cg6_driver = {
857857 .driver = {
858858 .name = "cg6",
859− .owner = THIS_MODULE,
860859 .of_match_table = cg6_match,
861860 },
862861 .probe = cg6_probe,
drivers/video/fbdev/clps711x-fb.c+0−1
@@ -384,7 +384,6 @@ MODULE_DEVICE_TABLE(of, clps711x_fb_dt_ids); · 383 unmodified lines
384384 static struct platform_driver clps711x_fb_driver = {
385385 .driver = {
386386 .name = CLPS711X_FB_NAME,
387− .owner = THIS_MODULE,
388387 .of_match_table = clps711x_fb_dt_ids,
389388 },
390389 .probe = clps711x_fb_probe,
drivers/video/fbdev/clps711xfb.c+0−1
@@ -303,7 +303,6 @@ static int clps711x_fb_remove(struct platform_device *pdev) · 302 unmodified lines
303303 static struct platform_driver clps711x_fb_driver = {
304304 .driver = {
305305 .name = "video-clps711x",
306− .owner = THIS_MODULE,
307306 },
308307 .probe = clps711x_fb_probe,
309308 .remove = clps711x_fb_remove,
drivers/video/fbdev/cobalt_lcdfb.c+0−1
@@ -391,7 +391,6 @@ static struct platform_driver cobalt_lcdfb_driver = { · 390 unmodified lines
391391 .remove = cobalt_lcdfb_remove,
392392 .driver = {
393393 .name = "cobalt-lcd",
394− .owner = THIS_MODULE,
395394 },
396395 };
397396 module_platform_driver(cobalt_lcdfb_driver);
drivers/video/fbdev/da8xx-fb.c+0−1
@@ -1659,7 +1659,6 @@ static struct platform_driver da8xx_fb_driver = { · 1658 unmodified lines
16591659 .remove = fb_remove,
16601660 .driver = {
16611661 .name = DRIVER_NAME,
1662− .owner = THIS_MODULE,
16631662 .pm = &fb_pm_ops,
16641663 },
16651664 };
drivers/video/fbdev/efifb.c+0−1
@@ -311,7 +311,6 @@ static int efifb_remove(struct platform_device *pdev) · 310 unmodified lines
311311 static struct platform_driver efifb_driver = {
312312 .driver = {
313313 .name = "efi-framebuffer",
314− .owner = THIS_MODULE,
315314 },
316315 .probe = efifb_probe,
317316 .remove = efifb_remove,
drivers/video/fbdev/ep93xx-fb.c+0−1
@@ -622,7 +622,6 @@ static struct platform_driver ep93xxfb_driver = { · 621 unmodified lines
622622 .remove = ep93xxfb_remove,
623623 .driver = {
624624 .name = "ep93xx-fb",
625− .owner = THIS_MODULE,
626625 },
627626 };
628627 module_platform_driver(ep93xxfb_driver);
drivers/video/fbdev/exynos/exynos_mipi_dsi.c+0−1
@@ -562,7 +562,6 @@ static struct platform_driver exynos_mipi_dsi_driver = { · 561 unmodified lines
562562 .remove = exynos_mipi_dsi_remove,
563563 .driver = {
564564 .name = "exynos-mipi-dsim",
565− .owner = THIS_MODULE,
566565 .pm = &exynos_mipi_dsi_pm_ops,
567566 },
568567 };
drivers/video/fbdev/ffb.c+0−1
@@ -1052,7 +1052,6 @@ MODULE_DEVICE_TABLE(of, ffb_match); · 1051 unmodified lines
10521052 static struct platform_driver ffb_driver = {
10531053 .driver = {
10541054 .name = "ffb",
1055− .owner = THIS_MODULE,
10561055 .of_match_table = ffb_match,
10571056 },
10581057 .probe = ffb_probe,
drivers/video/fbdev/fsl-diu-fb.c+0−1
@@ -1881,7 +1881,6 @@ MODULE_DEVICE_TABLE(of, fsl_diu_match); · 1880 unmodified lines
18811881 static struct platform_driver fsl_diu_driver = {
18821882 .driver = {
18831883 .name = "fsl-diu-fb",
1884− .owner = THIS_MODULE,
18851884 .of_match_table = fsl_diu_match,
18861885 },
18871886 .probe = fsl_diu_probe,
drivers/video/fbdev/grvga.c+0−1
@@ -549,7 +549,6 @@ MODULE_DEVICE_TABLE(of, svgactrl_of_match); · 548 unmodified lines
549549 static struct platform_driver grvga_driver = {
550550 .driver = {
551551 .name = "grlib-svgactrl",
552− .owner = THIS_MODULE,
553552 .of_match_table = svgactrl_of_match,
554553 },
555554 .probe = grvga_probe,
drivers/video/fbdev/hecubafb.c+0−1
@@ -300,7 +300,6 @@ static struct platform_driver hecubafb_driver = { · 299 unmodified lines
300300 .probe = hecubafb_probe,
301301 .remove = hecubafb_remove,
302302 .driver = {
303− .owner = THIS_MODULE,
304303 .name = "hecubafb",
305304 },
306305 };
drivers/video/fbdev/hitfb.c+0−1
@@ -464,7 +464,6 @@ static struct platform_driver hitfb_driver = { · 463 unmodified lines
464464 .remove = hitfb_remove,
465465 .driver = {
466466 .name = "hitfb",
467− .owner = THIS_MODULE,
468467 .pm = &hitfb_dev_pm_ops,
469468 },
470469 };
drivers/video/fbdev/imxfb.c+0−1
@@ -1061,7 +1061,6 @@ static struct platform_driver imxfb_driver = { · 1060 unmodified lines
10611061 .driver = {
10621062 .name = DRIVER_NAME,
10631063 .of_match_table = imxfb_of_dev_id,
1064− .owner = THIS_MODULE,
10651064 .pm = &imxfb_pm_ops,
10661065 },
10671066 .probe = imxfb_probe,
drivers/video/fbdev/leo.c+0−1
@@ -662,7 +662,6 @@ MODULE_DEVICE_TABLE(of, leo_match); · 661 unmodified lines
662662 static struct platform_driver leo_driver = {
663663 .driver = {
664664 .name = "leo",
665− .owner = THIS_MODULE,
666665 .of_match_table = leo_match,
667666 },
668667 .probe = leo_probe,
drivers/video/fbdev/mb862xx/mb862xxfbdrv.c+0−1
@@ -835,7 +835,6 @@ static struct of_device_id of_platform_mb862xx_tbl[] = { · 834 unmodified lines
835835 static struct platform_driver of_platform_mb862xxfb_driver = {
836836 .driver = {
837837 .name = DRV_NAME,
838− .owner = THIS_MODULE,
839838 .of_match_table = of_platform_mb862xx_tbl,
840839 },
841840 .probe = of_platform_mb862xx_probe,
drivers/video/fbdev/metronomefb.c+0−1
@@ -766,7 +766,6 @@ static struct platform_driver metronomefb_driver = { · 765 unmodified lines
766766 .probe = metronomefb_probe,
767767 .remove = metronomefb_remove,
768768 .driver = {
769− .owner = THIS_MODULE,
770769 .name = "metronomefb",
771770 },
772771 };
drivers/video/fbdev/mmp/fb/mmpfb.c+0−1
@@ -673,7 +673,6 @@ failed_destroy_mutex: · 672 unmodified lines
673673 static struct platform_driver mmpfb_driver = {
674674 .driver = {
675675 .name = "mmp-fb",
676− .owner = THIS_MODULE,
677676 },
678677 .probe = mmpfb_probe,
679678 };
drivers/video/fbdev/mmp/hw/mmp_ctrl.c+0−1
@@ -571,7 +571,6 @@ failed: · 570 unmodified lines
571571 static struct platform_driver mmphw_driver = {
572572 .driver = {
573573 .name = "mmp-disp",
574− .owner = THIS_MODULE,
575574 },
576575 .probe = mmphw_probe,
577576 };
drivers/video/fbdev/mx3fb.c+0−1
@@ -1645,7 +1645,6 @@ static int mx3fb_remove(struct platform_device *dev) · 1644 unmodified lines
16451645 static struct platform_driver mx3fb_driver = {
16461646 .driver = {
16471647 .name = MX3FB_NAME,
1648− .owner = THIS_MODULE,
16491648 },
16501649 .probe = mx3fb_probe,
16511650 .remove = mx3fb_remove,
drivers/video/fbdev/nuc900fb.c+0−1
@@ -755,7 +755,6 @@ static struct platform_driver nuc900fb_driver = { · 754 unmodified lines
755755 .resume = nuc900fb_resume,
756756 .driver = {
757757 .name = "nuc900-lcd",
758− .owner = THIS_MODULE,
759758 },
760759 };
761760
drivers/video/fbdev/omap/lcd_ams_delta.c+0−1
@@ -218,7 +218,6 @@ static struct platform_driver ams_delta_panel_driver = { · 217 unmodified lines
218218 .resume = ams_delta_panel_resume,
219219 .driver = {
220220 .name = "lcd_ams_delta",
221− .owner = THIS_MODULE,
222221 },
223222 };
224223
drivers/video/fbdev/omap/lcd_h3.c+0−1
@@ -120,7 +120,6 @@ static struct platform_driver h3_panel_driver = { · 119 unmodified lines
120120 .resume = h3_panel_resume,
121121 .driver = {
122122 .name = "lcd_h3",
123− .owner = THIS_MODULE,
124123 },
125124 };
126125
drivers/video/fbdev/omap/lcd_htcherald.c+0−1
@@ -111,7 +111,6 @@ static struct platform_driver htcherald_panel_driver = { · 110 unmodified lines
111111 .resume = htcherald_panel_resume,
112112 .driver = {
113113 .name = "lcd_htcherald",
114− .owner = THIS_MODULE,
115114 },
116115 };
117116
drivers/video/fbdev/omap/lcd_inn1510.c+0−1
@@ -106,7 +106,6 @@ static struct platform_driver innovator1510_panel_driver = { · 105 unmodified lines
106106 .resume = innovator1510_panel_resume,
107107 .driver = {
108108 .name = "lcd_inn1510",
109− .owner = THIS_MODULE,
110109 },
111110 };
112111
drivers/video/fbdev/omap/lcd_inn1610.c+0−1
@@ -127,7 +127,6 @@ static struct platform_driver innovator1610_panel_driver = { · 126 unmodified lines
127127 .resume = innovator1610_panel_resume,
128128 .driver = {
129129 .name = "lcd_inn1610",
130− .owner = THIS_MODULE,
131130 },
132131 };
133132
drivers/video/fbdev/omap/lcd_osk.c+0−1
@@ -126,7 +126,6 @@ static struct platform_driver osk_panel_driver = { · 125 unmodified lines
126126 .resume = osk_panel_resume,
127127 .driver = {
128128 .name = "lcd_osk",
129− .owner = THIS_MODULE,
130129 },
131130 };
132131
drivers/video/fbdev/omap/lcd_palmte.c+0−1
@@ -103,7 +103,6 @@ static struct platform_driver palmte_panel_driver = { · 102 unmodified lines
103103 .resume = palmte_panel_resume,
104104 .driver = {
105105 .name = "lcd_palmte",
106− .owner = THIS_MODULE,
107106 },
108107 };
109108
drivers/video/fbdev/omap/lcd_palmtt.c+0−1
@@ -109,7 +109,6 @@ static struct platform_driver palmtt_panel_driver = { · 108 unmodified lines
109109 .resume = palmtt_panel_resume,
110110 .driver = {
111111 .name = "lcd_palmtt",
112− .owner = THIS_MODULE,
113112 },
114113 };
115114
drivers/video/fbdev/omap/lcd_palmz71.c+0−1
@@ -105,7 +105,6 @@ static struct platform_driver palmz71_panel_driver = { · 104 unmodified lines
105105 .resume = palmz71_panel_resume,
106106 .driver = {
107107 .name = "lcd_palmz71",
108− .owner = THIS_MODULE,
109108 },
110109 };
111110
drivers/video/fbdev/omap/omapfb_main.c+0−1
@@ -1869,7 +1869,6 @@ static struct platform_driver omapfb_driver = { · 1868 unmodified lines
18691869 .resume = omapfb_resume,
18701870 .driver = {
18711871 .name = MODULE_NAME,
1872− .owner = THIS_MODULE,
18731872 },
18741873 };
18751874
drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c+0−1
@@ -308,7 +308,6 @@ static struct platform_driver tvc_connector_driver = { · 307 unmodified lines
308308 .remove = __exit_p(tvc_remove),
309309 .driver = {
310310 .name = "connector-analog-tv",
311− .owner = THIS_MODULE,
312311 .of_match_table = tvc_of_match,
313312 .suppress_bind_attrs = true,
314313 },
drivers/video/fbdev/omap2/displays-new/connector-dvi.c+0−1
@@ -386,7 +386,6 @@ static struct platform_driver dvi_connector_driver = { · 385 unmodified lines
386386 .remove = __exit_p(dvic_remove),
387387 .driver = {
388388 .name = "connector-dvi",
389− .owner = THIS_MODULE,
390389 .of_match_table = dvic_of_match,
391390 .suppress_bind_attrs = true,
392391 },
drivers/video/fbdev/omap2/displays-new/connector-hdmi.c+0−1
@@ -336,7 +336,6 @@ static struct platform_driver hdmi_connector_driver = { · 335 unmodified lines
336336 .remove = __exit_p(hdmic_remove),
337337 .driver = {
338338 .name = "connector-hdmi",
339− .owner = THIS_MODULE,
340339 .of_match_table = hdmic_of_match,
341340 .suppress_bind_attrs = true,
342341 },
drivers/video/fbdev/omap2/displays-new/encoder-tfp410.c+0−1
@@ -297,7 +297,6 @@ static struct platform_driver tfp410_driver = { · 296 unmodified lines
297297 .remove = __exit_p(tfp410_remove),
298298 .driver = {
299299 .name = "tfp410",
300− .owner = THIS_MODULE,
301300 .of_match_table = tfp410_of_match,
302301 .suppress_bind_attrs = true,
303302 },
drivers/video/fbdev/omap2/displays-new/encoder-tpd12s015.c+0−1
@@ -404,7 +404,6 @@ static struct platform_driver tpd_driver = { · 403 unmodified lines
404404 .remove = __exit_p(tpd_remove),
405405 .driver = {
406406 .name = "tpd12s015",
407− .owner = THIS_MODULE,
408407 .of_match_table = tpd_of_match,
409408 .suppress_bind_attrs = true,
410409 },
drivers/video/fbdev/omap2/displays-new/panel-dpi.c+0−1
@@ -325,7 +325,6 @@ static struct platform_driver panel_dpi_driver = { · 324 unmodified lines
325325 .remove = __exit_p(panel_dpi_remove),
326326 .driver = {
327327 .name = "panel-dpi",
328− .owner = THIS_MODULE,
329328 .of_match_table = panel_dpi_of_match,
330329 .suppress_bind_attrs = true,
331330 },
drivers/video/fbdev/omap2/displays-new/panel-dsi-cm.c+0−1
@@ -1376,7 +1376,6 @@ static struct platform_driver dsicm_driver = { · 1375 unmodified lines
13761376 .remove = __exit_p(dsicm_remove),
13771377 .driver = {
13781378 .name = "panel-dsi-cm",
1379− .owner = THIS_MODULE,
13801379 .of_match_table = dsicm_of_match,
13811380 .suppress_bind_attrs = true,
13821381 },
drivers/video/fbdev/omap2/displays-new/panel-sharp-ls037v7dw01.c+0−1
@@ -408,7 +408,6 @@ static struct platform_driver sharp_ls_driver = { · 407 unmodified lines
408408 .remove = __exit_p(sharp_ls_remove),
409409 .driver = {
410410 .name = "panel-sharp-ls037v7dw01",
411− .owner = THIS_MODULE,
412411 .of_match_table = sharp_ls_of_match,
413412 .suppress_bind_attrs = true,
414413 },
drivers/video/fbdev/omap2/dss/core.c+0−1
@@ -244,7 +244,6 @@ static struct platform_driver omap_dss_driver = { · 243 unmodified lines
244244 .shutdown = omap_dss_shutdown,
245245 .driver = {
246246 .name = "omapdss",
247− .owner = THIS_MODULE,
248247 },
249248 };
250249
drivers/video/fbdev/omap2/dss/dispc.c+0−1
@@ -3839,7 +3839,6 @@ static struct platform_driver omap_dispchw_driver = { · 3838 unmodified lines
38393839 .remove = __exit_p(omap_dispchw_remove),
38403840 .driver = {
38413841 .name = "omapdss_dispc",
3842− .owner = THIS_MODULE,
38433842 .pm = &dispc_pm_ops,
38443843 .of_match_table = dispc_of_match,
38453844 .suppress_bind_attrs = true,
drivers/video/fbdev/omap2/dss/dpi.c+0−1
@@ -788,7 +788,6 @@ static struct platform_driver omap_dpi_driver = { · 787 unmodified lines
788788 .remove = __exit_p(omap_dpi_remove),
789789 .driver = {
790790 .name = "omapdss_dpi",
791− .owner = THIS_MODULE,
792791 .suppress_bind_attrs = true,
793792 },
794793 };
drivers/video/fbdev/omap2/dss/dsi.c+0−1
@@ -5572,7 +5572,6 @@ static struct platform_driver omap_dsihw_driver = { · 5571 unmodified lines
55725572 .remove = __exit_p(omap_dsihw_remove),
55735573 .driver = {
55745574 .name = "omapdss_dsi",
5575− .owner = THIS_MODULE,
55765575 .pm = &dsi_pm_ops,
55775576 .of_match_table = dsi_of_match,
55785577 .suppress_bind_attrs = true,
drivers/video/fbdev/omap2/dss/dss.c+0−1
@@ -1012,7 +1012,6 @@ static struct platform_driver omap_dsshw_driver = { · 1011 unmodified lines
10121012 .remove = __exit_p(omap_dsshw_remove),
10131013 .driver = {
10141014 .name = "omapdss_dss",
1015− .owner = THIS_MODULE,
10161015 .pm = &dss_pm_ops,
10171016 .of_match_table = dss_of_match,
10181017 .suppress_bind_attrs = true,
drivers/video/fbdev/omap2/dss/hdmi4.c+0−1
@@ -760,7 +760,6 @@ static struct platform_driver omapdss_hdmihw_driver = { · 759 unmodified lines
760760 .remove = __exit_p(omapdss_hdmihw_remove),
761761 .driver = {
762762 .name = "omapdss_hdmi",
763− .owner = THIS_MODULE,
764763 .pm = &hdmi_pm_ops,
765764 .of_match_table = hdmi_of_match,
766765 .suppress_bind_attrs = true,
drivers/video/fbdev/omap2/dss/hdmi5.c+0−1
@@ -795,7 +795,6 @@ static struct platform_driver omapdss_hdmihw_driver = { · 794 unmodified lines
795795 .remove = __exit_p(omapdss_hdmihw_remove),
796796 .driver = {
797797 .name = "omapdss_hdmi5",
798− .owner = THIS_MODULE,
799798 .pm = &hdmi_pm_ops,
800799 .of_match_table = hdmi_of_match,
801800 .suppress_bind_attrs = true,
drivers/video/fbdev/omap2/dss/rfbi.c+0−1
@@ -1042,7 +1042,6 @@ static struct platform_driver omap_rfbihw_driver = { · 1041 unmodified lines
10421042 .remove = __exit_p(omap_rfbihw_remove),
10431043 .driver = {
10441044 .name = "omapdss_rfbi",
1045− .owner = THIS_MODULE,
10461045 .pm = &rfbi_pm_ops,
10471046 .suppress_bind_attrs = true,
10481047 },
drivers/video/fbdev/omap2/dss/sdi.c+0−1
@@ -376,7 +376,6 @@ static struct platform_driver omap_sdi_driver = { · 375 unmodified lines
376376 .remove = __exit_p(omap_sdi_remove),
377377 .driver = {
378378 .name = "omapdss_sdi",
379− .owner = THIS_MODULE,
380379 .suppress_bind_attrs = true,
381380 },
382381 };
drivers/video/fbdev/omap2/dss/venc.c+0−1
@@ -963,7 +963,6 @@ static struct platform_driver omap_venchw_driver = { · 962 unmodified lines
963963 .remove = __exit_p(omap_venchw_remove),
964964 .driver = {
965965 .name = "omapdss_venc",
966− .owner = THIS_MODULE,
967966 .pm = &venc_pm_ops,
968967 .of_match_table = venc_of_match,
969968 .suppress_bind_attrs = true,
drivers/video/fbdev/omap2/omapfb/omapfb-main.c+0−1
@@ -2638,7 +2638,6 @@ static struct platform_driver omapfb_driver = { · 2637 unmodified lines
26382638 .remove = omapfb_remove,
26392639 .driver = {
26402640 .name = "omapfb",
2641− .owner = THIS_MODULE,
26422641 },
26432642 };
26442643
drivers/video/fbdev/p9100.c+0−1
@@ -353,7 +353,6 @@ MODULE_DEVICE_TABLE(of, p9100_match); · 352 unmodified lines
353353 static struct platform_driver p9100_driver = {
354354 .driver = {
355355 .name = "p9100",
356− .owner = THIS_MODULE,
357356 .of_match_table = p9100_match,
358357 },
359358 .probe = p9100_probe,
drivers/video/fbdev/platinumfb.c+0−1
@@ -679,7 +679,6 @@ static struct platform_driver platinum_driver = · 678 unmodified lines
679679 {
680680 .driver = {
681681 .name = "platinumfb",
682− .owner = THIS_MODULE,
683682 .of_match_table = platinumfb_match,
684683 },
685684 .probe = platinumfb_probe,
drivers/video/fbdev/pxa168fb.c+0−1
@@ -823,7 +823,6 @@ static int pxa168fb_remove(struct platform_device *pdev) · 822 unmodified lines
823823 static struct platform_driver pxa168fb_driver = {
824824 .driver = {
825825 .name = "pxa168-fb",
826− .owner = THIS_MODULE,
827826 },
828827 .probe = pxa168fb_probe,
829828 .remove = pxa168fb_remove,
drivers/video/fbdev/pxa3xx-gcu.c+0−1
@@ -707,7 +707,6 @@ static struct platform_driver pxa3xx_gcu_driver = { · 706 unmodified lines
707707 .probe = pxa3xx_gcu_probe,
708708 .remove = pxa3xx_gcu_remove,
709709 .driver = {
710− .owner = THIS_MODULE,
711710 .name = DRV_NAME,
712711 },
713712 };
drivers/video/fbdev/pxafb.c+0−1
@@ -2304,7 +2304,6 @@ static struct platform_driver pxafb_driver = { · 2303 unmodified lines
23042304 .probe = pxafb_probe,
23052305 .remove = pxafb_remove,
23062306 .driver = {
2307− .owner = THIS_MODULE,
23082307 .name = "pxa2xx-fb",
23092308 #ifdef CONFIG_PM
23102309 .pm = &pxafb_pm_ops,
drivers/video/fbdev/s3c-fb.c+0−1
@@ -1971,7 +1971,6 @@ static struct platform_driver s3c_fb_driver = { · 1970 unmodified lines
19711971 .id_table = s3c_fb_driver_ids,
19721972 .driver = {
19731973 .name = "s3c-fb",
1974− .owner = THIS_MODULE,
19751974 .pm = &s3cfb_pm_ops,
19761975 },
19771976 };
drivers/video/fbdev/s3c2410fb.c+0−2
@@ -1104,7 +1104,6 @@ static struct platform_driver s3c2410fb_driver = { · 1103 unmodified lines
11041104 .resume = s3c2410fb_resume,
11051105 .driver = {
11061106 .name = "s3c2410-lcd",
1107− .owner = THIS_MODULE,
11081107 },
11091108 };
11101109
@@ -1115,7 +1114,6 @@ static struct platform_driver s3c2412fb_driver = { · 4 unmodified lines
11151114 .resume = s3c2410fb_resume,
11161115 .driver = {
11171116 .name = "s3c2412-lcd",
1118− .owner = THIS_MODULE,
11191117 },
11201118 };
11211119
drivers/video/fbdev/sa1100fb.c+0−1
@@ -1304,7 +1304,6 @@ static struct platform_driver sa1100fb_driver = { · 1303 unmodified lines
13041304 .resume = sa1100fb_resume,
13051305 .driver = {
13061306 .name = "sa11x0-fb",
1307− .owner = THIS_MODULE,
13081307 },
13091308 };
13101309
drivers/video/fbdev/sh7760fb.c+0−1
@@ -578,7 +578,6 @@ static int sh7760fb_remove(struct platform_device *dev) · 577 unmodified lines
578578 static struct platform_driver sh7760_lcdc_driver = {
579579 .driver = {
580580 .name = "sh7760-lcdc",
581− .owner = THIS_MODULE,
582581 },
583582 .probe = sh7760fb_probe,
584583 .remove = sh7760fb_remove,
drivers/video/fbdev/sh_mobile_lcdcfb.c+0−1
@@ -2848,7 +2848,6 @@ err1: · 2847 unmodified lines
28482848 static struct platform_driver sh_mobile_lcdc_driver = {
28492849 .driver = {
28502850 .name = "sh_mobile_lcdc_fb",
2851− .owner = THIS_MODULE,
28522851 .pm = &sh_mobile_lcdc_dev_pm_ops,
28532852 },
28542853 .probe = sh_mobile_lcdc_probe,
drivers/video/fbdev/sh_mobile_meram.c+0−1
@@ -745,7 +745,6 @@ static int sh_mobile_meram_remove(struct platform_device *pdev) · 744 unmodified lines
745745 static struct platform_driver sh_mobile_meram_driver = {
746746 .driver = {
747747 .name = "sh_mobile_meram",
748− .owner = THIS_MODULE,
749748 .pm = &sh_mobile_meram_dev_pm_ops,
750749 },
751750 .probe = sh_mobile_meram_probe,
drivers/video/fbdev/simplefb.c+0−1
@@ -387,7 +387,6 @@ MODULE_DEVICE_TABLE(of, simplefb_of_match); · 386 unmodified lines
387387 static struct platform_driver simplefb_driver = {
388388 .driver = {
389389 .name = "simple-framebuffer",
390− .owner = THIS_MODULE,
391390 .of_match_table = simplefb_of_match,
392391 },
393392 .probe = simplefb_probe,
drivers/video/fbdev/sm501fb.c+0−1
@@ -2225,7 +2225,6 @@ static struct platform_driver sm501fb_driver = { · 2224 unmodified lines
22252225 .resume = sm501fb_resume,
22262226 .driver = {
22272227 .name = "sm501-fb",
2228− .owner = THIS_MODULE,
22292228 },
22302229 };
22312230
drivers/video/fbdev/sunxvr1000.c+0−1
@@ -202,7 +202,6 @@ static struct platform_driver gfb_driver = { · 201 unmodified lines
202202 .remove = gfb_remove,
203203 .driver = {
204204 .name = "gfb",
205− .owner = THIS_MODULE,
206205 .of_match_table = gfb_match,
207206 },
208207 };
drivers/video/fbdev/tcx.c+0−1
@@ -512,7 +512,6 @@ MODULE_DEVICE_TABLE(of, tcx_match); · 511 unmodified lines
512512 static struct platform_driver tcx_driver = {
513513 .driver = {
514514 .name = "tcx",
515− .owner = THIS_MODULE,
516515 .of_match_table = tcx_match,
517516 },
518517 .probe = tcx_probe,
drivers/video/fbdev/vesafb.c+0−1
@@ -512,7 +512,6 @@ static int vesafb_remove(struct platform_device *pdev) · 511 unmodified lines
512512 static struct platform_driver vesafb_driver = {
513513 .driver = {
514514 .name = "vesa-framebuffer",
515− .owner = THIS_MODULE,
516515 },
517516 .probe = vesafb_probe,
518517 .remove = vesafb_remove,
drivers/video/fbdev/vt8500lcdfb.c+0−1
@@ -486,7 +486,6 @@ static struct platform_driver vt8500lcd_driver = { · 485 unmodified lines
486486 .probe = vt8500lcd_probe,
487487 .remove = vt8500lcd_remove,
488488 .driver = {
489− .owner = THIS_MODULE,
490489 .name = "vt8500-lcd",
491490 .of_match_table = of_match_ptr(via_dt_ids),
492491 },
drivers/video/fbdev/wm8505fb.c+0−1
@@ -407,7 +407,6 @@ static struct platform_driver wm8505fb_driver = { · 406 unmodified lines
407407 .probe = wm8505fb_probe,
408408 .remove = wm8505fb_remove,
409409 .driver = {
410− .owner = THIS_MODULE,
411410 .name = DRIVER_NAME,
412411 .of_match_table = wmt_dt_ids,
413412 },
drivers/video/fbdev/wmt_ge_rops.c+0−1
@@ -167,7 +167,6 @@ static struct platform_driver wmt_ge_rops_driver = { · 166 unmodified lines
167167 .probe = wmt_ge_rops_probe,
168168 .remove = wmt_ge_rops_remove,
169169 .driver = {
170− .owner = THIS_MODULE,
171170 .name = "wmt_ge_rops",
172171 .of_match_table = wmt_dt_ids,
173172 },
drivers/video/fbdev/xilinxfb.c+0−1
@@ -497,7 +497,6 @@ static struct platform_driver xilinxfb_of_driver = { · 496 unmodified lines
497497 .remove = xilinxfb_of_remove,
498498 .driver = {
499499 .name = DRIVER_NAME,
500− .owner = THIS_MODULE,
501500 .of_match_table = xilinxfb_of_match,
502501 },
503502 };
drivers/virtio/virtio_mmio.c+0−1
@@ -640,7 +640,6 @@ static struct platform_driver virtio_mmio_driver = { · 639 unmodified lines
640640 .remove = virtio_mmio_remove,
641641 .driver = {
642642 .name = "virtio-mmio",
643− .owner = THIS_MODULE,
644643 .of_match_table = virtio_mmio_match,
645644 },
646645 };
drivers/w1/masters/mxc_w1.c+0−1
@@ -175,7 +175,6 @@ MODULE_DEVICE_TABLE(of, mxc_w1_dt_ids); · 174 unmodified lines
175175 static struct platform_driver mxc_w1_driver = {
176176 .driver = {
177177 .name = "mxc_w1",
178− .owner = THIS_MODULE,
179178 .of_match_table = mxc_w1_dt_ids,
180179 },
181180 .probe = mxc_w1_probe,
drivers/w1/masters/w1-gpio.c+0−1
@@ -228,7 +228,6 @@ static int w1_gpio_resume(struct platform_device *pdev) · 227 unmodified lines
228228 static struct platform_driver w1_gpio_driver = {
229229 .driver = {
230230 .name = "w1-gpio",
231− .owner = THIS_MODULE,
232231 .of_match_table = of_match_ptr(w1_gpio_dt_ids),
233232 },
234233 .probe = w1_gpio_probe,
drivers/watchdog/acquirewdt.c+0−1
@@ -294,7 +294,6 @@ static struct platform_driver acquirewdt_driver = { · 293 unmodified lines
294294 .remove = acq_remove,
295295 .shutdown = acq_shutdown,
296296 .driver = {
297− .owner = THIS_MODULE,
298297 .name = DRV_NAME,
299298 },
300299 };
drivers/watchdog/advantechwdt.c+0−1
@@ -302,7 +302,6 @@ static struct platform_driver advwdt_driver = { · 301 unmodified lines
302302 .remove = advwdt_remove,
303303 .shutdown = advwdt_shutdown,
304304 .driver = {
305− .owner = THIS_MODULE,
306305 .name = DRV_NAME,
307306 },
308307 };
drivers/watchdog/ar7_wdt.c+0−1
@@ -324,7 +324,6 @@ static struct platform_driver ar7_wdt_driver = { · 323 unmodified lines
324324 .remove = ar7_wdt_remove,
325325 .shutdown = ar7_wdt_shutdown,
326326 .driver = {
327− .owner = THIS_MODULE,
328327 .name = "ar7_wdt",
329328 },
330329 };
drivers/watchdog/at32ap700x_wdt.c+0−1
@@ -422,7 +422,6 @@ static struct platform_driver at32_wdt_driver = { · 421 unmodified lines
422422 .resume = at32_wdt_resume,
423423 .driver = {
424424 .name = "at32_wdt",
425− .owner = THIS_MODULE,
426425 },
427426 .shutdown = at32_wdt_shutdown,
428427 };
drivers/watchdog/at91rm9200_wdt.c+0−1
@@ -268,7 +268,6 @@ static struct platform_driver at91wdt_driver = { · 267 unmodified lines
268268 .resume = at91wdt_resume,
269269 .driver = {
270270 .name = "at91_wdt",
271− .owner = THIS_MODULE,
272271 .of_match_table = at91_wdt_dt_ids,
273272 },
274273 };
drivers/watchdog/at91sam9_wdt.c+0−1
@@ -393,7 +393,6 @@ static struct platform_driver at91wdt_driver = { · 392 unmodified lines
393393 .remove = __exit_p(at91wdt_remove),
394394 .driver = {
395395 .name = "at91_wdt",
396− .owner = THIS_MODULE,
397396 .of_match_table = of_match_ptr(at91_wdt_dt_ids),
398397 },
399398 };
drivers/watchdog/ath79_wdt.c+0−1
@@ -326,7 +326,6 @@ static struct platform_driver ath79_wdt_driver = { · 325 unmodified lines
326326 .shutdown = ath97_wdt_shutdown,
327327 .driver = {
328328 .name = DRIVER_NAME,
329− .owner = THIS_MODULE,
330329 .of_match_table = of_match_ptr(ath79_wdt_match),
331330 },
332331 };
drivers/watchdog/bcm2835_wdt.c+0−1
@@ -167,7 +167,6 @@ static struct platform_driver bcm2835_wdt_driver = { · 166 unmodified lines
167167 .shutdown = bcm2835_wdt_shutdown,
168168 .driver = {
169169 .name = "bcm2835-wdt",
170− .owner = THIS_MODULE,
171170 .of_match_table = bcm2835_wdt_of_match,
172171 },
173172 };
drivers/watchdog/bcm47xx_wdt.c+0−1
@@ -242,7 +242,6 @@ static int bcm47xx_wdt_remove(struct platform_device *pdev) · 241 unmodified lines
242242
243243 static struct platform_driver bcm47xx_wdt_driver = {
244244 .driver = {
245− .owner = THIS_MODULE,
246245 .name = "bcm47xx-wdt",
247246 },
248247 .probe = bcm47xx_wdt_probe,
drivers/watchdog/bcm63xx_wdt.c+0−1
@@ -304,7 +304,6 @@ static struct platform_driver bcm63xx_wdt_driver = { · 303 unmodified lines
304304 .remove = bcm63xx_wdt_remove,
305305 .shutdown = bcm63xx_wdt_shutdown,
306306 .driver = {
307− .owner = THIS_MODULE,
308307 .name = "bcm63xx-wdt",
309308 }
310309 };
drivers/watchdog/bcm_kona_wdt.c+0−1
@@ -352,7 +352,6 @@ MODULE_DEVICE_TABLE(of, bcm_kona_wdt_of_match); · 351 unmodified lines
352352 static struct platform_driver bcm_kona_wdt_driver = {
353353 .driver = {
354354 .name = BCM_KONA_WDT_NAME,
355− .owner = THIS_MODULE,
356355 .of_match_table = bcm_kona_wdt_of_match,
357356 },
358357 .probe = bcm_kona_wdt_probe,
drivers/watchdog/bfin_wdt.c+0−1
@@ -407,7 +407,6 @@ static struct platform_driver bfin_wdt_driver = { · 406 unmodified lines
407407 .resume = bfin_wdt_resume,
408408 .driver = {
409409 .name = WATCHDOG_NAME,
410− .owner = THIS_MODULE,
411410 },
412411 };
413412
drivers/watchdog/coh901327_wdt.c+0−1
@@ -448,7 +448,6 @@ static const struct of_device_id coh901327_dt_match[] = { · 447 unmodified lines
448448
449449 static struct platform_driver coh901327_driver = {
450450 .driver = {
451− .owner = THIS_MODULE,
452451 .name = "coh901327_wdog",
453452 .of_match_table = coh901327_dt_match,
454453 },
drivers/watchdog/cpwd.c+0−1
@@ -679,7 +679,6 @@ MODULE_DEVICE_TABLE(of, cpwd_match); · 678 unmodified lines
679679 static struct platform_driver cpwd_driver = {
680680 .driver = {
681681 .name = DRIVER_NAME,
682− .owner = THIS_MODULE,
683682 .of_match_table = cpwd_match,
684683 },
685684 .probe = cpwd_probe,
drivers/watchdog/davinci_wdt.c+0−1
@@ -218,7 +218,6 @@ MODULE_DEVICE_TABLE(of, davinci_wdt_of_match); · 217 unmodified lines
218218 static struct platform_driver platform_wdt_driver = {
219219 .driver = {
220220 .name = "davinci-wdt",
221− .owner = THIS_MODULE,
222221 .of_match_table = davinci_wdt_of_match,
223222 },
224223 .probe = davinci_wdt_probe,
drivers/watchdog/dw_wdt.c+0−1
@@ -382,7 +382,6 @@ static struct platform_driver dw_wdt_driver = { · 381 unmodified lines
382382 .remove = dw_wdt_drv_remove,
383383 .driver = {
384384 .name = "dw_wdt",
385− .owner = THIS_MODULE,
386385 .of_match_table = of_match_ptr(dw_wdt_of_match),
387386 .pm = &dw_wdt_pm_ops,
388387 },
drivers/watchdog/ep93xx_wdt.c+0−1
@@ -156,7 +156,6 @@ static int ep93xx_wdt_remove(struct platform_device *pdev) · 155 unmodified lines
156156
157157 static struct platform_driver ep93xx_wdt_driver = {
158158 .driver = {
159− .owner = THIS_MODULE,
160159 .name = "ep93xx-wdt",
161160 },
162161 .probe = ep93xx_wdt_probe,
drivers/watchdog/gef_wdt.c+0−1
@@ -307,7 +307,6 @@ static const struct of_device_id gef_wdt_ids[] = { · 306 unmodified lines
307307 static struct platform_driver gef_wdt_driver = {
308308 .driver = {
309309 .name = "gef_wdt",
310− .owner = THIS_MODULE,
311310 .of_match_table = gef_wdt_ids,
312311 },
313312 .probe = gef_wdt_probe,
drivers/watchdog/geodewdt.c+0−1
@@ -258,7 +258,6 @@ static struct platform_driver geodewdt_driver = { · 257 unmodified lines
258258 .remove = geodewdt_remove,
259259 .shutdown = geodewdt_shutdown,
260260 .driver = {
261− .owner = THIS_MODULE,
262261 .name = DRV_NAME,
263262 },
264263 };
drivers/watchdog/gpio_wdt.c+0−1
@@ -241,7 +241,6 @@ MODULE_DEVICE_TABLE(of, gpio_wdt_dt_ids); · 240 unmodified lines
241241 static struct platform_driver gpio_wdt_driver = {
242242 .driver = {
243243 .name = "gpio-wdt",
244− .owner = THIS_MODULE,
245244 .of_match_table = gpio_wdt_dt_ids,
246245 },
247246 .probe = gpio_wdt_probe,
drivers/watchdog/iTCO_wdt.c+0−1
@@ -576,7 +576,6 @@ static struct platform_driver iTCO_wdt_driver = { · 575 unmodified lines
576576 .remove = iTCO_wdt_remove,
577577 .shutdown = iTCO_wdt_shutdown,
578578 .driver = {
579− .owner = THIS_MODULE,
580579 .name = DRV_NAME,
581580 },
582581 };
drivers/watchdog/ib700wdt.c+0−1
@@ -339,7 +339,6 @@ static struct platform_driver ibwdt_driver = { · 338 unmodified lines
339339 .remove = ibwdt_remove,
340340 .shutdown = ibwdt_shutdown,
341341 .driver = {
342− .owner = THIS_MODULE,
343342 .name = DRV_NAME,
344343 },
345344 };
drivers/watchdog/ie6xx_wdt.c+0−1
@@ -313,7 +313,6 @@ static struct platform_driver ie6xx_wdt_driver = { · 312 unmodified lines
313313 .remove = ie6xx_wdt_remove,
314314 .driver = {
315315 .name = DRIVER_NAME,
316− .owner = THIS_MODULE,
317316 },
318317 };
319318
drivers/watchdog/imx2_wdt.c+0−1
@@ -337,7 +337,6 @@ static struct platform_driver imx2_wdt_driver = { · 336 unmodified lines
337337 .shutdown = imx2_wdt_shutdown,
338338 .driver = {
339339 .name = DRIVER_NAME,
340− .owner = THIS_MODULE,
341340 .of_match_table = imx2_wdt_dt_ids,
342341 },
343342 };
drivers/watchdog/intel-mid_wdt.c+0−1
@@ -172,7 +172,6 @@ static struct platform_driver mid_wdt_driver = { · 171 unmodified lines
172172 .probe = mid_wdt_probe,
173173 .remove = mid_wdt_remove,
174174 .driver = {
175− .owner = THIS_MODULE,
176175 .name = "intel_mid_wdt",
177176 },
178177 };
drivers/watchdog/jz4740_wdt.c+0−1
@@ -211,7 +211,6 @@ static struct platform_driver jz4740_wdt_driver = { · 210 unmodified lines
211211 .remove = jz4740_wdt_remove,
212212 .driver = {
213213 .name = "jz4740-wdt",
214− .owner = THIS_MODULE,
215214 },
216215 };
217216
drivers/watchdog/kempld_wdt.c+0−1
@@ -563,7 +563,6 @@ static int kempld_wdt_resume(struct platform_device *pdev) · 562 unmodified lines
563563 static struct platform_driver kempld_wdt_driver = {
564564 .driver = {
565565 .name = "kempld-wdt",
566− .owner = THIS_MODULE,
567566 },
568567 .probe = kempld_wdt_probe,
569568 .remove = kempld_wdt_remove,
drivers/watchdog/ks8695_wdt.c+0−1
@@ -296,7 +296,6 @@ static struct platform_driver ks8695wdt_driver = { · 295 unmodified lines
296296 .resume = ks8695wdt_resume,
297297 .driver = {
298298 .name = "ks8695_wdt",
299− .owner = THIS_MODULE,
300299 },
301300 };
302301
drivers/watchdog/lantiq_wdt.c+0−1
@@ -232,7 +232,6 @@ static struct platform_driver ltq_wdt_driver = { · 231 unmodified lines
232232 .remove = ltq_wdt_remove,
233233 .driver = {
234234 .name = "wdt",
235− .owner = THIS_MODULE,
236235 .of_match_table = ltq_wdt_match,
237236 },
238237 };
drivers/watchdog/max63xx_wdt.c+0−1
@@ -231,7 +231,6 @@ static struct platform_driver max63xx_wdt_driver = { · 230 unmodified lines
231231 .id_table = max63xx_id_table,
232232 .driver = {
233233 .name = "max63xx_wdt",
234− .owner = THIS_MODULE,
235234 },
236235 };
237236
drivers/watchdog/menf21bmc_wdt.c+0−1
@@ -187,7 +187,6 @@ static void menf21bmc_wdt_shutdown(struct platform_device *pdev) · 186 unmodified lines
187187
188188 static struct platform_driver menf21bmc_wdt = {
189189 .driver = {
190− .owner = THIS_MODULE,
191190 .name = DEVNAME,
192191 },
193192 .probe = menf21bmc_wdt_probe,
drivers/watchdog/moxart_wdt.c+0−1
@@ -174,7 +174,6 @@ static struct platform_driver moxart_wdt_driver = { · 173 unmodified lines
174174 .remove = moxart_wdt_remove,
175175 .driver = {
176176 .name = "moxart-watchdog",
177− .owner = THIS_MODULE,
178177 .of_match_table = moxart_watchdog_match,
179178 },
180179 };
drivers/watchdog/mpc8xxx_wdt.c+0−1
@@ -249,7 +249,6 @@ static struct platform_driver mpc8xxx_wdt_driver = { · 248 unmodified lines
249249 .remove = mpc8xxx_wdt_remove,
250250 .driver = {
251251 .name = "mpc8xxx_wdt",
252− .owner = THIS_MODULE,
253252 .of_match_table = mpc8xxx_wdt_match,
254253 },
255254 };
drivers/watchdog/mv64x60_wdt.c+0−1
@@ -300,7 +300,6 @@ static struct platform_driver mv64x60_wdt_driver = { · 299 unmodified lines
300300 .probe = mv64x60_wdt_probe,
301301 .remove = mv64x60_wdt_remove,
302302 .driver = {
303− .owner = THIS_MODULE,
304303 .name = MV64x60_WDT_NAME,
305304 },
306305 };
drivers/watchdog/nuc900_wdt.c+0−1
@@ -297,7 +297,6 @@ static struct platform_driver nuc900wdt_driver = { · 296 unmodified lines
297297 .remove = nuc900wdt_remove,
298298 .driver = {
299299 .name = "nuc900-wdt",
300− .owner = THIS_MODULE,
301300 },
302301 };
303302
drivers/watchdog/nv_tco.c+0−1
@@ -471,7 +471,6 @@ static struct platform_driver nv_tco_driver = { · 470 unmodified lines
471471 .remove = nv_tco_remove,
472472 .shutdown = nv_tco_shutdown,
473473 .driver = {
474− .owner = THIS_MODULE,
475474 .name = TCO_MODULE_NAME,
476475 },
477476 };
drivers/watchdog/omap_wdt.c+0−1
@@ -353,7 +353,6 @@ static struct platform_driver omap_wdt_driver = { · 352 unmodified lines
353353 .suspend = omap_wdt_suspend,
354354 .resume = omap_wdt_resume,
355355 .driver = {
356− .owner = THIS_MODULE,
357356 .name = "omap_wdt",
358357 .of_match_table = omap_wdt_of_match,
359358 },
drivers/watchdog/orion_wdt.c+0−1
@@ -633,7 +633,6 @@ static struct platform_driver orion_wdt_driver = { · 632 unmodified lines
633633 .remove = orion_wdt_remove,
634634 .shutdown = orion_wdt_shutdown,
635635 .driver = {
636− .owner = THIS_MODULE,
637636 .name = "orion_wdt",
638637 .of_match_table = orion_wdt_of_match_table,
639638 },
drivers/watchdog/pnx4008_wdt.c+0−1
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, pnx4008_wdt_match); · 206 unmodified lines
207207 static struct platform_driver platform_wdt_driver = {
208208 .driver = {
209209 .name = "pnx4008-watchdog",
210− .owner = THIS_MODULE,
211210 .of_match_table = of_match_ptr(pnx4008_wdt_match),
212211 },
213212 .probe = pnx4008_wdt_probe,
drivers/watchdog/rdc321x_wdt.c+0−1
@@ -287,7 +287,6 @@ static struct platform_driver rdc321x_wdt_driver = { · 286 unmodified lines
287287 .probe = rdc321x_wdt_probe,
288288 .remove = rdc321x_wdt_remove,
289289 .driver = {
290− .owner = THIS_MODULE,
291290 .name = "rdc321x-wdt",
292291 },
293292 };
drivers/watchdog/riowd.c+0−1
@@ -237,7 +237,6 @@ MODULE_DEVICE_TABLE(of, riowd_match); · 236 unmodified lines
237237 static struct platform_driver riowd_driver = {
238238 .driver = {
239239 .name = DRIVER_NAME,
240− .owner = THIS_MODULE,
241240 .of_match_table = riowd_match,
242241 },
243242 .probe = riowd_probe,
drivers/watchdog/rt2880_wdt.c+0−1
@@ -194,7 +194,6 @@ static struct platform_driver rt288x_wdt_driver = { · 193 unmodified lines
194194 .shutdown = rt288x_wdt_shutdown,
195195 .driver = {
196196 .name = KBUILD_MODNAME,
197− .owner = THIS_MODULE,
198197 .of_match_table = rt288x_wdt_match,
199198 },
200199 };
drivers/watchdog/s3c2410_wdt.c+0−1
@@ -741,7 +741,6 @@ static struct platform_driver s3c2410wdt_driver = { · 740 unmodified lines
741741 .shutdown = s3c2410wdt_shutdown,
742742 .id_table = s3c2410_wdt_ids,
743743 .driver = {
744− .owner = THIS_MODULE,
745744 .name = "s3c2410-wdt",
746745 .pm = &s3c2410wdt_pm_ops,
747746 .of_match_table = of_match_ptr(s3c2410_wdt_match),
drivers/watchdog/sch311x_wdt.c+0−1
@@ -453,7 +453,6 @@ static struct platform_driver sch311x_wdt_driver = { · 452 unmodified lines
453453 .remove = sch311x_wdt_remove,
454454 .shutdown = sch311x_wdt_shutdown,
455455 .driver = {
456− .owner = THIS_MODULE,
457456 .name = DRV_NAME,
458457 },
459458 };
drivers/watchdog/shwdt.c+0−1
@@ -303,7 +303,6 @@ static void sh_wdt_shutdown(struct platform_device *pdev) · 302 unmodified lines
303303 static struct platform_driver sh_wdt_driver = {
304304 .driver = {
305305 .name = DRV_NAME,
306− .owner = THIS_MODULE,
307306 },
308307
309308 .probe = sh_wdt_probe,
drivers/watchdog/sirfsoc_wdt.c+0−1
@@ -210,7 +210,6 @@ MODULE_DEVICE_TABLE(of, sirfsoc_wdt_of_match); · 209 unmodified lines
210210 static struct platform_driver sirfsoc_wdt_driver = {
211211 .driver = {
212212 .name = "sirfsoc-wdt",
213− .owner = THIS_MODULE,
214213 .pm = &sirfsoc_wdt_pm_ops,
215214 .of_match_table = sirfsoc_wdt_of_match,
216215 },
drivers/watchdog/sp5100_tco.c+0−1
@@ -538,7 +538,6 @@ static struct platform_driver sp5100_tco_driver = { · 537 unmodified lines
538538 .remove = sp5100_tco_remove,
539539 .shutdown = sp5100_tco_shutdown,
540540 .driver = {
541− .owner = THIS_MODULE,
542541 .name = TCO_MODULE_NAME,
543542 },
544543 };
drivers/watchdog/sunxi_wdt.c+0−1
@@ -314,7 +314,6 @@ static struct platform_driver sunxi_wdt_driver = { · 313 unmodified lines
314314 .remove = sunxi_wdt_remove,
315315 .shutdown = sunxi_wdt_shutdown,
316316 .driver = {
317− .owner = THIS_MODULE,
318317 .name = DRV_NAME,
319318 .of_match_table = sunxi_wdt_dt_ids,
320319 },
drivers/watchdog/tegra_wdt.c+0−1
@@ -289,7 +289,6 @@ static struct platform_driver tegra_wdt_driver = { · 288 unmodified lines
289289 .probe = tegra_wdt_probe,
290290 .remove = tegra_wdt_remove,
291291 .driver = {
292− .owner = THIS_MODULE,
293292 .name = "tegra-wdt",
294293 .pm = &tegra_wdt_pm_ops,
295294 .of_match_table = tegra_wdt_of_match,
drivers/watchdog/ts72xx_wdt.c+0−1
@@ -436,7 +436,6 @@ static struct platform_driver ts72xx_wdt_driver = { · 435 unmodified lines
436436 .remove = ts72xx_wdt_remove,
437437 .driver = {
438438 .name = "ts72xx-wdt",
439− .owner = THIS_MODULE,
440439 },
441440 };
442441
drivers/watchdog/twl4030_wdt.c+0−1
@@ -140,7 +140,6 @@ static struct platform_driver twl4030_wdt_driver = { · 139 unmodified lines
140140 .suspend = twl4030_wdt_suspend,
141141 .resume = twl4030_wdt_resume,
142142 .driver = {
143− .owner = THIS_MODULE,
144143 .name = "twl4030_wdt",
145144 .of_match_table = twl_wdt_of_match,
146145 },
drivers/watchdog/txx9wdt.c+0−1
@@ -167,7 +167,6 @@ static struct platform_driver txx9wdt_driver = { · 166 unmodified lines
167167 .shutdown = txx9wdt_shutdown,
168168 .driver = {
169169 .name = "txx9wdt",
170− .owner = THIS_MODULE,
171170 },
172171 };
173172
drivers/watchdog/ux500_wdt.c+0−1
@@ -156,7 +156,6 @@ static struct platform_driver ux500_wdt_driver = { · 155 unmodified lines
156156 .suspend = ux500_wdt_suspend,
157157 .resume = ux500_wdt_resume,
158158 .driver = {
159− .owner = THIS_MODULE,
160159 .name = "ux500_wdt",
161160 },
162161 };
drivers/watchdog/xen_wdt.c+0−1
@@ -320,7 +320,6 @@ static struct platform_driver xen_wdt_driver = { · 319 unmodified lines
320320 .suspend = xen_wdt_suspend,
321321 .resume = xen_wdt_resume,
322322 .driver = {
323− .owner = THIS_MODULE,
324323 .name = DRV_NAME,
325324 },
326325 };
drivers/zorro/zorro.c+0−1
@@ -222,7 +222,6 @@ static int __init amiga_zorro_probe(struct platform_device *pdev) · 221 unmodified lines
222222 static struct platform_driver amiga_zorro_driver = {
223223 .driver = {
224224 .name = "amiga-zorro",
225− .owner = THIS_MODULE,
226225 },
227226 };
228227
fs/debugfs/file.c+54−0
@@ -22,6 +22,7 @@ · 21 unmodified lines
2222 #include <linux/io.h>
2323 #include <linux/slab.h>
2424 #include <linux/atomic.h>
25+#include <linux/device.h>
2526
2627 static ssize_t default_read_file(struct file *file, char __user *buf,
2728 size_t count, loff_t *ppos)
@@ -762,3 +763,56 @@ struct dentry *debugfs_create_regset32(const char *name, umode_t mode, · 734 unmodified lines
762763 EXPORT_SYMBOL_GPL(debugfs_create_regset32);
763764
764765 #endif /* CONFIG_HAS_IOMEM */
766+
767+struct debugfs_devm_entry {
768+ int (*read)(struct seq_file *seq, void *data);
769+ struct device *dev;
770+};
771+
772+static int debugfs_devm_entry_open(struct inode *inode, struct file *f)
773+{
774+ struct debugfs_devm_entry *entry = inode->i_private;
775+
776+ return single_open(f, entry->read, entry->dev);
777+}
778+
779+static const struct file_operations debugfs_devm_entry_ops = {
780+ .owner = THIS_MODULE,
781+ .open = debugfs_devm_entry_open,
782+ .release = single_release,
783+ .read = seq_read,
784+ .llseek = seq_lseek
785+};
786+
787+/**
788+ * debugfs_create_devm_seqfile - create a debugfs file that is bound to device.
789+ *
790+ * @dev: device related to this debugfs file.
791+ * @name: name of the debugfs file.
792+ * @parent: a pointer to the parent dentry for this file. This should be a
793+ * directory dentry if set. If this parameter is %NULL, then the
794+ * file will be created in the root of the debugfs filesystem.
795+ * @read_fn: function pointer called to print the seq_file content.
796+ */
797+struct dentry *debugfs_create_devm_seqfile(struct device *dev, const char *name,
798+ struct dentry *parent,
799+ int (*read_fn)(struct seq_file *s,
800+ void *data))
801+{
802+ struct debugfs_devm_entry *entry;
803+
804+ if (IS_ERR(parent))
805+ return ERR_PTR(-ENOENT);
806+
807+ entry = devm_kzalloc(dev, sizeof(*entry), GFP_KERNEL);
808+ if (!entry)
809+ return ERR_PTR(-ENOMEM);
810+
811+ entry->read = read_fn;
812+ entry->dev = dev;
813+
814+ return debugfs_create_file(name, S_IRUGO, parent, entry,
815+ &debugfs_devm_entry_ops);
816+}
817+EXPORT_SYMBOL_GPL(debugfs_create_devm_seqfile);
818+
fs/kernfs/file.c+50−23
@@ -106,7 +106,7 @@ static void *kernfs_seq_start(struct seq_file *sf, loff_t *ppos) · 105 unmodified lines
106106 const struct kernfs_ops *ops;
107107
108108 /*
109− * @of->mutex nests outside active ref and is just to ensure that
109+ * @of->mutex nests outside active ref and is primarily to ensure that
110110 * the ops aren't called concurrently for the same open file.
111111 */
112112 mutex_lock(&of->mutex);
@@ -189,13 +189,16 @@ static ssize_t kernfs_file_direct_read(struct kernfs_open_file *of, · 76 unmodified lines
189189 const struct kernfs_ops *ops;
190190 char *buf;
191191
192− buf = kmalloc(len, GFP_KERNEL);
192+ buf = of->prealloc_buf;
193+ if (!buf)
194+ buf = kmalloc(len, GFP_KERNEL);
193195 if (!buf)
194196 return -ENOMEM;
195197
196198 /*
197− * @of->mutex nests outside active ref and is just to ensure that
198− * the ops aren't called concurrently for the same open file.
199+ * @of->mutex nests outside active ref and is used both to ensure that
200+ * the ops aren't called concurrently for the same open file, and
201+ * to provide exclusive access to ->prealloc_buf (when that exists).
199202 */
200203 mutex_lock(&of->mutex);
201204 if (!kernfs_get_active(of->kn)) {
@@ -210,21 +213,22 @@ static ssize_t kernfs_file_direct_read(struct kernfs_open_file *of, · 8 unmodified lines
210213 else
211214 len = -EINVAL;
212215
213− kernfs_put_active(of->kn);
214− mutex_unlock(&of->mutex);
215−
216216 if (len < 0)
217− goto out_free;
217+ goto out_unlock;
218218
219219 if (copy_to_user(user_buf, buf, len)) {
220220 len = -EFAULT;
221− goto out_free;
221+ goto out_unlock;
222222 }
223223
224224 *ppos += len;
225225
226+ out_unlock:
227+ kernfs_put_active(of->kn);
228+ mutex_unlock(&of->mutex);
226229 out_free:
227− kfree(buf);
230+ if (buf != of->prealloc_buf)
231+ kfree(buf);
228232 return len;
229233 }
230234
@@ -278,19 +282,16 @@ static ssize_t kernfs_fop_write(struct file *file, const char __user *user_buf, · 47 unmodified lines
278282 len = min_t(size_t, count, PAGE_SIZE);
279283 }
280284
281− buf = kmalloc(len + 1, GFP_KERNEL);
285+ buf = of->prealloc_buf;
286+ if (!buf)
287+ buf = kmalloc(len + 1, GFP_KERNEL);
282288 if (!buf)
283289 return -ENOMEM;
284290
285− if (copy_from_user(buf, user_buf, len)) {
286− len = -EFAULT;
287− goto out_free;
288− }
289− buf[len] = '\0'; /* guarantee string termination */
290−
291291 /*
292− * @of->mutex nests outside active ref and is just to ensure that
293− * the ops aren't called concurrently for the same open file.
292+ * @of->mutex nests outside active ref and is used both to ensure that
293+ * the ops aren't called concurrently for the same open file, and
294+ * to provide exclusive access to ->prealloc_buf (when that exists).
294295 */
295296 mutex_lock(&of->mutex);
296297 if (!kernfs_get_active(of->kn)) {
@@ -299,19 +300,27 @@ static ssize_t kernfs_fop_write(struct file *file, const char __user *user_buf, · 2 unmodified lines
299300 goto out_free;
300301 }
301302
303+ if (copy_from_user(buf, user_buf, len)) {
304+ len = -EFAULT;
305+ goto out_unlock;
306+ }
307+ buf[len] = '\0'; /* guarantee string termination */
308+
302309 ops = kernfs_ops(of->kn);
303310 if (ops->write)
304311 len = ops->write(of, buf, len, *ppos);
305312 else
306313 len = -EINVAL;
307314
308− kernfs_put_active(of->kn);
309− mutex_unlock(&of->mutex);
310−
311315 if (len > 0)
312316 *ppos += len;
317+
318+out_unlock:
319+ kernfs_put_active(of->kn);
320+ mutex_unlock(&of->mutex);
313321 out_free:
314− kfree(buf);
322+ if (buf != of->prealloc_buf)
323+ kfree(buf);
315324 return len;
316325 }
317326
@@ -685,6 +694,22 @@ static int kernfs_fop_open(struct inode *inode, struct file *file) · 367 unmodified lines
685694 */
686695 of->atomic_write_len = ops->atomic_write_len;
687696
697+ error = -EINVAL;
698+ /*
699+ * ->seq_show is incompatible with ->prealloc,
700+ * as seq_read does its own allocation.
701+ * ->read must be used instead.
702+ */
703+ if (ops->prealloc && ops->seq_show)
704+ goto err_free;
705+ if (ops->prealloc) {
706+ int len = of->atomic_write_len ?: PAGE_SIZE;
707+ of->prealloc_buf = kmalloc(len + 1, GFP_KERNEL);
708+ error = -ENOMEM;
709+ if (!of->prealloc_buf)
710+ goto err_free;
711+ }
712+
688713 /*
689714 * Always instantiate seq_file even if read access doesn't use
690715 * seq_file or is not requested. This unifies private data access
@@ -715,6 +740,7 @@ static int kernfs_fop_open(struct inode *inode, struct file *file) · 24 unmodified lines
715740 err_close:
716741 seq_release(inode, file);
717742 err_free:
743+ kfree(of->prealloc_buf);
718744 kfree(of);
719745 err_out:
720746 kernfs_put_active(kn);
@@ -728,6 +754,7 @@ static int kernfs_fop_release(struct inode *inode, struct file *filp) · 7 unmodified lines
728754
729755 kernfs_put_open_node(kn, of);
730756 seq_release(inode, filp);
757+ kfree(of->prealloc_buf);
731758 kfree(of);
732759
733760 return 0;
fs/pstore/ram.c+0−1
@@ -561,7 +561,6 @@ static struct platform_driver ramoops_driver = { · 560 unmodified lines
561561 .remove = __exit_p(ramoops_remove),
562562 .driver = {
563563 .name = "ramoops",
564− .owner = THIS_MODULE,
565564 },
566565 };
567566
fs/sysfs/file.c+50−9
@@ -102,6 +102,22 @@ static ssize_t sysfs_kf_bin_read(struct kernfs_open_file *of, char *buf, · 101 unmodified lines
102102 return battr->read(of->file, kobj, battr, buf, pos, count);
103103 }
104104
105+/* kernfs read callback for regular sysfs files with pre-alloc */
106+static ssize_t sysfs_kf_read(struct kernfs_open_file *of, char *buf,
107+ size_t count, loff_t pos)
108+{
109+ const struct sysfs_ops *ops = sysfs_file_ops(of->kn);
110+ struct kobject *kobj = of->kn->parent->priv;
111+
112+ /*
113+ * If buf != of->prealloc_buf, we don't know how
114+ * large it is, so cannot safely pass it to ->show
115+ */
116+ if (pos || WARN_ON_ONCE(buf != of->prealloc_buf))
117+ return 0;
118+ return ops->show(kobj, of->kn->priv, buf);
119+}
120+
105121 /* kernfs write callback for regular sysfs files */
106122 static ssize_t sysfs_kf_write(struct kernfs_open_file *of, char *buf,
107123 size_t count, loff_t pos)
@@ -125,7 +141,7 @@ static ssize_t sysfs_kf_bin_write(struct kernfs_open_file *of, char *buf, · 17 unmodified lines
125141
126142 if (size) {
127143 if (size <= pos)
128− return 0;
144+ return -EFBIG;
129145 count = min_t(ssize_t, count, size - pos);
130146 }
131147 if (!count)
@@ -184,6 +200,22 @@ static const struct kernfs_ops sysfs_file_kfops_rw = { · 52 unmodified lines
184200 .write = sysfs_kf_write,
185201 };
186202
203+static const struct kernfs_ops sysfs_prealloc_kfops_ro = {
204+ .read = sysfs_kf_read,
205+ .prealloc = true,
206+};
207+
208+static const struct kernfs_ops sysfs_prealloc_kfops_wo = {
209+ .write = sysfs_kf_write,
210+ .prealloc = true,
211+};
212+
213+static const struct kernfs_ops sysfs_prealloc_kfops_rw = {
214+ .read = sysfs_kf_read,
215+ .write = sysfs_kf_write,
216+ .prealloc = true,
217+};
218+
187219 static const struct kernfs_ops sysfs_bin_kfops_ro = {
188220 .read = sysfs_kf_bin_read,
189221 };
@@ -222,13 +254,22 @@ int sysfs_add_file_mode_ns(struct kernfs_node *parent, · 32 unmodified lines
222254 kobject_name(kobj)))
223255 return -EINVAL;
224256
225− if (sysfs_ops->show && sysfs_ops->store)
226− ops = &sysfs_file_kfops_rw;
227− else if (sysfs_ops->show)
228− ops = &sysfs_file_kfops_ro;
229− else if (sysfs_ops->store)
230− ops = &sysfs_file_kfops_wo;
231− else
257+ if (sysfs_ops->show && sysfs_ops->store) {
258+ if (mode & SYSFS_PREALLOC)
259+ ops = &sysfs_prealloc_kfops_rw;
260+ else
261+ ops = &sysfs_file_kfops_rw;
262+ } else if (sysfs_ops->show) {
263+ if (mode & SYSFS_PREALLOC)
264+ ops = &sysfs_prealloc_kfops_ro;
265+ else
266+ ops = &sysfs_file_kfops_ro;
267+ } else if (sysfs_ops->store) {
268+ if (mode & SYSFS_PREALLOC)
269+ ops = &sysfs_prealloc_kfops_wo;
270+ else
271+ ops = &sysfs_file_kfops_wo;
272+ } else
232273 ops = &sysfs_file_kfops_empty;
233274
234275 size = PAGE_SIZE;
@@ -253,7 +294,7 @@ int sysfs_add_file_mode_ns(struct kernfs_node *parent, · 18 unmodified lines
253294 if (!attr->ignore_lockdep)
254295 key = attr->key ?: (struct lock_class_key *)&attr->skey;
255296 #endif
256− kn = __kernfs_create_file(parent, attr->name, mode, size, ops,
297+ kn = __kernfs_create_file(parent, attr->name, mode & 0777, size, ops,
257298 (void *)attr, ns, true, key);
258299 if (IS_ERR(kn)) {
259300 if (PTR_ERR(kn) == -EEXIST)
include/linux/bitmap.h+3−0
@@ -61,6 +61,7 @@ · 60 unmodified lines
6161 * bitmap_find_free_region(bitmap, bits, order) Find and allocate bit region
6262 * bitmap_release_region(bitmap, pos, order) Free specified bit region
6363 * bitmap_allocate_region(bitmap, pos, order) Allocate specified bit region
64+ * bitmap_print_to_pagebuf(list, buf, mask, nbits) Print bitmap src as list/hex
6465 */
6566
6667 /*
@@ -171,6 +172,8 @@ extern void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int o · 104 unmodified lines
171172 extern int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order);
172173 extern void bitmap_copy_le(void *dst, const unsigned long *src, int nbits);
173174 extern int bitmap_ord_to_pos(const unsigned long *bitmap, int n, int bits);
175+extern int bitmap_print_to_pagebuf(bool list, char *buf,
176+ const unsigned long *maskp, int nmaskbits);
174177
175178 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) % BITS_PER_LONG))
176179 #define BITMAP_LAST_WORD_MASK(nbits) \
include/linux/cacheinfo.h+100−0
@@ -0,0 +1,100 @@
1+#ifndef _LINUX_CACHEINFO_H
2+#define _LINUX_CACHEINFO_H
3+
4+#include <linux/bitops.h>
5+#include <linux/cpumask.h>
6+#include <linux/smp.h>
7+
8+struct device_node;
9+struct attribute;
10+
11+enum cache_type {
12+ CACHE_TYPE_NOCACHE = 0,
13+ CACHE_TYPE_INST = BIT(0),
14+ CACHE_TYPE_DATA = BIT(1),
15+ CACHE_TYPE_SEPARATE = CACHE_TYPE_INST | CACHE_TYPE_DATA,
16+ CACHE_TYPE_UNIFIED = BIT(2),
17+};
18+
19+/**
20+ * struct cacheinfo - represent a cache leaf node
21+ * @type: type of the cache - data, inst or unified
22+ * @level: represents the hierarcy in the multi-level cache
23+ * @coherency_line_size: size of each cache line usually representing
24+ * the minimum amount of data that gets transferred from memory
25+ * @number_of_sets: total number of sets, a set is a collection of cache
26+ * lines sharing the same index
27+ * @ways_of_associativity: number of ways in which a particular memory
28+ * block can be placed in the cache
29+ * @physical_line_partition: number of physical cache lines sharing the
30+ * same cachetag
31+ * @size: Total size of the cache
32+ * @shared_cpu_map: logical cpumask representing all the cpus sharing
33+ * this cache node
34+ * @attributes: bitfield representing various cache attributes
35+ * @of_node: if devicetree is used, this represents either the cpu node in
36+ * case there's no explicit cache node or the cache node itself in the
37+ * device tree
38+ * @disable_sysfs: indicates whether this node is visible to the user via
39+ * sysfs or not
40+ * @priv: pointer to any private data structure specific to particular
41+ * cache design
42+ *
43+ * While @of_node, @disable_sysfs and @priv are used for internal book
44+ * keeping, the remaining members form the core properties of the cache
45+ */
46+struct cacheinfo {
47+ enum cache_type type;
48+ unsigned int level;
49+ unsigned int coherency_line_size;
50+ unsigned int number_of_sets;
51+ unsigned int ways_of_associativity;
52+ unsigned int physical_line_partition;
53+ unsigned int size;
54+ cpumask_t shared_cpu_map;
55+ unsigned int attributes;
56+#define CACHE_WRITE_THROUGH BIT(0)
57+#define CACHE_WRITE_BACK BIT(1)
58+#define CACHE_WRITE_POLICY_MASK \
59+ (CACHE_WRITE_THROUGH | CACHE_WRITE_BACK)
60+#define CACHE_READ_ALLOCATE BIT(2)
61+#define CACHE_WRITE_ALLOCATE BIT(3)
62+#define CACHE_ALLOCATE_POLICY_MASK \
63+ (CACHE_READ_ALLOCATE | CACHE_WRITE_ALLOCATE)
64+
65+ struct device_node *of_node;
66+ bool disable_sysfs;
67+ void *priv;
68+};
69+
70+struct cpu_cacheinfo {
71+ struct cacheinfo *info_list;
72+ unsigned int num_levels;
73+ unsigned int num_leaves;
74+};
75+
76+/*
77+ * Helpers to make sure "func" is executed on the cpu whose cache
78+ * attributes are being detected
79+ */
80+#define DEFINE_SMP_CALL_CACHE_FUNCTION(func) \
81+static inline void _##func(void *ret) \
82+{ \
83+ int cpu = smp_processor_id(); \
84+ *(int *)ret = __##func(cpu); \
85+} \
86+ \
87+int func(unsigned int cpu) \
88+{ \
89+ int ret; \
90+ smp_call_function_single(cpu, _##func, &ret, true); \
91+ return ret; \
92+}
93+
94+struct cpu_cacheinfo *get_cpu_cacheinfo(unsigned int cpu);
95+int init_cache_level(unsigned int cpu);
96+int populate_cache_leaves(unsigned int cpu);
97+
98+const struct attribute_group *cache_get_priv_group(struct cacheinfo *this_leaf);
99+
100+#endif /* _LINUX_CACHEINFO_H */
include/linux/cpu.h+4−0
@@ -19,6 +19,7 @@ · 18 unmodified lines
1919
2020 struct device;
2121 struct device_node;
22+struct attribute_group;
2223
2324 struct cpu {
2425 int node_id; /* The node which contains the CPU */
@@ -39,6 +40,9 @@ extern void cpu_remove_dev_attr(struct device_attribute *attr); · 14 unmodified lines
3940 extern int cpu_add_dev_attr_group(struct attribute_group *attrs);
4041 extern void cpu_remove_dev_attr_group(struct attribute_group *attrs);
4142
43+extern struct device *cpu_device_create(struct device *parent, void *drvdata,
44+ const struct attribute_group **groups,
45+ const char *fmt, ...);
4246 #ifdef CONFIG_HOTPLUG_CPU
4347 extern void unregister_cpu(struct cpu *cpu);
4448 extern ssize_t arch_cpu_probe(const char *, size_t);
include/linux/cpumask.h+17−0
@@ -803,6 +803,23 @@ static inline const struct cpumask *get_cpu_mask(unsigned int cpu) · 802 unmodified lines
803803 }
804804 #endif /* NR_CPUS > BITS_PER_LONG */
805805
806+/**
807+ * cpumap_print_to_pagebuf - copies the cpumask into the buffer either
808+ * as comma-separated list of cpus or hex values of cpumask
809+ * @list: indicates whether the cpumap must be list
810+ * @mask: the cpumask to copy
811+ * @buf: the buffer to copy into
812+ *
813+ * Returns the length of the (null-terminated) @buf string, zero if
814+ * nothing is copied.
815+ */
816+static inline ssize_t
817+cpumap_print_to_pagebuf(bool list, char *buf, const struct cpumask *mask)
818+{
819+ return bitmap_print_to_pagebuf(list, buf, cpumask_bits(mask),
820+ nr_cpumask_bits);
821+}
822+
806823 /*
807824 *
808825 * From here down, all obsolete. Use cpumask_ variants!
include/linux/debugfs.h+16−1
@@ -20,6 +20,7 @@ · 19 unmodified lines
2020
2121 #include <linux/types.h>
2222
23+struct device;
2324 struct file_operations;
2425
2526 struct debugfs_blob_wrapper {
@@ -99,13 +100,18 @@ struct dentry *debugfs_create_u32_array(const char *name, umode_t mode, · 73 unmodified lines
99100 struct dentry *parent,
100101 u32 *array, u32 elements);
101102
103+struct dentry *debugfs_create_devm_seqfile(struct device *dev, const char *name,
104+ struct dentry *parent,
105+ int (*read_fn)(struct seq_file *s,
106+ void *data));
107+
102108 bool debugfs_initialized(void);
103109
104110 #else
105111
106112 #include <linux/err.h>
107113
108−/*
114+/*
109115 * We do not return NULL from these functions if CONFIG_DEBUG_FS is not enabled
110116 * so users have a chance to detect if there was a real error or not. We don't
111117 * want to duplicate the design decision mistakes of procfs and devfs again.
@@ -250,6 +256,15 @@ static inline struct dentry *debugfs_create_u32_array(const char *name, umode_t · 138 unmodified lines
250256 return ERR_PTR(-ENODEV);
251257 }
252258
259+static inline struct dentry *debugfs_create_devm_seqfile(struct device *dev,
260+ const char *name,
261+ struct dentry *parent,
262+ int (*read_fn)(struct seq_file *s,
263+ void *data))
264+{
265+ return ERR_PTR(-ENODEV);
266+}
267+
253268 #endif
254269
255270 #endif
include/linux/device.h+35−0
@@ -1123,6 +1123,41 @@ do { \ · 1122 unmodified lines
11231123 })
11241124 #endif
11251125
1126+#ifdef CONFIG_PRINTK
1127+#define dev_level_once(dev_level, dev, fmt, ...) \
1128+do { \
1129+ static bool __print_once __read_mostly; \
1130+ \
1131+ if (!__print_once) { \
1132+ __print_once = true; \
1133+ dev_level(dev, fmt, ##__VA_ARGS__); \
1134+ } \
1135+} while (0)
1136+#else
1137+#define dev_level_once(dev_level, dev, fmt, ...) \
1138+do { \
1139+ if (0) \
1140+ dev_level(dev, fmt, ##__VA_ARGS__); \
1141+} while (0)
1142+#endif
1143+
1144+#define dev_emerg_once(dev, fmt, ...) \
1145+ dev_level_once(dev_emerg, dev, fmt, ##__VA_ARGS__)
1146+#define dev_alert_once(dev, fmt, ...) \
1147+ dev_level_once(dev_alert, dev, fmt, ##__VA_ARGS__)
1148+#define dev_crit_once(dev, fmt, ...) \
1149+ dev_level_once(dev_crit, dev, fmt, ##__VA_ARGS__)
1150+#define dev_err_once(dev, fmt, ...) \
1151+ dev_level_once(dev_err, dev, fmt, ##__VA_ARGS__)
1152+#define dev_warn_once(dev, fmt, ...) \
1153+ dev_level_once(dev_warn, dev, fmt, ##__VA_ARGS__)
1154+#define dev_notice_once(dev, fmt, ...) \
1155+ dev_level_once(dev_notice, dev, fmt, ##__VA_ARGS__)
1156+#define dev_info_once(dev, fmt, ...) \
1157+ dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__)
1158+#define dev_dbg_once(dev, fmt, ...) \
1159+ dev_level_once(dev_info, dev, fmt, ##__VA_ARGS__)
1160+
11261161 #define dev_level_ratelimited(dev_level, dev, fmt, ...) \
11271162 do { \
11281163 static DEFINE_RATELIMIT_STATE(_rs, \
include/linux/kernfs.h+8−0
@@ -179,6 +179,7 @@ struct kernfs_open_file { · 178 unmodified lines
179179 struct mutex mutex;
180180 int event;
181181 struct list_head list;
182+ char *prealloc_buf;
182183
183184 size_t atomic_write_len;
184185 bool mmapped;
@@ -214,6 +215,13 @@ struct kernfs_ops { · 29 unmodified lines
214215 * larger ones are rejected with -E2BIG.
215216 */
216217 size_t atomic_write_len;
218+ /*
219+ * "prealloc" causes a buffer to be allocated at open for
220+ * all read/write requests. As ->seq_show uses seq_read()
221+ * which does its own allocation, it is incompatible with
222+ * ->prealloc. Provide ->read and ->write with ->prealloc.
223+ */
224+ bool prealloc;
217225 ssize_t (*write)(struct kernfs_open_file *of, char *buf, size_t bytes,
218226 loff_t off);
219227
include/linux/platform_device.h+8−4
@@ -197,8 +197,10 @@ extern void platform_driver_unregister(struct platform_driver *); · 196 unmodified lines
197197 /* non-hotpluggable platform devices may use this so that probe() and
198198 * its support may live in __init sections, conserving runtime memory.
199199 */
200−extern int platform_driver_probe(struct platform_driver *driver,
201− int (*probe)(struct platform_device *));
200+#define platform_driver_probe(drv, probe) \
201+ __platform_driver_probe(drv, probe, THIS_MODULE)
202+extern int __platform_driver_probe(struct platform_driver *driver,
203+ int (*probe)(struct platform_device *), struct module *module);
202204
203205 static inline void *platform_get_drvdata(const struct platform_device *pdev)
204206 {
@@ -238,10 +240,12 @@ static void __exit __platform_driver##_exit(void) \ · 33 unmodified lines
238240 } \
239241 module_exit(__platform_driver##_exit);
240242
241−extern struct platform_device *platform_create_bundle(
243+#define platform_create_bundle(driver, probe, res, n_res, data, size) \
244+ __platform_create_bundle(driver, probe, res, n_res, data, size, THIS_MODULE)
245+extern struct platform_device *__platform_create_bundle(
242246 struct platform_driver *driver, int (*probe)(struct platform_device *),
243247 struct resource *res, unsigned int n_res,
244− const void *data, size_t size);
248+ const void *data, size_t size, struct module *module);
245249
246250 /* early platform driver interface */
247251 struct early_platform_driver {
include/linux/sysfs.h+9−0
@@ -70,6 +70,8 @@ struct attribute_group { · 69 unmodified lines
7070 * for examples..
7171 */
7272
73+#define SYSFS_PREALLOC 010000
74+
7375 #define __ATTR(_name, _mode, _show, _store) { \
7476 .attr = {.name = __stringify(_name), \
7577 .mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
@@ -77,6 +79,13 @@ struct attribute_group { · 1 unmodified line
7779 .store = _store, \
7880 }
7981
82+#define __ATTR_PREALLOC(_name, _mode, _show, _store) { \
83+ .attr = {.name = __stringify(_name), \
84+ .mode = SYSFS_PREALLOC | VERIFY_OCTAL_PERMISSIONS(_mode) },\
85+ .show = _show, \
86+ .store = _store, \
87+}
88+
8089 #define __ATTR_RO(_name) { \
8190 .attr = { .name = __stringify(_name), .mode = S_IRUGO }, \
8291 .show = _name##_show, \
lib/bitmap.c+29−0
@@ -12,6 +12,8 @@ · 11 unmodified lines
1212 #include <linux/bitmap.h>
1313 #include <linux/bitops.h>
1414 #include <linux/bug.h>
15+
16+#include <asm/page.h>
1517 #include <asm/uaccess.h>
1618
1719 /*
@@ -585,6 +587,33 @@ int bitmap_scnlistprintf(char *buf, unsigned int buflen, · 567 unmodified lines
585587 }
586588 EXPORT_SYMBOL(bitmap_scnlistprintf);
587589
590+/**
591+ * bitmap_print_to_pagebuf - convert bitmap to list or hex format ASCII string
592+ * @list: indicates whether the bitmap must be list
593+ * @buf: page aligned buffer into which string is placed
594+ * @maskp: pointer to bitmap to convert
595+ * @nmaskbits: size of bitmap, in bits
596+ *
597+ * Output format is a comma-separated list of decimal numbers and
598+ * ranges if list is specified or hex digits grouped into comma-separated
599+ * sets of 8 digits/set. Returns the number of characters written to buf.
600+ */
601+int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp,
602+ int nmaskbits)
603+{
604+ ptrdiff_t len = PTR_ALIGN(buf + PAGE_SIZE - 1, PAGE_SIZE) - buf - 2;
605+ int n = 0;
606+
607+ if (len > 1) {
608+ n = list ? bitmap_scnlistprintf(buf, len, maskp, nmaskbits) :
609+ bitmap_scnprintf(buf, len, maskp, nmaskbits);
610+ buf[n++] = '\n';
611+ buf[n] = '\0';
612+ }
613+ return n;
614+}
615+EXPORT_SYMBOL(bitmap_print_to_pagebuf);
616+
588617 /**
589618 * __bitmap_parselist - convert list format ASCII string to bitmap
590619 * @buf: read nul-terminated user string from this buffer
lib/kobject.c+1−1
@@ -976,7 +976,7 @@ const struct kobj_ns_type_operations *kobj_child_ns_ops(struct kobject *parent) · 975 unmodified lines
976976 {
977977 const struct kobj_ns_type_operations *ops = NULL;
978978
979− if (parent && parent->ktype->child_ns_type)
979+ if (parent && parent->ktype && parent->ktype->child_ns_type)
980980 ops = parent->ktype->child_ns_type(parent);
981981
982982 return ops;
net/dsa/dsa.c+0−1
@@ -879,7 +879,6 @@ static struct platform_driver dsa_driver = { · 878 unmodified lines
879879 .shutdown = dsa_shutdown,
880880 .driver = {
881881 .name = "dsa",
882− .owner = THIS_MODULE,
883882 .of_match_table = dsa_of_match_table,
884883 .pm = &dsa_pm_ops,
885884 },
net/rfkill/rfkill-gpio.c+0−1
@@ -183,7 +183,6 @@ static struct platform_driver rfkill_gpio_driver = { · 182 unmodified lines
183183 .remove = rfkill_gpio_remove,
184184 .driver = {
185185 .name = "rfkill_gpio",
186− .owner = THIS_MODULE,
187186 .acpi_match_table = ACPI_PTR(rfkill_acpi_match),
188187 },
189188 };
net/rfkill/rfkill-regulator.c+0−1
@@ -142,7 +142,6 @@ static struct platform_driver rfkill_regulator_driver = { · 141 unmodified lines
142142 .remove = rfkill_regulator_remove,
143143 .driver = {
144144 .name = "rfkill-regulator",
145− .owner = THIS_MODULE,
146145 },
147146 };
148147
scripts/coccinelle/api/platform_no_drv_owner.cocci+106−0
@@ -0,0 +1,106 @@
1+/// Remove .owner field if calls are used which set it automatically
2+///
3+// Confidence: High
4+// Copyright: (C) 2014 Wolfram Sang. GPL v2.
5+
6+virtual patch
7+virtual context
8+virtual org
9+virtual report
10+
11+@match1@
12+declarer name module_platform_driver;
13+declarer name module_platform_driver_probe;
14+identifier __driver;
15+@@
16+(
17+ module_platform_driver(__driver);
18+|
19+ module_platform_driver_probe(__driver, ...);
20+)
21+
22+@fix1 depends on match1 && patch && !context && !org && !report@
23+identifier match1.__driver;
24+@@
25+ static struct platform_driver __driver = {
26+ .driver = {
27+- .owner = THIS_MODULE,
28+ }
29+ };
30+
31+@match2@
32+identifier __driver;
33+@@
34+(
35+ platform_driver_register(&__driver)
36+|
37+ platform_driver_probe(&__driver, ...)
38+|
39+ platform_create_bundle(&__driver, ...)
40+)
41+
42+@fix2 depends on match2 && patch && !context && !org && !report@
43+identifier match2.__driver;
44+@@
45+ static struct platform_driver __driver = {
46+ .driver = {
47+- .owner = THIS_MODULE,
48+ }
49+ };
50+
51+// ----------------------------------------------------------------------------
52+
53+@fix1_context depends on match1 && !patch && (context || org || report)@
54+identifier match1.__driver;
55+position j0;
56+@@
57+
58+ static struct platform_driver __driver = {
59+ .driver = {
60+* .owner@j0 = THIS_MODULE,
61+ }
62+ };
63+
64+@fix2_context depends on match2 && !patch && (context || org || report)@
65+identifier match2.__driver;
66+position j0;
67+@@
68+
69+ static struct platform_driver __driver = {
70+ .driver = {
71+* .owner@j0 = THIS_MODULE,
72+ }
73+ };
74+
75+// ----------------------------------------------------------------------------
76+
77+@script:python fix1_org depends on org@
78+j0 << fix1_context.j0;
79+@@
80+
81+msg = "No need to set .owner here. The core will do it."
82+coccilib.org.print_todo(j0[0], msg)
83+
84+@script:python fix2_org depends on org@
85+j0 << fix2_context.j0;
86+@@
87+
88+msg = "No need to set .owner here. The core will do it."
89+coccilib.org.print_todo(j0[0], msg)
90+
91+// ----------------------------------------------------------------------------
92+
93+@script:python fix1_report depends on report@
94+j0 << fix1_context.j0;
95+@@
96+
97+msg = "No need to set .owner here. The core will do it."
98+coccilib.report.print_report(j0[0], msg)
99+
100+@script:python fix2_report depends on report@
101+j0 << fix2_context.j0;
102+@@
103+
104+msg = "No need to set .owner here. The core will do it."
105+coccilib.report.print_report(j0[0], msg)
106+
sound/arm/pxa2xx-ac97.c+0−1
@@ -241,7 +241,6 @@ static struct platform_driver pxa2xx_ac97_driver = { · 240 unmodified lines
241241 .remove = pxa2xx_ac97_remove,
242242 .driver = {
243243 .name = "pxa2xx-ac97",
244− .owner = THIS_MODULE,
245244 #ifdef CONFIG_PM_SLEEP
246245 .pm = &pxa2xx_ac97_pm_ops,
247246 #endif
sound/atmel/abdac.c+0−1
@@ -588,7 +588,6 @@ static struct platform_driver atmel_abdac_driver = { · 587 unmodified lines
588588 .remove = atmel_abdac_remove,
589589 .driver = {
590590 .name = "atmel_abdac",
591− .owner = THIS_MODULE,
592591 .pm = ATMEL_ABDAC_PM_OPS,
593592 },
594593 };
sound/atmel/ac97c.c+0−1
@@ -1203,7 +1203,6 @@ static struct platform_driver atmel_ac97c_driver = { · 1202 unmodified lines
12031203 .remove = atmel_ac97c_remove,
12041204 .driver = {
12051205 .name = "atmel_ac97c",
1206− .owner = THIS_MODULE,
12071206 .pm = ATMEL_AC97C_PM_OPS,
12081207 },
12091208 };
sound/drivers/aloop.c+0−1
@@ -1220,7 +1220,6 @@ static struct platform_driver loopback_driver = { · 1219 unmodified lines
12201220 .remove = loopback_remove,
12211221 .driver = {
12221222 .name = SND_LOOPBACK_DRIVER,
1223− .owner = THIS_MODULE,
12241223 .pm = LOOPBACK_PM_OPS,
12251224 },
12261225 };
sound/drivers/dummy.c+0−1
@@ -1162,7 +1162,6 @@ static struct platform_driver snd_dummy_driver = { · 1161 unmodified lines
11621162 .remove = snd_dummy_remove,
11631163 .driver = {
11641164 .name = SND_DUMMY_DRIVER,
1165− .owner = THIS_MODULE,
11661165 .pm = SND_DUMMY_PM_OPS,
11671166 },
11681167 };
sound/drivers/ml403-ac97cr.c+0−1
@@ -1335,7 +1335,6 @@ static struct platform_driver snd_ml403_ac97cr_driver = { · 1334 unmodified lines
13351335 .remove = snd_ml403_ac97cr_remove,
13361336 .driver = {
13371337 .name = SND_ML403_AC97CR_DRIVER,
1338− .owner = THIS_MODULE,
13391338 },
13401339 };
13411340
sound/drivers/mpu401/mpu401.c+0−1
@@ -140,7 +140,6 @@ static struct platform_driver snd_mpu401_driver = { · 139 unmodified lines
140140 .remove = snd_mpu401_remove,
141141 .driver = {
142142 .name = SND_MPU401_DRIVER,
143− .owner = THIS_MODULE,
144143 },
145144 };
146145
sound/drivers/mtpav.c+0−1
@@ -759,7 +759,6 @@ static struct platform_driver snd_mtpav_driver = { · 758 unmodified lines
759759 .remove = snd_mtpav_remove,
760760 .driver = {
761761 .name = SND_MTPAV_DRIVER,
762− .owner = THIS_MODULE,
763762 },
764763 };
765764
sound/drivers/mts64.c+0−1
@@ -1030,7 +1030,6 @@ static struct platform_driver snd_mts64_driver = { · 1029 unmodified lines
10301030 .remove = snd_mts64_remove,
10311031 .driver = {
10321032 .name = PLATFORM_DRIVER,
1033− .owner = THIS_MODULE,
10341033 }
10351034 };
10361035
sound/drivers/pcsp/pcsp.c+0−1
@@ -221,7 +221,6 @@ static void pcsp_shutdown(struct platform_device *dev) · 220 unmodified lines
221221 static struct platform_driver pcsp_platform_driver = {
222222 .driver = {
223223 .name = "pcspkr",
224− .owner = THIS_MODULE,
225224 .pm = PCSP_PM_OPS,
226225 },
227226 .probe = pcsp_probe,
sound/drivers/portman2x4.c+0−1
@@ -829,7 +829,6 @@ static struct platform_driver snd_portman_driver = { · 828 unmodified lines
829829 .remove = snd_portman_remove,
830830 .driver = {
831831 .name = PLATFORM_DRIVER,
832− .owner = THIS_MODULE,
833832 }
834833 };
835834
sound/drivers/serial-u16550.c+0−1
@@ -994,7 +994,6 @@ static struct platform_driver snd_serial_driver = { · 993 unmodified lines
994994 .remove = snd_serial_remove,
995995 .driver = {
996996 .name = SND_SERIAL_DRIVER,
997− .owner = THIS_MODULE,
998997 },
999998 };
1000999
sound/drivers/virmidi.c+0−1
@@ -143,7 +143,6 @@ static struct platform_driver snd_virmidi_driver = { · 142 unmodified lines
143143 .remove = snd_virmidi_remove,
144144 .driver = {
145145 .name = SND_VIRMIDI_DRIVER,
146− .owner = THIS_MODULE,
147146 },
148147 };
149148
sound/mips/hal2.c+0−1
@@ -929,7 +929,6 @@ static struct platform_driver hal2_driver = { · 928 unmodified lines
929929 .remove = hal2_remove,
930930 .driver = {
931931 .name = "sgihal2",
932− .owner = THIS_MODULE,
933932 }
934933 };
935934
sound/mips/sgio2audio.c+0−1
@@ -963,7 +963,6 @@ static struct platform_driver sgio2audio_driver = { · 962 unmodified lines
963963 .remove = snd_sgio2audio_remove,
964964 .driver = {
965965 .name = "sgio2audio",
966− .owner = THIS_MODULE,
967966 }
968967 };
969968
sound/oss/dmasound/dmasound_paula.c+0−1
@@ -729,7 +729,6 @@ static struct platform_driver amiga_audio_driver = { · 728 unmodified lines
729729 .remove = __exit_p(amiga_audio_remove),
730730 .driver = {
731731 .name = "amiga-audio",
732− .owner = THIS_MODULE,
733732 },
734733 };
735734
sound/ppc/powermac.c+0−1
@@ -168,7 +168,6 @@ static struct platform_driver snd_pmac_driver = { · 167 unmodified lines
168168 .remove = snd_pmac_remove,
169169 .driver = {
170170 .name = SND_PMAC_DRIVER,
171− .owner = THIS_MODULE,
172171 .pm = SND_PMAC_PM_OPS,
173172 },
174173 };
sound/sh/aica.c+0−1
@@ -652,7 +652,6 @@ static struct platform_driver snd_aica_driver = { · 651 unmodified lines
652652 .remove = snd_aica_remove,
653653 .driver = {
654654 .name = SND_AICA_DRIVER,
655− .owner = THIS_MODULE,
656655 },
657656 };
658657
sound/sh/sh_dac_audio.c+0−1
@@ -436,7 +436,6 @@ static struct platform_driver sh_dac_driver = { · 435 unmodified lines
436436 .remove = snd_sh_dac_remove,
437437 .driver = {
438438 .name = "dac_audio",
439− .owner = THIS_MODULE,
440439 },
441440 };
442441
sound/soc/adi/axi-i2s.c+0−1
@@ -263,7 +263,6 @@ MODULE_DEVICE_TABLE(of, axi_i2s_of_match); · 262 unmodified lines
263263 static struct platform_driver axi_i2s_driver = {
264264 .driver = {
265265 .name = "axi-i2s",
266− .owner = THIS_MODULE,
267266 .of_match_table = axi_i2s_of_match,
268267 },
269268 .probe = axi_i2s_probe,
sound/soc/adi/axi-spdif.c+0−1
@@ -258,7 +258,6 @@ MODULE_DEVICE_TABLE(of, axi_spdif_of_match); · 257 unmodified lines
258258 static struct platform_driver axi_spdif_driver = {
259259 .driver = {
260260 .name = "axi-spdif",
261− .owner = THIS_MODULE,
262261 .of_match_table = axi_spdif_of_match,
263262 },
264263 .probe = axi_spdif_probe,
sound/soc/atmel/atmel_wm8904.c+0−1
@@ -181,7 +181,6 @@ static const struct of_device_id atmel_asoc_wm8904_dt_ids[] = { · 180 unmodified lines
181181 static struct platform_driver atmel_asoc_wm8904_driver = {
182182 .driver = {
183183 .name = "atmel-wm8904-audio",
184− .owner = THIS_MODULE,
185184 .of_match_table = of_match_ptr(atmel_asoc_wm8904_dt_ids),
186185 },
187186 .probe = atmel_asoc_wm8904_probe,
sound/soc/atmel/sam9g20_wm8731.c+0−1
@@ -309,7 +309,6 @@ MODULE_DEVICE_TABLE(of, at91sam9g20ek_wm8731_dt_ids); · 308 unmodified lines
309309 static struct platform_driver at91sam9g20ek_audio_driver = {
310310 .driver = {
311311 .name = "at91sam9g20ek-audio",
312− .owner = THIS_MODULE,
313312 .of_match_table = of_match_ptr(at91sam9g20ek_wm8731_dt_ids),
314313 },
315314 .probe = at91sam9g20ek_audio_probe,
sound/soc/atmel/sam9x5_wm8731.c+0−1
@@ -192,7 +192,6 @@ MODULE_DEVICE_TABLE(of, sam9x5_wm8731_of_match); · 191 unmodified lines
192192 static struct platform_driver sam9x5_wm8731_driver = {
193193 .driver = {
194194 .name = DRV_NAME,
195− .owner = THIS_MODULE,
196195 .of_match_table = of_match_ptr(sam9x5_wm8731_of_match),
197196 },
198197 .probe = sam9x5_wm8731_driver_probe,
sound/soc/au1x/ac97c.c+0−1
@@ -334,7 +334,6 @@ static const struct dev_pm_ops au1xpscac97_pmops = { · 333 unmodified lines
334334 static struct platform_driver au1xac97c_driver = {
335335 .driver = {
336336 .name = "alchemy-ac97c",
337− .owner = THIS_MODULE,
338337 .pm = AU1XPSCAC97_PMOPS,
339338 },
340339 .probe = au1xac97c_drvprobe,
sound/soc/au1x/db1000.c+0−1
@@ -51,7 +51,6 @@ static int db1000_audio_remove(struct platform_device *pdev) · 50 unmodified lines
5151 static struct platform_driver db1000_audio_driver = {
5252 .driver = {
5353 .name = "db1000-audio",
54− .owner = THIS_MODULE,
5554 .pm = &snd_soc_pm_ops,
5655 },
5756 .probe = db1000_audio_probe,
sound/soc/au1x/db1200.c+0−1
@@ -200,7 +200,6 @@ static int db1200_audio_remove(struct platform_device *pdev) · 199 unmodified lines
200200 static struct platform_driver db1200_audio_driver = {
201201 .driver = {
202202 .name = "db1200-ac97",
203− .owner = THIS_MODULE,
204203 .pm = &snd_soc_pm_ops,
205204 },
206205 .id_table = db1200_pids,
sound/soc/au1x/dbdma2.c+0−1
@@ -363,7 +363,6 @@ static int au1xpsc_pcm_drvremove(struct platform_device *pdev) · 362 unmodified lines
363363 static struct platform_driver au1xpsc_pcm_driver = {
364364 .driver = {
365365 .name = "au1xpsc-pcm",
366− .owner = THIS_MODULE,
367366 },
368367 .probe = au1xpsc_pcm_drvprobe,
369368 .remove = au1xpsc_pcm_drvremove,
sound/soc/au1x/dma.c+0−1
@@ -331,7 +331,6 @@ static int alchemy_pcm_drvremove(struct platform_device *pdev) · 330 unmodified lines
331331 static struct platform_driver alchemy_pcmdma_driver = {
332332 .driver = {
333333 .name = "alchemy-pcm-dma",
334− .owner = THIS_MODULE,
335334 },
336335 .probe = alchemy_pcm_drvprobe,
337336 .remove = alchemy_pcm_drvremove,
sound/soc/au1x/i2sc.c+0−1
@@ -310,7 +310,6 @@ static const struct dev_pm_ops au1xi2sc_pmops = { · 309 unmodified lines
310310 static struct platform_driver au1xi2s_driver = {
311311 .driver = {
312312 .name = "alchemy-i2sc",
313− .owner = THIS_MODULE,
314313 .pm = AU1XI2SC_PMOPS,
315314 },
316315 .probe = au1xi2s_drvprobe,
sound/soc/au1x/psc-ac97.c+0−1
@@ -490,7 +490,6 @@ static struct dev_pm_ops au1xpscac97_pmops = { · 489 unmodified lines
490490 static struct platform_driver au1xpsc_ac97_driver = {
491491 .driver = {
492492 .name = "au1xpsc_ac97",
493− .owner = THIS_MODULE,
494493 .pm = AU1XPSCAC97_PMOPS,
495494 },
496495 .probe = au1xpsc_ac97_drvprobe,
sound/soc/au1x/psc-i2s.c+0−1
@@ -419,7 +419,6 @@ static struct dev_pm_ops au1xpsci2s_pmops = { · 418 unmodified lines
419419 static struct platform_driver au1xpsc_i2s_driver = {
420420 .driver = {
421421 .name = "au1xpsc_i2s",
422− .owner = THIS_MODULE,
423422 .pm = AU1XPSCI2S_PMOPS,
424423 },
425424 .probe = au1xpsc_i2s_drvprobe,
sound/soc/bcm/bcm2835-i2s.c+0−1
@@ -866,7 +866,6 @@ static struct platform_driver bcm2835_i2s_driver = { · 865 unmodified lines
866866 .probe = bcm2835_i2s_probe,
867867 .driver = {
868868 .name = "bcm2835-i2s",
869− .owner = THIS_MODULE,
870869 .of_match_table = bcm2835_i2s_of_match,
871870 },
872871 };
sound/soc/blackfin/bf5xx-ac97-pcm.c+0−1
@@ -462,7 +462,6 @@ static int bf5xx_soc_platform_remove(struct platform_device *pdev) · 461 unmodified lines
462462 static struct platform_driver bf5xx_pcm_driver = {
463463 .driver = {
464464 .name = "bfin-ac97-pcm-audio",
465− .owner = THIS_MODULE,
466465 },
467466
468467 .probe = bf5xx_soc_platform_probe,
sound/soc/blackfin/bf5xx-ac97.c+0−1
@@ -375,7 +375,6 @@ static int asoc_bfin_ac97_remove(struct platform_device *pdev) · 374 unmodified lines
375375 static struct platform_driver asoc_bfin_ac97_driver = {
376376 .driver = {
377377 .name = "bfin-ac97",
378− .owner = THIS_MODULE,
379378 },
380379
381380 .probe = asoc_bfin_ac97_probe,
sound/soc/blackfin/bf5xx-ad1836.c+0−1
@@ -104,7 +104,6 @@ static int bf5xx_ad1836_driver_remove(struct platform_device *pdev) · 103 unmodified lines
104104 static struct platform_driver bf5xx_ad1836_driver = {
105105 .driver = {
106106 .name = "bfin-snd-ad1836",
107− .owner = THIS_MODULE,
108107 .pm = &snd_soc_pm_ops,
109108 },
110109 .probe = bf5xx_ad1836_driver_probe,
sound/soc/blackfin/bf5xx-i2s-pcm.c+0−1
@@ -354,7 +354,6 @@ static int bfin_i2s_soc_platform_remove(struct platform_device *pdev) · 353 unmodified lines
354354 static struct platform_driver bfin_i2s_pcm_driver = {
355355 .driver = {
356356 .name = "bfin-i2s-pcm-audio",
357− .owner = THIS_MODULE,
358357 },
359358
360359 .probe = bfin_i2s_soc_platform_probe,
sound/soc/blackfin/bf5xx-i2s.c+0−1
@@ -379,7 +379,6 @@ static struct platform_driver bfin_i2s_driver = { · 378 unmodified lines
379379 .remove = bf5xx_i2s_remove,
380380 .driver = {
381381 .name = "bfin-i2s",
382− .owner = THIS_MODULE,
383382 },
384383 };
385384
sound/soc/blackfin/bf6xx-i2s.c+0−1
@@ -229,7 +229,6 @@ static struct platform_driver bfin_i2s_driver = { · 228 unmodified lines
229229 .remove = bfin_i2s_remove,
230230 .driver = {
231231 .name = "bfin-i2s",
232− .owner = THIS_MODULE,
233232 },
234233 };
235234
sound/soc/blackfin/bfin-eval-adau1373.c+0−1
@@ -169,7 +169,6 @@ static int bfin_eval_adau1373_remove(struct platform_device *pdev) · 168 unmodified lines
169169 static struct platform_driver bfin_eval_adau1373_driver = {
170170 .driver = {
171171 .name = "bfin-eval-adau1373",
172− .owner = THIS_MODULE,
173172 .pm = &snd_soc_pm_ops,
174173 },
175174 .probe = bfin_eval_adau1373_probe,
sound/soc/blackfin/bfin-eval-adau1701.c+0−1
@@ -109,7 +109,6 @@ static int bfin_eval_adau1701_remove(struct platform_device *pdev) · 108 unmodified lines
109109 static struct platform_driver bfin_eval_adau1701_driver = {
110110 .driver = {
111111 .name = "bfin-eval-adau1701",
112− .owner = THIS_MODULE,
113112 .pm = &snd_soc_pm_ops,
114113 },
115114 .probe = bfin_eval_adau1701_probe,
sound/soc/blackfin/bfin-eval-adau1x61.c+0−1
@@ -129,7 +129,6 @@ static int bfin_eval_adau1x61_probe(struct platform_device *pdev) · 128 unmodified lines
129129 static struct platform_driver bfin_eval_adau1x61_driver = {
130130 .driver = {
131131 .name = "bfin-eval-adau1x61",
132− .owner = THIS_MODULE,
133132 .pm = &snd_soc_pm_ops,
134133 },
135134 .probe = bfin_eval_adau1x61_probe,
sound/soc/blackfin/bfin-eval-adau1x81.c+0−1
@@ -117,7 +117,6 @@ static int bfin_eval_adau1x81_probe(struct platform_device *pdev) · 116 unmodified lines
117117 static struct platform_driver bfin_eval_adau1x81_driver = {
118118 .driver = {
119119 .name = "bfin-eval-adau1x81",
120− .owner = THIS_MODULE,
121120 .pm = &snd_soc_pm_ops,
122121 },
123122 .probe = bfin_eval_adau1x81_probe,
sound/soc/blackfin/bfin-eval-adav80x.c+0−1
@@ -141,7 +141,6 @@ MODULE_DEVICE_TABLE(platform, bfin_eval_adav80x_ids); · 140 unmodified lines
141141 static struct platform_driver bfin_eval_adav80x_driver = {
142142 .driver = {
143143 .name = "bfin-eval-adav80x",
144− .owner = THIS_MODULE,
145144 .pm = &snd_soc_pm_ops,
146145 },
147146 .probe = bfin_eval_adav80x_probe,
sound/soc/cirrus/edb93xx.c+0−1
@@ -113,7 +113,6 @@ static int edb93xx_remove(struct platform_device *pdev) · 112 unmodified lines
113113 static struct platform_driver edb93xx_driver = {
114114 .driver = {
115115 .name = "edb93xx-audio",
116− .owner = THIS_MODULE,
117116 },
118117 .probe = edb93xx_probe,
119118 .remove = edb93xx_remove,
sound/soc/cirrus/ep93xx-ac97.c+0−1
@@ -439,7 +439,6 @@ static struct platform_driver ep93xx_ac97_driver = { · 438 unmodified lines
439439 .remove = ep93xx_ac97_remove,
440440 .driver = {
441441 .name = "ep93xx-ac97",
442− .owner = THIS_MODULE,
443442 },
444443 };
445444
sound/soc/cirrus/ep93xx-i2s.c+0−1
@@ -451,7 +451,6 @@ static struct platform_driver ep93xx_i2s_driver = { · 450 unmodified lines
451451 .remove = ep93xx_i2s_remove,
452452 .driver = {
453453 .name = "ep93xx-i2s",
454− .owner = THIS_MODULE,
455454 },
456455 };
457456
sound/soc/cirrus/simone.c+0−1
@@ -74,7 +74,6 @@ static int simone_remove(struct platform_device *pdev) · 73 unmodified lines
7474 static struct platform_driver simone_driver = {
7575 .driver = {
7676 .name = "simone-audio",
77− .owner = THIS_MODULE,
7877 },
7978 .probe = simone_probe,
8079 .remove = simone_remove,
sound/soc/cirrus/snappercl15.c+0−1
@@ -123,7 +123,6 @@ static int snappercl15_remove(struct platform_device *pdev) · 122 unmodified lines
123123 static struct platform_driver snappercl15_driver = {
124124 .driver = {
125125 .name = "snappercl15-audio",
126− .owner = THIS_MODULE,
127126 },
128127 .probe = snappercl15_probe,
129128 .remove = snappercl15_remove,
sound/soc/codecs/88pm860x-codec.c+0−1
@@ -1423,7 +1423,6 @@ static int pm860x_codec_remove(struct platform_device *pdev) · 1422 unmodified lines
14231423 static struct platform_driver pm860x_codec_driver = {
14241424 .driver = {
14251425 .name = "88pm860x-codec",
1426− .owner = THIS_MODULE,
14271426 },
14281427 .probe = pm860x_codec_probe,
14291428 .remove = pm860x_codec_remove,
sound/soc/codecs/ab8500-codec.c+0−1
@@ -2609,7 +2609,6 @@ static int ab8500_codec_driver_remove(struct platform_device *pdev) · 2608 unmodified lines
26092609 static struct platform_driver ab8500_codec_platform_driver = {
26102610 .driver = {
26112611 .name = "ab8500-codec",
2612− .owner = THIS_MODULE,
26132612 },
26142613 .probe = ab8500_codec_driver_probe,
26152614 .remove = ab8500_codec_driver_remove,
sound/soc/codecs/ac97.c+0−1
@@ -142,7 +142,6 @@ static int ac97_remove(struct platform_device *pdev) · 141 unmodified lines
142142 static struct platform_driver ac97_codec_driver = {
143143 .driver = {
144144 .name = "ac97-codec",
145− .owner = THIS_MODULE,
146145 },
147146
148147 .probe = ac97_probe,
sound/soc/codecs/ad1980.c+0−1
@@ -334,7 +334,6 @@ static int ad1980_remove(struct platform_device *pdev) · 333 unmodified lines
334334 static struct platform_driver ad1980_codec_driver = {
335335 .driver = {
336336 .name = "ad1980",
337− .owner = THIS_MODULE,
338337 },
339338
340339 .probe = ad1980_probe,
sound/soc/codecs/ad73311.c+0−1
@@ -76,7 +76,6 @@ static int ad73311_remove(struct platform_device *pdev) · 75 unmodified lines
7676 static struct platform_driver ad73311_codec_driver = {
7777 .driver = {
7878 .name = "ad73311",
79− .owner = THIS_MODULE,
8079 },
8180
8281 .probe = ad73311_probe,
sound/soc/codecs/ads117x.c+0−1
@@ -78,7 +78,6 @@ static int ads117x_remove(struct platform_device *pdev) · 77 unmodified lines
7878 static struct platform_driver ads117x_codec_driver = {
7979 .driver = {
8080 .name = "ads117x-codec",
81− .owner = THIS_MODULE,
8281 },
8382
8483 .probe = ads117x_probe,
sound/soc/codecs/ak4554.c+0−1
@@ -93,7 +93,6 @@ MODULE_DEVICE_TABLE(of, ak4554_of_match); · 92 unmodified lines
9393 static struct platform_driver ak4554_driver = {
9494 .driver = {
9595 .name = "ak4554-adc-dac",
96− .owner = THIS_MODULE,
9796 .of_match_table = ak4554_of_match,
9897 },
9998 .probe = ak4554_soc_probe,
sound/soc/codecs/ak5386.c+0−1
@@ -205,7 +205,6 @@ static struct platform_driver ak5386_driver = { · 204 unmodified lines
205205 .remove = ak5386_remove,
206206 .driver = {
207207 .name = "ak5386",
208− .owner = THIS_MODULE,
209208 .of_match_table = of_match_ptr(ak5386_dt_ids),
210209 },
211210 };
sound/soc/codecs/bt-sco.c+0−1
@@ -77,7 +77,6 @@ MODULE_DEVICE_TABLE(platform, bt_sco_driver_ids); · 76 unmodified lines
7777 static struct platform_driver bt_sco_driver = {
7878 .driver = {
7979 .name = "bt-sco",
80− .owner = THIS_MODULE,
8180 },
8281 .probe = bt_sco_probe,
8382 .remove = bt_sco_remove,
sound/soc/codecs/cq93vc.c+0−1
@@ -151,7 +151,6 @@ static int cq93vc_platform_remove(struct platform_device *pdev) · 150 unmodified lines
151151 static struct platform_driver cq93vc_codec_driver = {
152152 .driver = {
153153 .name = "cq93vc-codec",
154− .owner = THIS_MODULE,
155154 },
156155
157156 .probe = cq93vc_platform_probe,
sound/soc/codecs/cx20442.c+0−1
@@ -429,7 +429,6 @@ static int __exit cx20442_platform_remove(struct platform_device *pdev) · 428 unmodified lines
429429 static struct platform_driver cx20442_platform_driver = {
430430 .driver = {
431431 .name = "cx20442-codec",
432− .owner = THIS_MODULE,
433432 },
434433 .probe = cx20442_platform_probe,
435434 .remove = __exit_p(cx20442_platform_remove),
sound/soc/codecs/dmic.c+0−1
@@ -74,7 +74,6 @@ MODULE_ALIAS("platform:dmic-codec"); · 73 unmodified lines
7474 static struct platform_driver dmic_driver = {
7575 .driver = {
7676 .name = "dmic-codec",
77− .owner = THIS_MODULE,
7877 },
7978 .probe = dmic_dev_probe,
8079 .remove = dmic_dev_remove,
sound/soc/codecs/hdmi.c+0−1
@@ -94,7 +94,6 @@ static int hdmi_codec_remove(struct platform_device *pdev) · 93 unmodified lines
9494 static struct platform_driver hdmi_codec_driver = {
9595 .driver = {
9696 .name = DRV_NAME,
97− .owner = THIS_MODULE,
9897 .of_match_table = of_match_ptr(hdmi_audio_codec_ids),
9998 },
10099
sound/soc/codecs/jz4740.c+0−1
@@ -364,7 +364,6 @@ static struct platform_driver jz4740_codec_driver = { · 363 unmodified lines
364364 .remove = jz4740_codec_remove,
365365 .driver = {
366366 .name = "jz4740-codec",
367− .owner = THIS_MODULE,
368367 },
369368 };
370369
sound/soc/codecs/mc13783.c+0−1
@@ -802,7 +802,6 @@ static int mc13783_codec_remove(struct platform_device *pdev) · 801 unmodified lines
802802 static struct platform_driver mc13783_codec_driver = {
803803 .driver = {
804804 .name = "mc13783-codec",
805− .owner = THIS_MODULE,
806805 },
807806 .remove = mc13783_codec_remove,
808807 };
sound/soc/codecs/pcm3008.c+0−1
@@ -162,7 +162,6 @@ static struct platform_driver pcm3008_codec_driver = { · 161 unmodified lines
162162 .remove = pcm3008_codec_remove,
163163 .driver = {
164164 .name = "pcm3008-codec",
165− .owner = THIS_MODULE,
166165 },
167166 };
168167
sound/soc/codecs/si476x.c+0−1
@@ -261,7 +261,6 @@ MODULE_ALIAS("platform:si476x-codec"); · 260 unmodified lines
261261 static struct platform_driver si476x_platform_driver = {
262262 .driver = {
263263 .name = "si476x-codec",
264− .owner = THIS_MODULE,
265264 },
266265 .probe = si476x_platform_probe,
267266 .remove = si476x_platform_remove,
sound/soc/codecs/sirf-audio-codec.c+0−1
@@ -567,7 +567,6 @@ static const struct dev_pm_ops sirf_audio_codec_pm_ops = { · 566 unmodified lines
567567 static struct platform_driver sirf_audio_codec_driver = {
568568 .driver = {
569569 .name = "sirf-audio-codec",
570− .owner = THIS_MODULE,
571570 .of_match_table = sirf_audio_codec_of_match,
572571 .pm = &sirf_audio_codec_pm_ops,
573572 },
sound/soc/codecs/sn95031.c+0−1
@@ -907,7 +907,6 @@ static int sn95031_device_remove(struct platform_device *pdev) · 906 unmodified lines
907907 static struct platform_driver sn95031_codec_driver = {
908908 .driver = {
909909 .name = "sn95031",
910− .owner = THIS_MODULE,
911910 },
912911 .probe = sn95031_device_probe,
913912 .remove = sn95031_device_remove,
sound/soc/codecs/spdif_receiver.c+0−1
@@ -80,7 +80,6 @@ static struct platform_driver spdif_dir_driver = { · 79 unmodified lines
8080 .remove = spdif_dir_remove,
8181 .driver = {
8282 .name = "spdif-dir",
83− .owner = THIS_MODULE,
8483 .of_match_table = of_match_ptr(spdif_dir_dt_ids),
8584 },
8685 };
sound/soc/codecs/spdif_transmitter.c+0−1
@@ -80,7 +80,6 @@ static struct platform_driver spdif_dit_driver = { · 79 unmodified lines
8080 .remove = spdif_dit_remove,
8181 .driver = {
8282 .name = DRV_NAME,
83− .owner = THIS_MODULE,
8483 .of_match_table = of_match_ptr(spdif_dit_dt_ids),
8584 },
8685 };
sound/soc/codecs/stac9766.c+0−1
@@ -394,7 +394,6 @@ static int stac9766_remove(struct platform_device *pdev) · 393 unmodified lines
394394 static struct platform_driver stac9766_codec_driver = {
395395 .driver = {
396396 .name = "stac9766-codec",
397− .owner = THIS_MODULE,
398397 },
399398
400399 .probe = stac9766_probe,
sound/soc/codecs/twl4030.c+0−1
@@ -2218,7 +2218,6 @@ static struct platform_driver twl4030_codec_driver = { · 2217 unmodified lines
22182218 .remove = twl4030_codec_remove,
22192219 .driver = {
22202220 .name = "twl4030-codec",
2221− .owner = THIS_MODULE,
22222221 },
22232222 };
22242223
sound/soc/codecs/twl6040.c+0−1
@@ -1177,7 +1177,6 @@ static int twl6040_codec_remove(struct platform_device *pdev) · 1176 unmodified lines
11771177 static struct platform_driver twl6040_codec_driver = {
11781178 .driver = {
11791179 .name = "twl6040-codec",
1180− .owner = THIS_MODULE,
11811180 },
11821181 .probe = twl6040_codec_probe,
11831182 .remove = twl6040_codec_remove,
sound/soc/codecs/uda134x.c+0−1
@@ -605,7 +605,6 @@ static int uda134x_codec_remove(struct platform_device *pdev) · 604 unmodified lines
605605 static struct platform_driver uda134x_codec_driver = {
606606 .driver = {
607607 .name = "uda134x-codec",
608− .owner = THIS_MODULE,
609608 },
610609 .probe = uda134x_codec_probe,
611610 .remove = uda134x_codec_remove,
sound/soc/codecs/wl1273.c+0−1
@@ -511,7 +511,6 @@ MODULE_ALIAS("platform:wl1273-codec"); · 510 unmodified lines
511511 static struct platform_driver wl1273_platform_driver = {
512512 .driver = {
513513 .name = "wl1273-codec",
514− .owner = THIS_MODULE,
515514 },
516515 .probe = wl1273_platform_probe,
517516 .remove = wl1273_platform_remove,
sound/soc/codecs/wm5102.c+0−1
@@ -1960,7 +1960,6 @@ static int wm5102_remove(struct platform_device *pdev) · 1959 unmodified lines
19601960 static struct platform_driver wm5102_codec_driver = {
19611961 .driver = {
19621962 .name = "wm5102-codec",
1963− .owner = THIS_MODULE,
19641963 },
19651964 .probe = wm5102_probe,
19661965 .remove = wm5102_remove,
sound/soc/codecs/wm5110.c+0−1
@@ -1738,7 +1738,6 @@ static int wm5110_remove(struct platform_device *pdev) · 1737 unmodified lines
17381738 static struct platform_driver wm5110_codec_driver = {
17391739 .driver = {
17401740 .name = "wm5110-codec",
1741− .owner = THIS_MODULE,
17421741 },
17431742 .probe = wm5110_probe,
17441743 .remove = wm5110_remove,
sound/soc/codecs/wm8350.c+0−1
@@ -1622,7 +1622,6 @@ static int wm8350_remove(struct platform_device *pdev) · 1621 unmodified lines
16221622 static struct platform_driver wm8350_codec_driver = {
16231623 .driver = {
16241624 .name = "wm8350-codec",
1625− .owner = THIS_MODULE,
16261625 },
16271626 .probe = wm8350_probe,
16281627 .remove = wm8350_remove,
sound/soc/codecs/wm8400.c+0−1
@@ -1365,7 +1365,6 @@ static int wm8400_remove(struct platform_device *pdev) · 1364 unmodified lines
13651365 static struct platform_driver wm8400_codec_driver = {
13661366 .driver = {
13671367 .name = "wm8400-codec",
1368− .owner = THIS_MODULE,
13691368 },
13701369 .probe = wm8400_probe,
13711370 .remove = wm8400_remove,
sound/soc/codecs/wm8727.c+0−1
@@ -75,7 +75,6 @@ static int wm8727_remove(struct platform_device *pdev) · 74 unmodified lines
7575 static struct platform_driver wm8727_codec_driver = {
7676 .driver = {
7777 .name = "wm8727",
78− .owner = THIS_MODULE,
7978 },
8079
8180 .probe = wm8727_probe,
sound/soc/codecs/wm8782.c+0−1
@@ -72,7 +72,6 @@ static int wm8782_remove(struct platform_device *pdev) · 71 unmodified lines
7272 static struct platform_driver wm8782_codec_driver = {
7373 .driver = {
7474 .name = "wm8782",
75− .owner = THIS_MODULE,
7675 },
7776 .probe = wm8782_probe,
7877 .remove = wm8782_remove,
sound/soc/codecs/wm8994.c+0−1
@@ -4508,7 +4508,6 @@ static const struct dev_pm_ops wm8994_pm_ops = { · 4507 unmodified lines
45084508 static struct platform_driver wm8994_codec_driver = {
45094509 .driver = {
45104510 .name = "wm8994-codec",
4511− .owner = THIS_MODULE,
45124511 .pm = &wm8994_pm_ops,
45134512 },
45144513 .probe = wm8994_probe,
sound/soc/codecs/wm8997.c+0−1
@@ -1165,7 +1165,6 @@ static int wm8997_remove(struct platform_device *pdev) · 1164 unmodified lines
11651165 static struct platform_driver wm8997_codec_driver = {
11661166 .driver = {
11671167 .name = "wm8997-codec",
1168− .owner = THIS_MODULE,
11691168 },
11701169 .probe = wm8997_probe,
11711170 .remove = wm8997_remove,
sound/soc/codecs/wm9705.c+0−1
@@ -407,7 +407,6 @@ static int wm9705_remove(struct platform_device *pdev) · 406 unmodified lines
407407 static struct platform_driver wm9705_codec_driver = {
408408 .driver = {
409409 .name = "wm9705-codec",
410− .owner = THIS_MODULE,
411410 },
412411
413412 .probe = wm9705_probe,
sound/soc/codecs/wm9712.c+0−1
@@ -741,7 +741,6 @@ static int wm9712_remove(struct platform_device *pdev) · 740 unmodified lines
741741 static struct platform_driver wm9712_codec_driver = {
742742 .driver = {
743743 .name = "wm9712-codec",
744− .owner = THIS_MODULE,
745744 },
746745
747746 .probe = wm9712_probe,
sound/soc/codecs/wm9713.c+0−1
@@ -1301,7 +1301,6 @@ static int wm9713_remove(struct platform_device *pdev) · 1300 unmodified lines
13011301 static struct platform_driver wm9713_codec_driver = {
13021302 .driver = {
13031303 .name = "wm9713-codec",
1304− .owner = THIS_MODULE,
13051304 },
13061305
13071306 .probe = wm9713_probe,
sound/soc/davinci/davinci-evm.c+0−1
@@ -445,7 +445,6 @@ static struct platform_driver davinci_evm_driver = { · 444 unmodified lines
445445 .remove = davinci_evm_remove,
446446 .driver = {
447447 .name = "davinci_evm",
448− .owner = THIS_MODULE,
449448 .pm = &snd_soc_pm_ops,
450449 .of_match_table = of_match_ptr(davinci_evm_dt_ids),
451450 },
sound/soc/davinci/davinci-i2s.c+0−1
@@ -770,7 +770,6 @@ static struct platform_driver davinci_mcbsp_driver = { · 769 unmodified lines
770770 .remove = davinci_i2s_remove,
771771 .driver = {
772772 .name = "davinci-mcbsp",
773− .owner = THIS_MODULE,
774773 },
775774 };
776775
sound/soc/davinci/davinci-mcasp.c+0−1
@@ -1602,7 +1602,6 @@ static struct platform_driver davinci_mcasp_driver = { · 1601 unmodified lines
16021602 .remove = davinci_mcasp_remove,
16031603 .driver = {
16041604 .name = "davinci-mcasp",
1605− .owner = THIS_MODULE,
16061605 .of_match_table = mcasp_dt_ids,
16071606 },
16081607 };
sound/soc/davinci/davinci-vcif.c+0−1
@@ -267,7 +267,6 @@ static struct platform_driver davinci_vcif_driver = { · 266 unmodified lines
267267 .remove = davinci_vcif_remove,
268268 .driver = {
269269 .name = "davinci-vcif",
270− .owner = THIS_MODULE,
271270 },
272271 };
273272
sound/soc/dwc/designware_i2s.c+0−1
@@ -441,7 +441,6 @@ static struct platform_driver dw_i2s_driver = { · 440 unmodified lines
441441 .remove = dw_i2s_remove,
442442 .driver = {
443443 .name = "designware-i2s",
444− .owner = THIS_MODULE,
445444 },
446445 };
447446
sound/soc/fsl/eukrea-tlv320.c+0−1
@@ -238,7 +238,6 @@ MODULE_DEVICE_TABLE(of, imx_tlv320_dt_ids); · 237 unmodified lines
238238 static struct platform_driver eukrea_tlv320_driver = {
239239 .driver = {
240240 .name = "eukrea_tlv320",
241− .owner = THIS_MODULE,
242241 .of_match_table = imx_tlv320_dt_ids,
243242 },
244243 .probe = eukrea_tlv320_probe,
sound/soc/fsl/fsl_dma.c+0−1
@@ -964,7 +964,6 @@ MODULE_DEVICE_TABLE(of, fsl_soc_dma_ids); · 963 unmodified lines
964964 static struct platform_driver fsl_soc_dma_driver = {
965965 .driver = {
966966 .name = "fsl-pcm-audio",
967− .owner = THIS_MODULE,
968967 .of_match_table = fsl_soc_dma_ids,
969968 },
970969 .probe = fsl_soc_dma_probe,
sound/soc/fsl/fsl_esai.c+0−1
@@ -857,7 +857,6 @@ static struct platform_driver fsl_esai_driver = { · 856 unmodified lines
857857 .probe = fsl_esai_probe,
858858 .driver = {
859859 .name = "fsl-esai-dai",
860− .owner = THIS_MODULE,
861860 .of_match_table = fsl_esai_dt_ids,
862861 },
863862 };
sound/soc/fsl/fsl_sai.c+0−1
@@ -678,7 +678,6 @@ static struct platform_driver fsl_sai_driver = { · 677 unmodified lines
678678 .probe = fsl_sai_probe,
679679 .driver = {
680680 .name = "fsl-sai",
681− .owner = THIS_MODULE,
682681 .of_match_table = fsl_sai_ids,
683682 },
684683 };
sound/soc/fsl/fsl_spdif.c+0−1
@@ -1283,7 +1283,6 @@ MODULE_DEVICE_TABLE(of, fsl_spdif_dt_ids); · 1282 unmodified lines
12831283 static struct platform_driver fsl_spdif_driver = {
12841284 .driver = {
12851285 .name = "fsl-spdif-dai",
1286− .owner = THIS_MODULE,
12871286 .of_match_table = fsl_spdif_dt_ids,
12881287 },
12891288 .probe = fsl_spdif_probe,
sound/soc/fsl/fsl_ssi.c+0−1
@@ -1480,7 +1480,6 @@ static int fsl_ssi_remove(struct platform_device *pdev) · 1479 unmodified lines
14801480 static struct platform_driver fsl_ssi_driver = {
14811481 .driver = {
14821482 .name = "fsl-ssi-dai",
1483− .owner = THIS_MODULE,
14841483 .of_match_table = fsl_ssi_ids,
14851484 },
14861485 .probe = fsl_ssi_probe,
sound/soc/fsl/imx-audmux.c+0−1
@@ -356,7 +356,6 @@ static struct platform_driver imx_audmux_driver = { · 355 unmodified lines
356356 .id_table = imx_audmux_ids,
357357 .driver = {
358358 .name = DRIVER_NAME,
359− .owner = THIS_MODULE,
360359 .of_match_table = imx_audmux_dt_ids,
361360 }
362361 };
sound/soc/fsl/imx-mc13783.c+0−1
@@ -159,7 +159,6 @@ static int imx_mc13783_remove(struct platform_device *pdev) · 158 unmodified lines
159159 static struct platform_driver imx_mc13783_audio_driver = {
160160 .driver = {
161161 .name = "imx_mc13783",
162− .owner = THIS_MODULE,
163162 },
164163 .probe = imx_mc13783_probe,
165164 .remove = imx_mc13783_remove
sound/soc/fsl/imx-sgtl5000.c+0−1
@@ -200,7 +200,6 @@ MODULE_DEVICE_TABLE(of, imx_sgtl5000_dt_ids); · 199 unmodified lines
200200 static struct platform_driver imx_sgtl5000_driver = {
201201 .driver = {
202202 .name = "imx-sgtl5000",
203− .owner = THIS_MODULE,
204203 .pm = &snd_soc_pm_ops,
205204 .of_match_table = imx_sgtl5000_dt_ids,
206205 },
sound/soc/fsl/imx-spdif.c+0−1
@@ -88,7 +88,6 @@ MODULE_DEVICE_TABLE(of, imx_spdif_dt_ids); · 87 unmodified lines
8888 static struct platform_driver imx_spdif_driver = {
8989 .driver = {
9090 .name = "imx-spdif",
91− .owner = THIS_MODULE,
9291 .of_match_table = imx_spdif_dt_ids,
9392 },
9493 .probe = imx_spdif_audio_probe,
sound/soc/fsl/imx-ssi.c+0−1
@@ -647,7 +647,6 @@ static struct platform_driver imx_ssi_driver = { · 646 unmodified lines
647647
648648 .driver = {
649649 .name = "imx-ssi",
650− .owner = THIS_MODULE,
651650 },
652651 };
653652
sound/soc/fsl/imx-wm8962.c+0−1
@@ -307,7 +307,6 @@ MODULE_DEVICE_TABLE(of, imx_wm8962_dt_ids); · 306 unmodified lines
307307 static struct platform_driver imx_wm8962_driver = {
308308 .driver = {
309309 .name = "imx-wm8962",
310− .owner = THIS_MODULE,
311310 .pm = &snd_soc_pm_ops,
312311 .of_match_table = imx_wm8962_dt_ids,
313312 },
sound/soc/fsl/mpc5200_psc_ac97.c+0−1
@@ -338,7 +338,6 @@ static struct platform_driver psc_ac97_driver = { · 337 unmodified lines
338338 .remove = psc_ac97_of_remove,
339339 .driver = {
340340 .name = "mpc5200-psc-ac97",
341− .owner = THIS_MODULE,
342341 .of_match_table = psc_ac97_match,
343342 },
344343 };
sound/soc/fsl/mpc5200_psc_i2s.c+0−1
@@ -229,7 +229,6 @@ static struct platform_driver psc_i2s_driver = { · 228 unmodified lines
229229 .remove = psc_i2s_of_remove,
230230 .driver = {
231231 .name = "mpc5200-psc-i2s",
232− .owner = THIS_MODULE,
233232 .of_match_table = psc_i2s_match,
234233 },
235234 };
sound/soc/fsl/mpc8610_hpcd.c+0−1
@@ -389,7 +389,6 @@ static struct platform_driver mpc8610_hpcd_driver = { · 388 unmodified lines
389389 * in lowercase letters.
390390 */
391391 .name = "snd-soc-mpc8610hpcd",
392− .owner = THIS_MODULE,
393392 },
394393 };
395394
sound/soc/fsl/mx27vis-aic32x4.c+0−1
@@ -229,7 +229,6 @@ static int mx27vis_aic32x4_remove(struct platform_device *pdev) · 228 unmodified lines
229229 static struct platform_driver mx27vis_aic32x4_audio_driver = {
230230 .driver = {
231231 .name = "mx27vis",
232− .owner = THIS_MODULE,
233232 },
234233 .probe = mx27vis_aic32x4_probe,
235234 .remove = mx27vis_aic32x4_remove,
sound/soc/fsl/p1022_ds.c+0−1
@@ -398,7 +398,6 @@ static struct platform_driver p1022_ds_driver = { · 397 unmodified lines
398398 * in lowercase letters.
399399 */
400400 .name = "snd-soc-p1022ds",
401− .owner = THIS_MODULE,
402401 },
403402 };
404403
sound/soc/fsl/p1022_rdk.c+0−1
@@ -348,7 +348,6 @@ static struct platform_driver p1022_rdk_driver = { · 347 unmodified lines
348348 * in lowercase letters.
349349 */
350350 .name = "snd-soc-p1022rdk",
351− .owner = THIS_MODULE,
352351 },
353352 };
354353
sound/soc/fsl/pcm030-audio-fabric.c+0−1
@@ -124,7 +124,6 @@ static struct platform_driver pcm030_fabric_driver = { · 123 unmodified lines
124124 .remove = pcm030_fabric_remove,
125125 .driver = {
126126 .name = DRV_NAME,
127− .owner = THIS_MODULE,
128127 .of_match_table = pcm030_audio_match,
129128 },
130129 };
sound/soc/generic/simple-card.c+0−1
@@ -584,7 +584,6 @@ MODULE_DEVICE_TABLE(of, asoc_simple_of_match); · 583 unmodified lines
584584 static struct platform_driver asoc_simple_card = {
585585 .driver = {
586586 .name = "asoc-simple-card",
587− .owner = THIS_MODULE,
588587 .of_match_table = asoc_simple_of_match,
589588 },
590589 .probe = asoc_simple_card_probe,
sound/soc/intel/broadwell.c+0−1
@@ -270,7 +270,6 @@ static struct platform_driver broadwell_audio = { · 269 unmodified lines
270270 .remove = broadwell_audio_remove,
271271 .driver = {
272272 .name = "broadwell-audio",
273− .owner = THIS_MODULE,
274273 },
275274 };
276275
sound/soc/intel/byt-max98090.c+0−1
@@ -181,7 +181,6 @@ static struct platform_driver byt_max98090_driver = { · 180 unmodified lines
181181 .remove = byt_max98090_remove,
182182 .driver = {
183183 .name = "byt-max98090",
184− .owner = THIS_MODULE,
185184 .pm = &snd_soc_pm_ops,
186185 },
187186 };
sound/soc/intel/byt-rt5640.c+0−1
@@ -224,7 +224,6 @@ static struct platform_driver byt_rt5640_audio = { · 223 unmodified lines
224224 .probe = byt_rt5640_probe,
225225 .driver = {
226226 .name = "byt-rt5640",
227− .owner = THIS_MODULE,
228227 .pm = &snd_soc_pm_ops,
229228 },
230229 };
sound/soc/intel/haswell.c+0−1
@@ -199,7 +199,6 @@ static struct platform_driver haswell_audio = { · 198 unmodified lines
199199 .probe = haswell_audio_probe,
200200 .driver = {
201201 .name = "haswell-audio",
202− .owner = THIS_MODULE,
203202 },
204203 };
205204
sound/soc/intel/mfld_machine.c+0−1
@@ -420,7 +420,6 @@ static int snd_mfld_mc_probe(struct platform_device *pdev) · 419 unmodified lines
420420
421421 static struct platform_driver snd_mfld_mc_driver = {
422422 .driver = {
423− .owner = THIS_MODULE,
424423 .name = "msic_audio",
425424 },
426425 .probe = snd_mfld_mc_probe,
sound/soc/intel/sst-acpi.c+0−1
@@ -275,7 +275,6 @@ static struct platform_driver sst_acpi_driver = { · 274 unmodified lines
275275 .remove = sst_acpi_remove,
276276 .driver = {
277277 .name = "sst-acpi",
278− .owner = THIS_MODULE,
279278 .acpi_match_table = ACPI_PTR(sst_acpi_match),
280279 },
281280 };
sound/soc/intel/sst-baytrail-pcm.c+0−1
@@ -497,7 +497,6 @@ static int sst_byt_pcm_dev_remove(struct platform_device *pdev) · 496 unmodified lines
497497 static struct platform_driver sst_byt_pcm_driver = {
498498 .driver = {
499499 .name = "baytrail-pcm-audio",
500− .owner = THIS_MODULE,
501500 .pm = SST_BYT_PM_OPS,
502501 },
503502
sound/soc/intel/sst-haswell-pcm.c+0−2
@@ -1170,9 +1170,7 @@ static const struct dev_pm_ops hsw_pcm_pm = { · 1169 unmodified lines
11701170 static struct platform_driver hsw_pcm_driver = {
11711171 .driver = {
11721172 .name = "haswell-pcm-audio",
1173− .owner = THIS_MODULE,
11741173 .pm = &hsw_pcm_pm,
1175−
11761174 },
11771175
11781176 .probe = hsw_pcm_dev_probe,
sound/soc/intel/sst-mfld-platform-pcm.c+0−1
@@ -737,7 +737,6 @@ static int sst_platform_remove(struct platform_device *pdev) · 736 unmodified lines
737737 static struct platform_driver sst_platform_driver = {
738738 .driver = {
739739 .name = "sst-mfld-platform",
740− .owner = THIS_MODULE,
741740 },
742741 .probe = sst_platform_probe,
743742 .remove = sst_platform_remove,
sound/soc/jz4740/jz4740-i2s.c+0−1
@@ -455,7 +455,6 @@ static struct platform_driver jz4740_i2s_driver = { · 454 unmodified lines
455455 .probe = jz4740_i2s_dev_probe,
456456 .driver = {
457457 .name = "jz4740-i2s",
458− .owner = THIS_MODULE,
459458 },
460459 };
461460
sound/soc/jz4740/qi_lb60.c+0−1
@@ -100,7 +100,6 @@ static int qi_lb60_probe(struct platform_device *pdev) · 99 unmodified lines
100100 static struct platform_driver qi_lb60_driver = {
101101 .driver = {
102102 .name = "qi-lb60-audio",
103− .owner = THIS_MODULE,
104103 },
105104 .probe = qi_lb60_probe,
106105 };
sound/soc/kirkwood/armada-370-db.c+0−1
@@ -134,7 +134,6 @@ static const struct of_device_id a370db_dt_ids[] = { · 133 unmodified lines
134134 static struct platform_driver a370db_driver = {
135135 .driver = {
136136 .name = "a370db-audio",
137− .owner = THIS_MODULE,
138137 .of_match_table = of_match_ptr(a370db_dt_ids),
139138 },
140139 .probe = a370db_probe,
sound/soc/kirkwood/kirkwood-i2s.c+0−1
@@ -657,7 +657,6 @@ static struct platform_driver kirkwood_i2s_driver = { · 656 unmodified lines
657657 .remove = kirkwood_i2s_dev_remove,
658658 .driver = {
659659 .name = DRV_NAME,
660− .owner = THIS_MODULE,
661660 .of_match_table = of_match_ptr(mvebu_audio_of_match),
662661 },
663662 };
sound/soc/mxs/mxs-saif.c+0−1
@@ -815,7 +815,6 @@ static struct platform_driver mxs_saif_driver = { · 814 unmodified lines
815815
816816 .driver = {
817817 .name = "mxs-saif",
818− .owner = THIS_MODULE,
819818 .of_match_table = mxs_saif_dt_ids,
820819 },
821820 };
sound/soc/mxs/mxs-sgtl5000.c+0−1
@@ -187,7 +187,6 @@ MODULE_DEVICE_TABLE(of, mxs_sgtl5000_dt_ids); · 186 unmodified lines
187187 static struct platform_driver mxs_sgtl5000_audio_driver = {
188188 .driver = {
189189 .name = "mxs-sgtl5000",
190− .owner = THIS_MODULE,
191190 .of_match_table = mxs_sgtl5000_dt_ids,
192191 },
193192 .probe = mxs_sgtl5000_probe,
sound/soc/nuc900/nuc900-ac97.c+0−1
@@ -385,7 +385,6 @@ static int nuc900_ac97_drvremove(struct platform_device *pdev) · 384 unmodified lines
385385 static struct platform_driver nuc900_ac97_driver = {
386386 .driver = {
387387 .name = "nuc900-ac97",
388− .owner = THIS_MODULE,
389388 },
390389 .probe = nuc900_ac97_drvprobe,
391390 .remove = nuc900_ac97_drvremove,
sound/soc/nuc900/nuc900-pcm.c+0−1
@@ -347,7 +347,6 @@ static int nuc900_soc_platform_remove(struct platform_device *pdev) · 346 unmodified lines
347347 static struct platform_driver nuc900_pcm_driver = {
348348 .driver = {
349349 .name = "nuc900-pcm-audio",
350− .owner = THIS_MODULE,
351350 },
352351
353352 .probe = nuc900_soc_platform_probe,
sound/soc/omap/ams-delta.c+0−1
@@ -599,7 +599,6 @@ static int ams_delta_remove(struct platform_device *pdev) · 598 unmodified lines
599599 static struct platform_driver ams_delta_driver = {
600600 .driver = {
601601 .name = DRV_NAME,
602− .owner = THIS_MODULE,
603602 },
604603 .probe = ams_delta_probe,
605604 .remove = ams_delta_remove,
sound/soc/omap/omap-abe-twl6040.c+0−1
@@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, omap_abe_of_match); · 353 unmodified lines
354354 static struct platform_driver omap_abe_driver = {
355355 .driver = {
356356 .name = "omap-abe-twl6040",
357− .owner = THIS_MODULE,
358357 .pm = &snd_soc_pm_ops,
359358 .of_match_table = omap_abe_of_match,
360359 },
sound/soc/omap/omap-dmic.c+0−1
@@ -509,7 +509,6 @@ MODULE_DEVICE_TABLE(of, omap_dmic_of_match); · 508 unmodified lines
509509 static struct platform_driver asoc_dmic_driver = {
510510 .driver = {
511511 .name = "omap-dmic",
512− .owner = THIS_MODULE,
513512 .of_match_table = omap_dmic_of_match,
514513 },
515514 .probe = asoc_dmic_probe,
sound/soc/omap/omap-mcbsp.c+0−1
@@ -831,7 +831,6 @@ static int asoc_mcbsp_remove(struct platform_device *pdev) · 830 unmodified lines
831831 static struct platform_driver asoc_mcbsp_driver = {
832832 .driver = {
833833 .name = "omap-mcbsp",
834− .owner = THIS_MODULE,
835834 .of_match_table = omap_mcbsp_of_match,
836835 },
837836
sound/soc/omap/omap-mcpdm.c+0−1
@@ -512,7 +512,6 @@ MODULE_DEVICE_TABLE(of, omap_mcpdm_of_match); · 511 unmodified lines
512512 static struct platform_driver asoc_mcpdm_driver = {
513513 .driver = {
514514 .name = "omap-mcpdm",
515− .owner = THIS_MODULE,
516515 .of_match_table = omap_mcpdm_of_match,
517516 },
518517
sound/soc/omap/omap-twl4030.c+0−1
@@ -375,7 +375,6 @@ MODULE_DEVICE_TABLE(of, omap_twl4030_of_match); · 374 unmodified lines
375375 static struct platform_driver omap_twl4030_driver = {
376376 .driver = {
377377 .name = "omap-twl4030",
378− .owner = THIS_MODULE,
379378 .pm = &snd_soc_pm_ops,
380379 .of_match_table = omap_twl4030_of_match,
381380 },
sound/soc/omap/rx51.c+0−1
@@ -519,7 +519,6 @@ MODULE_DEVICE_TABLE(of, rx51_audio_of_match); · 518 unmodified lines
519519 static struct platform_driver rx51_soc_driver = {
520520 .driver = {
521521 .name = "rx51-audio",
522− .owner = THIS_MODULE,
523522 .of_match_table = of_match_ptr(rx51_audio_of_match),
524523 },
525524 .probe = rx51_soc_probe,
sound/soc/pxa/brownstone.c+0−1
@@ -155,7 +155,6 @@ static int brownstone_remove(struct platform_device *pdev) · 154 unmodified lines
155155 static struct platform_driver mmp_driver = {
156156 .driver = {
157157 .name = "brownstone-audio",
158− .owner = THIS_MODULE,
159158 .pm = &snd_soc_pm_ops,
160159 },
161160 .probe = brownstone_probe,
sound/soc/pxa/corgi.c+0−1
@@ -327,7 +327,6 @@ static int corgi_remove(struct platform_device *pdev) · 326 unmodified lines
327327 static struct platform_driver corgi_driver = {
328328 .driver = {
329329 .name = "corgi-audio",
330− .owner = THIS_MODULE,
331330 .pm = &snd_soc_pm_ops,
332331 },
333332 .probe = corgi_probe,
sound/soc/pxa/e740_wm9705.c+0−1
@@ -177,7 +177,6 @@ static int e740_remove(struct platform_device *pdev) · 176 unmodified lines
177177 static struct platform_driver e740_driver = {
178178 .driver = {
179179 .name = "e740-audio",
180− .owner = THIS_MODULE,
181180 .pm = &snd_soc_pm_ops,
182181 },
183182 .probe = e740_probe,
sound/soc/pxa/e750_wm9705.c+0−1
@@ -159,7 +159,6 @@ static int e750_remove(struct platform_device *pdev) · 158 unmodified lines
159159 static struct platform_driver e750_driver = {
160160 .driver = {
161161 .name = "e750-audio",
162− .owner = THIS_MODULE,
163162 .pm = &snd_soc_pm_ops,
164163 },
165164 .probe = e750_probe,
sound/soc/pxa/e800_wm9712.c+0−1
@@ -140,7 +140,6 @@ static int e800_remove(struct platform_device *pdev) · 139 unmodified lines
140140 static struct platform_driver e800_driver = {
141141 .driver = {
142142 .name = "e800-audio",
143− .owner = THIS_MODULE,
144143 .pm = &snd_soc_pm_ops,
145144 },
146145 .probe = e800_probe,
sound/soc/pxa/hx4700.c+0−1
@@ -226,7 +226,6 @@ static int hx4700_audio_remove(struct platform_device *pdev) · 225 unmodified lines
226226 static struct platform_driver hx4700_audio_driver = {
227227 .driver = {
228228 .name = "hx4700-audio",
229− .owner = THIS_MODULE,
230229 .pm = &snd_soc_pm_ops,
231230 },
232231 .probe = hx4700_audio_probe,
sound/soc/pxa/imote2.c+0−1
@@ -90,7 +90,6 @@ static int imote2_remove(struct platform_device *pdev) · 89 unmodified lines
9090 static struct platform_driver imote2_driver = {
9191 .driver = {
9292 .name = "imote2-audio",
93− .owner = THIS_MODULE,
9493 .pm = &snd_soc_pm_ops,
9594 },
9695 .probe = imote2_probe,
sound/soc/pxa/mioa701_wm9713.c+0−1
@@ -202,7 +202,6 @@ static struct platform_driver mioa701_wm9713_driver = { · 201 unmodified lines
202202 .remove = mioa701_wm9713_remove,
203203 .driver = {
204204 .name = "mioa701-wm9713",
205− .owner = THIS_MODULE,
206205 .pm = &snd_soc_pm_ops,
207206 },
208207 };
sound/soc/pxa/mmp-pcm.c+0−1
@@ -244,7 +244,6 @@ static int mmp_pcm_remove(struct platform_device *pdev) · 243 unmodified lines
244244 static struct platform_driver mmp_pcm_driver = {
245245 .driver = {
246246 .name = "mmp-pcm-audio",
247− .owner = THIS_MODULE,
248247 },
249248
250249 .probe = mmp_pcm_probe,
sound/soc/pxa/mmp-sspa.c+0−1
@@ -472,7 +472,6 @@ static int asoc_mmp_sspa_remove(struct platform_device *pdev) · 471 unmodified lines
472472 static struct platform_driver asoc_mmp_sspa_driver = {
473473 .driver = {
474474 .name = "mmp-sspa-dai",
475− .owner = THIS_MODULE,
476475 },
477476 .probe = asoc_mmp_sspa_probe,
478477 .remove = asoc_mmp_sspa_remove,
sound/soc/pxa/palm27x.c+0−1
@@ -172,7 +172,6 @@ static struct platform_driver palm27x_wm9712_driver = { · 171 unmodified lines
172172 .remove = palm27x_asoc_remove,
173173 .driver = {
174174 .name = "palm27x-asoc",
175− .owner = THIS_MODULE,
176175 .pm = &snd_soc_pm_ops,
177176 },
178177 };
sound/soc/pxa/poodle.c+0−1
@@ -296,7 +296,6 @@ static int poodle_remove(struct platform_device *pdev) · 295 unmodified lines
296296 static struct platform_driver poodle_driver = {
297297 .driver = {
298298 .name = "poodle-audio",
299− .owner = THIS_MODULE,
300299 .pm = &snd_soc_pm_ops,
301300 },
302301 .probe = poodle_probe,
sound/soc/pxa/pxa-ssp.c+0−1
@@ -826,7 +826,6 @@ static int asoc_ssp_remove(struct platform_device *pdev) · 825 unmodified lines
826826 static struct platform_driver asoc_ssp_driver = {
827827 .driver = {
828828 .name = "pxa-ssp-dai",
829− .owner = THIS_MODULE,
830829 .of_match_table = of_match_ptr(pxa_ssp_of_ids),
831830 },
832831
sound/soc/pxa/pxa2xx-ac97.c+0−1
@@ -261,7 +261,6 @@ static struct platform_driver pxa2xx_ac97_driver = { · 260 unmodified lines
261261 .remove = pxa2xx_ac97_dev_remove,
262262 .driver = {
263263 .name = "pxa2xx-ac97",
264− .owner = THIS_MODULE,
265264 #ifdef CONFIG_PM_SLEEP
266265 .pm = &pxa2xx_ac97_pm_ops,
267266 #endif
sound/soc/pxa/pxa2xx-i2s.c+0−1
@@ -383,7 +383,6 @@ static struct platform_driver pxa2xx_i2s_driver = { · 382 unmodified lines
383383
384384 .driver = {
385385 .name = "pxa2xx-i2s",
386− .owner = THIS_MODULE,
387386 },
388387 };
389388
sound/soc/pxa/pxa2xx-pcm.c+0−1
@@ -143,7 +143,6 @@ static const struct of_device_id snd_soc_pxa_audio_match[] = { · 142 unmodified lines
143143 static struct platform_driver pxa_pcm_driver = {
144144 .driver = {
145145 .name = "pxa-pcm-audio",
146− .owner = THIS_MODULE,
147146 .of_match_table = of_match_ptr(snd_soc_pxa_audio_match),
148147 },
149148
sound/soc/pxa/tosa.c+0−1
@@ -265,7 +265,6 @@ static int tosa_remove(struct platform_device *pdev) · 264 unmodified lines
265265 static struct platform_driver tosa_driver = {
266266 .driver = {
267267 .name = "tosa-audio",
268− .owner = THIS_MODULE,
269268 .pm = &snd_soc_pm_ops,
270269 },
271270 .probe = tosa_probe,
sound/soc/pxa/ttc-dkb.c+0−1
@@ -155,7 +155,6 @@ static int ttc_dkb_remove(struct platform_device *pdev) · 154 unmodified lines
155155 static struct platform_driver ttc_dkb_driver = {
156156 .driver = {
157157 .name = "ttc-dkb-audio",
158− .owner = THIS_MODULE,
159158 .pm = &snd_soc_pm_ops,
160159 },
161160 .probe = ttc_dkb_probe,
sound/soc/rockchip/rockchip_i2s.c+0−1
@@ -528,7 +528,6 @@ static struct platform_driver rockchip_i2s_driver = { · 527 unmodified lines
528528 .remove = rockchip_i2s_remove,
529529 .driver = {
530530 .name = DRV_NAME,
531− .owner = THIS_MODULE,
532531 .of_match_table = of_match_ptr(rockchip_i2s_match),
533532 .pm = &rockchip_i2s_pm_ops,
534533 },
sound/soc/samsung/ac97.c+0−1
@@ -442,7 +442,6 @@ static struct platform_driver s3c_ac97_driver = { · 441 unmodified lines
442442 .remove = s3c_ac97_remove,
443443 .driver = {
444444 .name = "samsung-ac97",
445− .owner = THIS_MODULE,
446445 },
447446 };
448447
sound/soc/samsung/bells.c+0−1
@@ -445,7 +445,6 @@ static int bells_probe(struct platform_device *pdev) · 444 unmodified lines
445445 static struct platform_driver bells_driver = {
446446 .driver = {
447447 .name = "bells",
448− .owner = THIS_MODULE,
449448 .pm = &snd_soc_pm_ops,
450449 },
451450 .probe = bells_probe,
sound/soc/samsung/i2s.c+0−1
@@ -1470,7 +1470,6 @@ static struct platform_driver samsung_i2s_driver = { · 1469 unmodified lines
14701470 .id_table = samsung_i2s_driver_ids,
14711471 .driver = {
14721472 .name = "samsung-i2s",
1473− .owner = THIS_MODULE,
14741473 .of_match_table = of_match_ptr(exynos_i2s_match),
14751474 .pm = &samsung_i2s_pm,
14761475 },
sound/soc/samsung/idma.c+0−1
@@ -418,7 +418,6 @@ static int asoc_idma_platform_probe(struct platform_device *pdev) · 417 unmodified lines
418418 static struct platform_driver asoc_idma_driver = {
419419 .driver = {
420420 .name = "samsung-idma",
421− .owner = THIS_MODULE,
422421 },
423422
424423 .probe = asoc_idma_platform_probe,
sound/soc/samsung/littlemill.c+0−1
@@ -315,7 +315,6 @@ static int littlemill_probe(struct platform_device *pdev) · 314 unmodified lines
315315 static struct platform_driver littlemill_driver = {
316316 .driver = {
317317 .name = "littlemill",
318− .owner = THIS_MODULE,
319318 .pm = &snd_soc_pm_ops,
320319 },
321320 .probe = littlemill_probe,
sound/soc/samsung/lowland.c+0−1
@@ -198,7 +198,6 @@ static int lowland_probe(struct platform_device *pdev) · 197 unmodified lines
198198 static struct platform_driver lowland_driver = {
199199 .driver = {
200200 .name = "lowland",
201− .owner = THIS_MODULE,
202201 .pm = &snd_soc_pm_ops,
203202 },
204203 .probe = lowland_probe,
sound/soc/samsung/odroidx2_max98090.c+0−1
@@ -162,7 +162,6 @@ static int odroidx2_audio_remove(struct platform_device *pdev) · 161 unmodified lines
162162 static struct platform_driver odroidx2_audio_driver = {
163163 .driver = {
164164 .name = "odroidx2-audio",
165− .owner = THIS_MODULE,
166165 .of_match_table = odroidx2_audio_of_match,
167166 .pm = &snd_soc_pm_ops,
168167 },
sound/soc/samsung/pcm.c+0−1
@@ -626,7 +626,6 @@ static struct platform_driver s3c_pcm_driver = { · 625 unmodified lines
626626 .remove = s3c_pcm_dev_remove,
627627 .driver = {
628628 .name = "samsung-pcm",
629− .owner = THIS_MODULE,
630629 },
631630 };
632631
sound/soc/samsung/s3c2412-i2s.c+0−1
@@ -180,7 +180,6 @@ static struct platform_driver s3c2412_iis_driver = { · 179 unmodified lines
180180 .probe = s3c2412_iis_dev_probe,
181181 .driver = {
182182 .name = "s3c2412-iis",
183− .owner = THIS_MODULE,
184183 },
185184 };
186185
sound/soc/samsung/s3c24xx-i2s.c+0−1
@@ -485,7 +485,6 @@ static struct platform_driver s3c24xx_iis_driver = { · 484 unmodified lines
485485 .probe = s3c24xx_iis_dev_probe,
486486 .driver = {
487487 .name = "s3c24xx-iis",
488− .owner = THIS_MODULE,
489488 },
490489 };
491490
sound/soc/samsung/s3c24xx_simtec_hermes.c+0−1
@@ -99,7 +99,6 @@ static int simtec_audio_hermes_probe(struct platform_device *pd) · 98 unmodified lines
9999
100100 static struct platform_driver simtec_audio_hermes_platdrv = {
101101 .driver = {
102− .owner = THIS_MODULE,
103102 .name = "s3c24xx-simtec-hermes-snd",
104103 .pm = simtec_audio_pm,
105104 },
sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c+0−1
@@ -87,7 +87,6 @@ static int simtec_audio_tlv320aic23_probe(struct platform_device *pd) · 86 unmodified lines
8787
8888 static struct platform_driver simtec_audio_tlv320aic23_driver = {
8989 .driver = {
90− .owner = THIS_MODULE,
9190 .name = "s3c24xx-simtec-tlv320aic23",
9291 .pm = simtec_audio_pm,
9392 },
sound/soc/samsung/s3c24xx_uda134x.c+0−1
@@ -340,7 +340,6 @@ static struct platform_driver s3c24xx_uda134x_driver = { · 339 unmodified lines
340340 .remove = s3c24xx_uda134x_remove,
341341 .driver = {
342342 .name = "s3c24xx_uda134x",
343− .owner = THIS_MODULE,
344343 },
345344 };
346345
sound/soc/samsung/smdk_wm8580pcm.c+0−1
@@ -173,7 +173,6 @@ static int snd_smdk_probe(struct platform_device *pdev) · 172 unmodified lines
173173
174174 static struct platform_driver snd_smdk_driver = {
175175 .driver = {
176− .owner = THIS_MODULE,
177176 .name = "samsung-smdk-pcm",
178177 },
179178 .probe = snd_smdk_probe,
sound/soc/samsung/smdk_wm8994.c+0−1
@@ -191,7 +191,6 @@ static int smdk_audio_probe(struct platform_device *pdev) · 190 unmodified lines
191191 static struct platform_driver smdk_audio_driver = {
192192 .driver = {
193193 .name = "smdk-audio-wm8994",
194− .owner = THIS_MODULE,
195194 .of_match_table = of_match_ptr(samsung_wm8994_of_match),
196195 .pm = &snd_soc_pm_ops,
197196 },
sound/soc/samsung/smdk_wm8994pcm.c+0−1
@@ -143,7 +143,6 @@ static int snd_smdk_probe(struct platform_device *pdev) · 142 unmodified lines
143143
144144 static struct platform_driver snd_smdk_driver = {
145145 .driver = {
146− .owner = THIS_MODULE,
147146 .name = "samsung-smdk-pcm",
148147 },
149148 .probe = snd_smdk_probe,
sound/soc/samsung/snow.c+0−1
@@ -115,7 +115,6 @@ MODULE_DEVICE_TABLE(of, snow_of_match); · 114 unmodified lines
115115 static struct platform_driver snow_driver = {
116116 .driver = {
117117 .name = "snow-audio",
118− .owner = THIS_MODULE,
119118 .pm = &snd_soc_pm_ops,
120119 .of_match_table = snow_of_match,
121120 },
sound/soc/samsung/spdif.c+0−1
@@ -477,7 +477,6 @@ static struct platform_driver samsung_spdif_driver = { · 476 unmodified lines
477477 .remove = spdif_remove,
478478 .driver = {
479479 .name = "samsung-spdif",
480− .owner = THIS_MODULE,
481480 },
482481 };
483482
sound/soc/samsung/speyside.c+0−1
@@ -340,7 +340,6 @@ static int speyside_probe(struct platform_device *pdev) · 339 unmodified lines
340340 static struct platform_driver speyside_driver = {
341341 .driver = {
342342 .name = "speyside",
343− .owner = THIS_MODULE,
344343 .pm = &snd_soc_pm_ops,
345344 },
346345 .probe = speyside_probe,
sound/soc/samsung/tobermory.c+0−1
@@ -234,7 +234,6 @@ static int tobermory_probe(struct platform_device *pdev) · 233 unmodified lines
234234 static struct platform_driver tobermory_driver = {
235235 .driver = {
236236 .name = "tobermory",
237− .owner = THIS_MODULE,
238237 .pm = &snd_soc_pm_ops,
239238 },
240239 .probe = tobermory_probe,
sound/soc/sh/dma-sh7760.c+0−1
@@ -345,7 +345,6 @@ static int sh7760_soc_platform_remove(struct platform_device *pdev) · 344 unmodified lines
345345 static struct platform_driver sh7760_pcm_driver = {
346346 .driver = {
347347 .name = "sh7760-pcm-audio",
348− .owner = THIS_MODULE,
349348 },
350349
351350 .probe = sh7760_soc_platform_probe,
sound/soc/sh/hac.c+0−1
@@ -333,7 +333,6 @@ static int hac_soc_platform_remove(struct platform_device *pdev) · 332 unmodified lines
333333 static struct platform_driver hac_pcm_driver = {
334334 .driver = {
335335 .name = "hac-pcm-audio",
336− .owner = THIS_MODULE,
337336 },
338337
339338 .probe = hac_soc_platform_probe,
sound/soc/sh/siu_dai.c+0−1
@@ -845,7 +845,6 @@ static int siu_remove(struct platform_device *pdev) · 844 unmodified lines
845845
846846 static struct platform_driver siu_driver = {
847847 .driver = {
848− .owner = THIS_MODULE,
849848 .name = "siu-pcm-audio",
850849 },
851850 .probe = siu_probe,
sound/soc/sh/ssi.c+0−1
@@ -398,7 +398,6 @@ static int sh4_soc_dai_remove(struct platform_device *pdev) · 397 unmodified lines
398398 static struct platform_driver sh4_ssi_driver = {
399399 .driver = {
400400 .name = "sh4-ssi-dai",
401− .owner = THIS_MODULE,
402401 },
403402
404403 .probe = sh4_soc_dai_probe,
sound/soc/sirf/sirf-audio-port.c+0−1
@@ -74,7 +74,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_port_of_match); · 73 unmodified lines
7474 static struct platform_driver sirf_audio_port_driver = {
7575 .driver = {
7676 .name = "sirf-audio-port",
77− .owner = THIS_MODULE,
7877 .of_match_table = sirf_audio_port_of_match,
7978 },
8079 .probe = sirf_audio_port_probe,
sound/soc/sirf/sirf-audio.c+0−1
@@ -143,7 +143,6 @@ MODULE_DEVICE_TABLE(of, sirf_audio_of_match); · 142 unmodified lines
143143 static struct platform_driver sirf_audio_driver = {
144144 .driver = {
145145 .name = "sirf-audio-card",
146− .owner = THIS_MODULE,
147146 .pm = &snd_soc_pm_ops,
148147 .of_match_table = sirf_audio_of_match,
149148 },
sound/soc/sirf/sirf-usp.c+0−1
@@ -422,7 +422,6 @@ static const struct dev_pm_ops sirf_usp_pcm_pm_ops = { · 421 unmodified lines
422422 static struct platform_driver sirf_usp_pcm_driver = {
423423 .driver = {
424424 .name = "sirf-usp-pcm",
425− .owner = THIS_MODULE,
426425 .of_match_table = sirf_usp_pcm_of_match,
427426 .pm = &sirf_usp_pcm_pm_ops,
428427 },
sound/soc/soc-core.c+0−1
@@ -1772,7 +1772,6 @@ EXPORT_SYMBOL_GPL(snd_soc_pm_ops); · 1771 unmodified lines
17721772 static struct platform_driver soc_driver = {
17731773 .driver = {
17741774 .name = "soc-audio",
1775− .owner = THIS_MODULE,
17761775 .pm = &snd_soc_pm_ops,
17771776 },
17781777 .probe = soc_probe,
sound/soc/soc-utils.c+0−1
@@ -154,7 +154,6 @@ static int snd_soc_dummy_remove(struct platform_device *pdev) · 153 unmodified lines
154154 static struct platform_driver soc_dummy_driver = {
155155 .driver = {
156156 .name = "snd-soc-dummy",
157− .owner = THIS_MODULE,
158157 },
159158 .probe = snd_soc_dummy_probe,
160159 .remove = snd_soc_dummy_remove,
sound/soc/spear/spdif_in.c+0−1
@@ -274,7 +274,6 @@ static struct platform_driver spdif_in_driver = { · 273 unmodified lines
274274 .probe = spdif_in_probe,
275275 .driver = {
276276 .name = "spdif-in",
277− .owner = THIS_MODULE,
278277 },
279278 };
280279
sound/soc/spear/spdif_out.c+0−1
@@ -354,7 +354,6 @@ static struct platform_driver spdif_out_driver = { · 353 unmodified lines
354354 .probe = spdif_out_probe,
355355 .driver = {
356356 .name = "spdif-out",
357− .owner = THIS_MODULE,
358357 .pm = SPDIF_OUT_DEV_PM_OPS,
359358 },
360359 };
sound/soc/tegra/tegra20_ac97.c+0−1
@@ -438,7 +438,6 @@ static const struct of_device_id tegra20_ac97_of_match[] = { · 437 unmodified lines
438438 static struct platform_driver tegra20_ac97_driver = {
439439 .driver = {
440440 .name = DRV_NAME,
441− .owner = THIS_MODULE,
442441 .of_match_table = tegra20_ac97_of_match,
443442 },
444443 .probe = tegra20_ac97_platform_probe,
sound/soc/tegra/tegra20_das.c+0−1
@@ -233,7 +233,6 @@ static struct platform_driver tegra20_das_driver = { · 232 unmodified lines
233233 .remove = tegra20_das_remove,
234234 .driver = {
235235 .name = DRV_NAME,
236− .owner = THIS_MODULE,
237236 .of_match_table = tegra20_das_of_match,
238237 },
239238 };
sound/soc/tegra/tegra20_i2s.c+0−1
@@ -464,7 +464,6 @@ static const struct dev_pm_ops tegra20_i2s_pm_ops = { · 463 unmodified lines
464464 static struct platform_driver tegra20_i2s_driver = {
465465 .driver = {
466466 .name = DRV_NAME,
467− .owner = THIS_MODULE,
468467 .of_match_table = tegra20_i2s_of_match,
469468 .pm = &tegra20_i2s_pm_ops,
470469 },
sound/soc/tegra/tegra20_spdif.c+0−1
@@ -387,7 +387,6 @@ static const struct dev_pm_ops tegra20_spdif_pm_ops = { · 386 unmodified lines
387387 static struct platform_driver tegra20_spdif_driver = {
388388 .driver = {
389389 .name = DRV_NAME,
390− .owner = THIS_MODULE,
391390 .pm = &tegra20_spdif_pm_ops,
392391 },
393392 .probe = tegra20_spdif_platform_probe,
sound/soc/tegra/tegra30_ahub.c+0−1
@@ -723,7 +723,6 @@ static struct platform_driver tegra30_ahub_driver = { · 722 unmodified lines
723723 .remove = tegra30_ahub_remove,
724724 .driver = {
725725 .name = DRV_NAME,
726− .owner = THIS_MODULE,
727726 .of_match_table = tegra30_ahub_of_match,
728727 .pm = &tegra30_ahub_pm_ops,
729728 },
sound/soc/tegra/tegra30_i2s.c+0−1
@@ -585,7 +585,6 @@ static const struct dev_pm_ops tegra30_i2s_pm_ops = { · 584 unmodified lines
585585 static struct platform_driver tegra30_i2s_driver = {
586586 .driver = {
587587 .name = DRV_NAME,
588− .owner = THIS_MODULE,
589588 .of_match_table = tegra30_i2s_of_match,
590589 .pm = &tegra30_i2s_pm_ops,
591590 },
sound/soc/tegra/tegra_alc5632.c+0−1
@@ -250,7 +250,6 @@ static const struct of_device_id tegra_alc5632_of_match[] = { · 249 unmodified lines
250250 static struct platform_driver tegra_alc5632_driver = {
251251 .driver = {
252252 .name = DRV_NAME,
253− .owner = THIS_MODULE,
254253 .pm = &snd_soc_pm_ops,
255254 .of_match_table = tegra_alc5632_of_match,
256255 },
sound/soc/tegra/tegra_max98090.c+0−1
@@ -308,7 +308,6 @@ static const struct of_device_id tegra_max98090_of_match[] = { · 307 unmodified lines
308308 static struct platform_driver tegra_max98090_driver = {
309309 .driver = {
310310 .name = DRV_NAME,
311− .owner = THIS_MODULE,
312311 .pm = &snd_soc_pm_ops,
313312 .of_match_table = tegra_max98090_of_match,
314313 },
sound/soc/tegra/tegra_rt5640.c+0−1
@@ -255,7 +255,6 @@ static const struct of_device_id tegra_rt5640_of_match[] = { · 254 unmodified lines
255255 static struct platform_driver tegra_rt5640_driver = {
256256 .driver = {
257257 .name = DRV_NAME,
258− .owner = THIS_MODULE,
259258 .pm = &snd_soc_pm_ops,
260259 .of_match_table = tegra_rt5640_of_match,
261260 },
sound/soc/tegra/tegra_wm8753.c+0−1
@@ -204,7 +204,6 @@ static const struct of_device_id tegra_wm8753_of_match[] = { · 203 unmodified lines
204204 static struct platform_driver tegra_wm8753_driver = {
205205 .driver = {
206206 .name = DRV_NAME,
207− .owner = THIS_MODULE,
208207 .pm = &snd_soc_pm_ops,
209208 .of_match_table = tegra_wm8753_of_match,
210209 },
sound/soc/tegra/tegra_wm8903.c+0−1
@@ -386,7 +386,6 @@ static const struct of_device_id tegra_wm8903_of_match[] = { · 385 unmodified lines
386386 static struct platform_driver tegra_wm8903_driver = {
387387 .driver = {
388388 .name = DRV_NAME,
389− .owner = THIS_MODULE,
390389 .pm = &snd_soc_pm_ops,
391390 .of_match_table = tegra_wm8903_of_match,
392391 },
sound/soc/tegra/tegra_wm9712.c+0−1
@@ -167,7 +167,6 @@ static const struct of_device_id tegra_wm9712_of_match[] = { · 166 unmodified lines
167167 static struct platform_driver tegra_wm9712_driver = {
168168 .driver = {
169169 .name = DRV_NAME,
170− .owner = THIS_MODULE,
171170 .pm = &snd_soc_pm_ops,
172171 .of_match_table = tegra_wm9712_of_match,
173172 },
sound/soc/tegra/trimslice.c+0−1
@@ -193,7 +193,6 @@ MODULE_DEVICE_TABLE(of, trimslice_of_match); · 192 unmodified lines
193193 static struct platform_driver tegra_snd_trimslice_driver = {
194194 .driver = {
195195 .name = DRV_NAME,
196− .owner = THIS_MODULE,
197196 .of_match_table = trimslice_of_match,
198197 },
199198 .probe = tegra_snd_trimslice_probe,
sound/soc/txx9/txx9aclc-ac97.c+0−1
@@ -224,7 +224,6 @@ static struct platform_driver txx9aclc_ac97_driver = { · 223 unmodified lines
224224 .remove = txx9aclc_ac97_dev_remove,
225225 .driver = {
226226 .name = "txx9aclc-ac97",
227− .owner = THIS_MODULE,
228227 },
229228 };
230229
sound/soc/txx9/txx9aclc-generic.c+0−1
@@ -66,7 +66,6 @@ static struct platform_driver txx9aclc_generic_driver = { · 65 unmodified lines
6666 .remove = __exit_p(txx9aclc_generic_remove),
6767 .driver = {
6868 .name = "txx9aclc-generic",
69− .owner = THIS_MODULE,
7069 },
7170 };
7271
sound/soc/txx9/txx9aclc.c+0−1
@@ -429,7 +429,6 @@ static int txx9aclc_soc_platform_remove(struct platform_device *pdev) · 428 unmodified lines
429429 static struct platform_driver txx9aclc_pcm_driver = {
430430 .driver = {
431431 .name = "txx9aclc-pcm-audio",
432− .owner = THIS_MODULE,
433432 },
434433
435434 .probe = txx9aclc_soc_platform_probe,
sound/soc/ux500/mop500.c+0−1
@@ -155,7 +155,6 @@ static const struct of_device_id snd_soc_mop500_match[] = { · 154 unmodified lines
155155
156156 static struct platform_driver snd_soc_mop500_driver = {
157157 .driver = {
158− .owner = THIS_MODULE,
159158 .name = "snd-soc-mop500",
160159 .of_match_table = snd_soc_mop500_match,
161160 },
sound/soc/ux500/ux500_msp_dai.c+0−1
@@ -856,7 +856,6 @@ static const struct of_device_id ux500_msp_i2s_match[] = { · 855 unmodified lines
856856 static struct platform_driver msp_i2s_driver = {
857857 .driver = {
858858 .name = "ux500-msp-i2s",
859− .owner = THIS_MODULE,
860859 .of_match_table = ux500_msp_i2s_match,
861860 },
862861 .probe = ux500_msp_drv_probe,
sound/sparc/amd7930.c+0−1
@@ -1067,7 +1067,6 @@ static const struct of_device_id amd7930_match[] = { · 1066 unmodified lines
10671067 static struct platform_driver amd7930_sbus_driver = {
10681068 .driver = {
10691069 .name = "audio",
1070− .owner = THIS_MODULE,
10711070 .of_match_table = amd7930_match,
10721071 },
10731072 .probe = amd7930_sbus_probe,
sound/sparc/cs4231.c+0−1
@@ -2111,7 +2111,6 @@ MODULE_DEVICE_TABLE(of, cs4231_match); · 2110 unmodified lines
21112111 static struct platform_driver cs4231_driver = {
21122112 .driver = {
21132113 .name = "audio",
2114− .owner = THIS_MODULE,
21152114 .of_match_table = cs4231_match,
21162115 },
21172116 .probe = cs4231_probe,
sound/sparc/dbri.c+0−1
@@ -2686,7 +2686,6 @@ MODULE_DEVICE_TABLE(of, dbri_match); · 2685 unmodified lines
26862686 static struct platform_driver dbri_sbus_driver = {
26872687 .driver = {
26882688 .name = "dbri",
2689− .owner = THIS_MODULE,
26902689 .of_match_table = dbri_match,
26912690 },
26922691 .probe = dbri_probe,