1
0
Fork 0
alistair23-linux/drivers/pinctrl/intel
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
..
Kconfig pinctrl: intel: Add Intel Cedar Fork PCH pin controller support 2017-10-31 10:11:21 +01:00
Makefile This is the bulk of pin control changes for the v4.15 2017-11-16 10:57:11 -08:00
pinctrl-baytrail.c pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts 2018-01-08 08:15:46 +01:00
pinctrl-broxton.c pinctrl: broxton: No need to take pointer of a pointer 2017-01-30 14:45:12 +01:00
pinctrl-cannonlake.c pinctrl: cannonlake: Align GPIO number space with Windows 2017-11-29 13:46:28 +01:00
pinctrl-cedarfork.c pinctrl: intel: Add Intel Cedar Fork PCH pin controller support 2017-10-31 10:11:21 +01:00
pinctrl-cherryview.c This is the bulk of pin control changes for v4.18. 2018-06-07 13:56:45 -07:00
pinctrl-denverton.c pinctrl: denverton: Fix UART2 RTS pin mode 2017-11-29 10:29:40 +01:00
pinctrl-geminilake.c pinctrl: intel: Add Intel Gemini Lake pin controller support 2017-01-30 15:06:01 +01:00
pinctrl-intel.c pinctrl: intel: Implement intel_gpio_get_direction callback 2018-03-23 04:07:22 +01:00
pinctrl-intel.h pinctrl: intel: Allow custom GPIO base for pad groups 2017-11-29 13:44:52 +01:00
pinctrl-lewisburg.c pinctrl: intel: Add Intel Lewisburg GPIO support 2017-08-22 15:42:19 +02:00
pinctrl-merrifield.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
pinctrl-sunrisepoint.c pinctrl: sunrisepoint: Align GPIO number space with Windows 2018-05-02 14:36:00 +02:00