• 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
..
Kconfig Loading commit data...
Makefile Loading commit data...
class.c Loading commit data...
hctosys.c Loading commit data...
interface.c Loading commit data...
nvmem.c Loading commit data...
rtc-88pm80x.c Loading commit data...
rtc-88pm860x.c Loading commit data...
rtc-ab-b5ze-s3.c Loading commit data...
rtc-ab3100.c Loading commit data...
rtc-ab8500.c Loading commit data...
rtc-abx80x.c Loading commit data...
rtc-ac100.c Loading commit data...
rtc-armada38x.c Loading commit data...
rtc-as3722.c Loading commit data...
rtc-asm9260.c Loading commit data...
rtc-at91rm9200.c Loading commit data...
rtc-at91rm9200.h Loading commit data...
rtc-at91sam9.c Loading commit data...
rtc-au1xxx.c Loading commit data...
rtc-bq32k.c Loading commit data...
rtc-bq4802.c Loading commit data...
rtc-brcmstb-waketimer.c Loading commit data...
rtc-cmos.c Loading commit data...
rtc-coh901331.c Loading commit data...
rtc-core.h Loading commit data...
rtc-cpcap.c Loading commit data...
rtc-cros-ec.c Loading commit data...
rtc-da9052.c Loading commit data...
rtc-da9055.c Loading commit data...
rtc-da9063.c Loading commit data...
rtc-davinci.c Loading commit data...
rtc-dev.c Loading commit data...
rtc-digicolor.c Loading commit data...
rtc-dm355evm.c Loading commit data...
rtc-ds1216.c Loading commit data...
rtc-ds1286.c Loading commit data...
rtc-ds1302.c Loading commit data...
rtc-ds1305.c Loading commit data...
rtc-ds1307.c Loading commit data...
rtc-ds1343.c Loading commit data...
rtc-ds1347.c Loading commit data...
rtc-ds1374.c Loading commit data...
rtc-ds1390.c Loading commit data...
rtc-ds1511.c Loading commit data...
rtc-ds1553.c Loading commit data...
rtc-ds1672.c Loading commit data...
rtc-ds1685.c Loading commit data...
rtc-ds1742.c Loading commit data...
rtc-ds2404.c Loading commit data...
rtc-ds3232.c Loading commit data...
rtc-efi-platform.c Loading commit data...
rtc-efi.c Loading commit data...
rtc-em3027.c Loading commit data...
rtc-ep93xx.c Loading commit data...
rtc-fm3130.c Loading commit data...
rtc-ftrtc010.c Loading commit data...
rtc-generic.c Loading commit data...
rtc-goldfish.c Loading commit data...
rtc-hid-sensor-time.c Loading commit data...
rtc-hym8563.c Loading commit data...
rtc-imxdi.c Loading commit data...
rtc-isl12022.c Loading commit data...
rtc-isl12026.c Loading commit data...
rtc-isl1208.c Loading commit data...
rtc-jz4740.c Loading commit data...
rtc-lib.c Loading commit data...
rtc-lp8788.c Loading commit data...
rtc-lpc24xx.c Loading commit data...
rtc-lpc32xx.c Loading commit data...
rtc-ls1x.c Loading commit data...
rtc-m41t80.c Loading commit data...
rtc-m41t93.c Loading commit data...
rtc-m41t94.c Loading commit data...
rtc-m48t35.c Loading commit data...
rtc-m48t59.c Loading commit data...
rtc-m48t86.c Loading commit data...
rtc-max6900.c Loading commit data...
rtc-max6902.c Loading commit data...
rtc-max6916.c Loading commit data...
rtc-max77686.c Loading commit data...
rtc-max8907.c Loading commit data...
rtc-max8925.c Loading commit data...
rtc-max8997.c Loading commit data...
rtc-max8998.c Loading commit data...
rtc-mc13xxx.c Loading commit data...
rtc-mc146818-lib.c Loading commit data...
rtc-mcp795.c Loading commit data...
rtc-moxart.c Loading commit data...
rtc-mpc5121.c Loading commit data...
rtc-mrst.c Loading commit data...
rtc-msm6242.c Loading commit data...
rtc-mt6397.c Loading commit data...
rtc-mt7622.c Loading commit data...
rtc-mv.c Loading commit data...
rtc-mxc.c Loading commit data...
rtc-mxc_v2.c Loading commit data...
rtc-nuc900.c Loading commit data...
rtc-omap.c Loading commit data...
rtc-opal.c Loading commit data...
rtc-palmas.c Loading commit data...
rtc-pcap.c Loading commit data...
rtc-pcf2123.c Loading commit data...
rtc-pcf2127.c Loading commit data...
rtc-pcf50633.c Loading commit data...
rtc-pcf85063.c Loading commit data...
rtc-pcf8523.c Loading commit data...
rtc-pcf85363.c Loading commit data...
rtc-pcf8563.c Loading commit data...
rtc-pcf8583.c Loading commit data...
rtc-pic32.c Loading commit data...
rtc-pl030.c Loading commit data...
rtc-pl031.c Loading commit data...
rtc-pm8xxx.c Loading commit data...
rtc-proc.c Loading commit data...
rtc-ps3.c Loading commit data...
rtc-puv3.c Loading commit data...
rtc-pxa.c Loading commit data...
rtc-r7301.c Loading commit data...
rtc-r9701.c Loading commit data...
rtc-rc5t583.c Loading commit data...
rtc-rk808.c Loading commit data...
rtc-rp5c01.c Loading commit data...
rtc-rs5c313.c Loading commit data...
rtc-rs5c348.c Loading commit data...
rtc-rs5c372.c Loading commit data...
rtc-rtd119x.c Loading commit data...
rtc-rv3029c2.c Loading commit data...
rtc-rv8803.c Loading commit data...
rtc-rx4581.c Loading commit data...
rtc-rx6110.c Loading commit data...
rtc-rx8010.c Loading commit data...
rtc-rx8025.c Loading commit data...
rtc-rx8581.c Loading commit data...
rtc-s35390a.c Loading commit data...
rtc-s3c.c Loading commit data...
rtc-s3c.h Loading commit data...
rtc-s5m.c Loading commit data...
rtc-sa1100.c Loading commit data...
rtc-sa1100.h Loading commit data...
rtc-sc27xx.c Loading commit data...
rtc-sh.c Loading commit data...
rtc-sirfsoc.c Loading commit data...
rtc-snvs.c Loading commit data...
rtc-spear.c Loading commit data...
rtc-st-lpc.c Loading commit data...
rtc-starfire.c Loading commit data...
rtc-stk17ta8.c Loading commit data...
rtc-stm32.c Loading commit data...
rtc-stmp3xxx.c Loading commit data...
rtc-sun4v.c Loading commit data...
rtc-sun6i.c Loading commit data...
rtc-sunxi.c Loading commit data...
rtc-sysfs.c Loading commit data...
rtc-tegra.c Loading commit data...
rtc-test.c Loading commit data...
rtc-tps6586x.c Loading commit data...
rtc-tps65910.c Loading commit data...
rtc-tps80031.c Loading commit data...
rtc-twl.c Loading commit data...
rtc-tx4939.c Loading commit data...
rtc-v3020.c Loading commit data...
rtc-vr41xx.c Loading commit data...
rtc-vt8500.c Loading commit data...
rtc-wm831x.c Loading commit data...
rtc-wm8350.c Loading commit data...
rtc-x1205.c Loading commit data...
rtc-xgene.c Loading commit data...
rtc-zynqmp.c Loading commit data...
systohc.c Loading commit data...