• Randy Dunlap's avatar
    headers: separate linux/mod_devicetable.h from linux/platform_device.h · ac316725
    Randy Dunlap authored
    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: default avatarRandy 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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    ac316725
Name
Last commit
Last update
..
agp Loading commit data...
hw_random Loading commit data...
ipmi Loading commit data...
mwave Loading commit data...
pcmcia Loading commit data...
tpm Loading commit data...
xilinx_hwicap Loading commit data...
xillybus Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
adi.c Loading commit data...
apm-emulation.c Loading commit data...
applicom.c Loading commit data...
applicom.h Loading commit data...
bsr.c Loading commit data...
ds1620.c Loading commit data...
dsp56k.c Loading commit data...
dtlk.c Loading commit data...
efirtc.c Loading commit data...
generic_nvram.c Loading commit data...
hangcheck-timer.c Loading commit data...
hpet.c Loading commit data...
lp.c Loading commit data...
mbcs.c Loading commit data...
mbcs.h Loading commit data...
mem.c Loading commit data...
misc.c Loading commit data...
mspec.c Loading commit data...
nsc_gpio.c Loading commit data...
nvram.c Loading commit data...
nwbutton.c Loading commit data...
nwbutton.h Loading commit data...
nwflash.c Loading commit data...
pc8736x_gpio.c Loading commit data...
powernv-op-panel.c Loading commit data...
ppdev.c Loading commit data...
ps3flash.c Loading commit data...
random.c Loading commit data...
raw.c Loading commit data...
rtc.c Loading commit data...
scx200_gpio.c Loading commit data...
snsc.c Loading commit data...
snsc.h Loading commit data...
snsc_event.c Loading commit data...
sonypi.c Loading commit data...
tb0219.c Loading commit data...
tlclk.c Loading commit data...
toshiba.c Loading commit data...
ttyprintk.c Loading commit data...
uv_mmtimer.c Loading commit data...
virtio_console.c Loading commit data...