kernel_optimize_test/drivers/reset
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
..
hisilicon
sti
tegra
core.c treewide: Use struct_size() for kmalloc()-family 2018-06-06 11:15:43 -07:00
Kconfig reset: stm32mp1: Enable stm32mp1 reset driver 2018-03-27 10:44:04 +02:00
Makefile reset: stm32mp1: Enable stm32mp1 reset driver 2018-03-27 10:44:04 +02:00
reset-a10sr.c
reset-ath79.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
reset-axs10x.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
reset-berlin.c
reset-hsdk.c ARC: reset: remove the misleading v1 suffix all over 2017-09-18 13:02:03 +02:00
reset-imx7.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
reset-lantiq.c
reset-lpc18xx.c
reset-meson.c reset: meson: enable level reset support on Meson8b 2018-02-16 15:32:09 +01:00
reset-oxnas.c
reset-pistachio.c
reset-simple.c reset: simple: Enable for ASPEED systems 2018-02-20 17:42:29 +01:00
reset-simple.h reset: socfpga: use the reset-simple driver 2017-10-18 15:51:02 +02:00
reset-stm32mp1.c reset: stm32mp1: Enable stm32mp1 reset driver 2018-03-27 10:44:04 +02:00
reset-sunxi.c reset: sunxi: use reset-simple driver 2017-10-17 15:35:24 +02:00
reset-ti-sci.c
reset-ti-syscon.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
reset-uniphier.c reset: uniphier: add LD11/LD20 stream demux system reset control 2018-04-27 11:59:05 +02:00
reset-zynq.c