Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0bb60e7 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Greg Kroah-Hartman
Browse files

[PATCH] I2C: drivers/i2c/*: #include <linux/config.h> cleanup



Files that don't use CONFIG_* stuff shouldn't include config.h
Files that use CONFIG_* stuff should include config.h

It's that simple. ;-)

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@mail.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent da17838c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -24,7 +24,6 @@

/* Ported for SiByte SOCs by Broadcom Corporation.  */

#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
+0 −1
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@

/* Note: we assume there can only be one ALI1535, with one SMBus interface */

#include <linux/config.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
+0 −1
Original line number Diff line number Diff line
@@ -60,7 +60,6 @@

/* Note: we assume there can only be one ALI15X3, with one SMBus interface */

#include <linux/config.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
+0 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@
   Note: we assume there can only be one device, with one SMBus interface.
*/

#include <linux/config.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
+0 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
 * the Free Software Foundation version 2.
 */

#include <linux/config.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
Loading