Skip to content

Commit e6b5be2

Browse files
committed
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 ...
2 parents 37da7bb + f1c488a commit e6b5be2

File tree

1,692 files changed

+1439
-2137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,692 files changed

+1439
-2137
lines changed

Documentation/ABI/testing/sysfs-devices-system-cpu

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,3 +224,50 @@ Description: Parameters for the Intel P-state driver
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,6 @@ static struct platform_driver sa1111_device_driver = {
10561056
.resume = sa1111_resume,
10571057
.driver = {
10581058
.name = "sa1111",
1059-
.owner = THIS_MODULE,
10601059
},
10611060
};
10621061

arch/arm/mach-davinci/cpuidle.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ static int __init davinci_cpuidle_probe(struct platform_device *pdev)
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ static int __exit davinci_pm_remove(struct platform_device *pdev)
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ static struct of_device_id imx_mmdc_dt_ids[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ static struct platform_driver msm_clock_pcom_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,6 @@ static struct platform_driver msm_smd_driver = {
10191019
.probe = msm_smd_probe,
10201020
.driver = {
10211021
.name = MODULE_NAME,
1022-
.owner = THIS_MODULE,
10231022
},
10241023
};
10251024

arch/arm/mach-prima2/pm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ static struct platform_driver sirfsoc_memc_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ static struct platform_driver sirfsoc_rstc_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ static struct platform_driver sirfsoc_rtciobrg_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,6 @@ static int pxa3xx_u2d_remove(struct platform_device *pdev)
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ static struct platform_driver tosa_bt_driver = {
129129

130130
.driver = {
131131
.name = "tosa-bt",
132-
.owner = THIS_MODULE,
133132
},
134133
};
135134

arch/arm/mach-s3c24xx/mach-osiris-dvs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ static struct platform_driver osiris_dvs_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,6 @@ static struct platform_driver neponset_device_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ static const struct of_device_id s365_board_match[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ static struct platform_driver pxa_ssp_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@ static struct platform_driver s3c_adc_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ static struct platform_driver dcdc_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ static struct platform_driver dma_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ static struct platform_driver dma_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ static struct platform_driver xway_phy_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ static struct platform_driver sead3_led_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ static int sead3_i2c_platform_resume(struct platform_device *pdev)
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,6 @@ static struct platform_driver alchemy_pcictl_driver = {
505505
.probe = alchemy_pci_probe,
506506
.driver = {
507507
.name = "alchemy-pci",
508-
.owner = THIS_MODULE,
509508
},
510509
};
511510

arch/mips/pci/pci-ar71xx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,6 @@ static struct platform_driver ar71xx_pci_driver = {
403403
.probe = ar71xx_pci_probe,
404404
.driver = {
405405
.name = "ar71xx-pci",
406-
.owner = THIS_MODULE,
407406
},
408407
};
409408

arch/mips/pci/pci-ar724x.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ static struct platform_driver ar724x_pci_driver = {
400400
.probe = ar724x_pci_probe,
401401
.driver = {
402402
.name = "ar724x-pci",
403-
.owner = THIS_MODULE,
404403
},
405404
};
406405

arch/mips/pci/pci-lantiq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,6 @@ static struct platform_driver ltq_pci_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ static struct platform_driver rt3883_pci_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ static struct platform_driver rt_timer_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ static int __init rbtx4939_led_probe(struct platform_device *pdev)
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ static struct platform_driver of_pci_phb_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,6 @@ static const struct of_device_id mpc52xx_gpt_match[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ static const struct of_device_id mpc52xx_lpbfifo_match[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ static const struct of_device_id ep8248e_mdio_match[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,6 @@ static const struct of_device_id pmc_match[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ MODULE_DEVICE_TABLE(of, gpio_halt_match);
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,6 @@ static struct platform_driver axon_msi_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ static struct platform_driver gpio_mdio_driver =
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ static struct platform_driver axon_ram_driver = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ static const struct of_device_id mpc85xx_l2ctlr_of_match[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ static const struct of_device_id fsl_of_msi_ids[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ static const struct of_device_id pmc_ids[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,6 @@ static const struct of_device_id fsl_of_rio_rpn_ids[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ static const struct of_device_id mpic_msgr_ids[] = {
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,

0 commit comments

Comments
 (0)