• 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
..
actions Loading commit data...
aspeed Loading commit data...
bcm Loading commit data...
berlin Loading commit data...
freescale Loading commit data...
intel Loading commit data...
mediatek Loading commit data...
meson Loading commit data...
mvebu Loading commit data...
nomadik Loading commit data...
pxa Loading commit data...
qcom Loading commit data...
samsung Loading commit data...
sh-pfc Loading commit data...
sirf Loading commit data...
spear Loading commit data...
sprd Loading commit data...
stm32 Loading commit data...
sunxi Loading commit data...
tegra Loading commit data...
ti Loading commit data...
uniphier Loading commit data...
vt8500 Loading commit data...
zte Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
core.c Loading commit data...
core.h Loading commit data...
devicetree.c Loading commit data...
devicetree.h Loading commit data...
pinconf-generic.c Loading commit data...
pinconf.c Loading commit data...
pinconf.h Loading commit data...
pinctrl-amd.c Loading commit data...
pinctrl-amd.h Loading commit data...
pinctrl-artpec6.c Loading commit data...
pinctrl-as3722.c Loading commit data...
pinctrl-at91-pio4.c Loading commit data...
pinctrl-at91.c Loading commit data...
pinctrl-at91.h Loading commit data...
pinctrl-axp209.c Loading commit data...
pinctrl-coh901.c Loading commit data...
pinctrl-coh901.h Loading commit data...
pinctrl-da850-pupd.c Loading commit data...
pinctrl-digicolor.c Loading commit data...
pinctrl-falcon.c Loading commit data...
pinctrl-gemini.c Loading commit data...
pinctrl-ingenic.c Loading commit data...
pinctrl-lantiq.c Loading commit data...
pinctrl-lantiq.h Loading commit data...
pinctrl-lpc18xx.c Loading commit data...
pinctrl-max77620.c Loading commit data...
pinctrl-mcp23s08.c Loading commit data...
pinctrl-ocelot.c Loading commit data...
pinctrl-oxnas.c Loading commit data...
pinctrl-palmas.c Loading commit data...
pinctrl-pic32.c Loading commit data...
pinctrl-pic32.h Loading commit data...
pinctrl-pistachio.c Loading commit data...
pinctrl-rk805.c Loading commit data...
pinctrl-rockchip.c Loading commit data...
pinctrl-rza1.c Loading commit data...
pinctrl-single.c Loading commit data...
pinctrl-st.c Loading commit data...
pinctrl-sx150x.c Loading commit data...
pinctrl-tb10x.c Loading commit data...
pinctrl-u300.c Loading commit data...
pinctrl-utils.c Loading commit data...
pinctrl-utils.h Loading commit data...
pinctrl-xway.c Loading commit data...
pinctrl-zynq.c Loading commit data...
pinmux.c Loading commit data...
pinmux.h Loading commit data...