• 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
..
amcc Loading commit data...
axis Loading commit data...
bcm Loading commit data...
caam Loading commit data...
cavium Loading commit data...
ccp Loading commit data...
ccree Loading commit data...
chelsio Loading commit data...
inside-secure Loading commit data...
marvell Loading commit data...
mediatek Loading commit data...
nx Loading commit data...
qat Loading commit data...
qce Loading commit data...
rockchip Loading commit data...
stm32 Loading commit data...
sunxi-ss Loading commit data...
ux500 Loading commit data...
virtio Loading commit data...
vmx Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
atmel-aes-regs.h Loading commit data...
atmel-aes.c Loading commit data...
atmel-authenc.h Loading commit data...
atmel-ecc.c Loading commit data...
atmel-ecc.h Loading commit data...
atmel-sha-regs.h Loading commit data...
atmel-sha.c Loading commit data...
atmel-tdes-regs.h Loading commit data...
atmel-tdes.c Loading commit data...
exynos-rng.c Loading commit data...
geode-aes.c Loading commit data...
geode-aes.h Loading commit data...
hifn_795x.c Loading commit data...
img-hash.c Loading commit data...
ixp4xx_crypto.c Loading commit data...
mxc-scc.c Loading commit data...
mxs-dcp.c Loading commit data...
n2_asm.S Loading commit data...
n2_core.c Loading commit data...
n2_core.h Loading commit data...
omap-aes-gcm.c Loading commit data...
omap-aes.c Loading commit data...
omap-aes.h Loading commit data...
omap-crypto.c Loading commit data...
omap-crypto.h Loading commit data...
omap-des.c Loading commit data...
omap-sham.c Loading commit data...
padlock-aes.c Loading commit data...
padlock-sha.c Loading commit data...
picoxcell_crypto.c Loading commit data...
picoxcell_crypto_regs.h Loading commit data...
s5p-sss.c Loading commit data...
sahara.c Loading commit data...
talitos.c Loading commit data...
talitos.h Loading commit data...