kill duplicate includes in i2c bus drivers
PATCH 1/1 kill duplicate includes in i2c bus drivers
Hi Greg,
Following a suggestion of Arthur Othieno, here is a trivial patch that kills duplicate inclusions of config.h in four i2c bus drivers.
At first I was thinking of also removing inclusions of config.h wherever it doesn't seem to be necessary but Eugene doesn't seem to think it's a good idea. So I may give it a try later (in 2.7), but for now this simple patch will be enough.
Please apply,
thanks.
drivers/i2c/busses/i2c-keywest.c renamed from drivers/i2c.orig/busses/i2c-keywest.c +0 -1
@@ -48,7 +48,6 @@#include <linux/config.h> #include <linux/module.h> -#include <linux/config.h> #include <linux/kernel.h> #include <linux/ioport.h> #include <linux/pci.h>
drivers/i2c/busses/i2c-piix4.c renamed from drivers/i2c.orig/busses/i2c-piix4.c +0 -1
@@ -31,7 +31,6 @@#include <linux/config.h> #include <linux/module.h> #include <linux/moduleparam.h> -#include <linux/config.h> #include <linux/pci.h> #include <linux/kernel.h> #include <linux/stddef.h>
drivers/i2c/busses/scx200_acb.c renamed from drivers/i2c.orig/busses/scx200_acb.c +0 -1
@@ -25,7 +25,6 @@*/ #include <linux/config.h> -#include <linux/config.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/kernel.h>
drivers/i2c/busses/scx200_i2c.c renamed from drivers/i2c.orig/busses/scx200_i2c.c +0 -1
@@ -22,7 +22,6 @@*/ #include <linux/config.h> -#include <linux/config.h> #include <linux/module.h> #include <linux/errno.h> #include <linux/kernel.h>
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Greg KH
AppliedPATCH 1/1 kill duplicate includes in i2c bus drivers
Quoted 11 lines · Jean Delvare
Hi Greg,
Following a suggestion of Arthur Othieno, here is a trivial patch that kills duplicate inclusions of
config.hin four i2c bus drivers.At first I was thinking of also removing inclusions of
config.hwherever it doesn't seem to be necessary but Eugene doesn't seem to think it's a good idea. So I may give it a try later (in 2.7), but for now this simple patch will be enough.Please apply,
Applied, thanks.
greg k-h