1
0
Fork 0
alistair23-linux/drivers/net/wireless
Randy Dunlap ac3167257b headers: separate linux/mod_devicetable.h from linux/platform_device.h
At over 4000 #includes, <linux/platform_device.h> is the 9th most
#included header file in the Linux kernel.  It does not need
<linux/mod_devicetable.h>, so drop that header and explicitly add
<linux/mod_devicetable.h> to source files that need it.

   4146 #include <linux/platform_device.h>

After this patch, there are 225 files that use <linux/mod_devicetable.h>,
for a reduction of around 3900 times that <linux/mod_devicetable.h>
does not have to be read & parsed.

    225 #include <linux/mod_devicetable.h>

This patch was build-tested on 20 different arch-es.

It also makes these drivers SubmitChecklist#1 compliant.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kbuild test robot <lkp@intel.com> # drivers/media/platform/vimc/
Reported-by: kbuild test robot <lkp@intel.com> # drivers/pinctrl/pinctrl-u300.c
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-07-07 17:52:26 +02:00
..
admtek net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
ath headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
atmel Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-06-06 18:39:49 -07:00
broadcom treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
cisco treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
intel treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
intersil treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
marvell treewide: Use array_size() in vmalloc() 2018-06-12 16:19:22 -07:00
mediatek treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
quantenna treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ralink treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
realtek treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
rsi rsi: fix spelling mistake "Uknown" -> "Unknown" 2018-05-29 10:21:35 +03:00
st treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ti headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
zydas treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
Kconfig qtnfmac: introduce new FullMAC driver for Quantenna chipsets 2017-05-24 17:04:13 +03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mac80211_hwsim.c mac80211_hwsim: fix module init error paths 2018-06-15 13:02:02 +02:00
mac80211_hwsim.h mac80211_hwsim: add permanent mac address option for new radios 2018-01-31 12:45:35 +01:00
ray_cs.c proc: introduce proc_create_single{,_data} 2018-05-16 07:23:35 +02:00
ray_cs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rayctl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rndis_wlan.c Another set of patches for -next: 2017-04-28 14:41:15 -04:00
wl3501.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wl3501_cs.c wl3501_cs: fix spelling mistake: "Insupported" -> "Unsupported" 2017-07-28 18:06:31 +03:00