I2C: Kill unused includes in i2c-sensor-detect.c
PATCH 1/1 I2C: Kill unused includes in i2c-sensor-detect.c
Hi Greg,
Looks to me like i2c-sensor-detect.c includes a handful of headers it doesn't need at all. This patch removes them.
Please confirm that I am doing the right thing :)
Thanks.
Signed-off-by Jean Delvare <[email protected]>
drivers/i2c/i2c-sensor-detect.c renamed from drivers/i2c/i2c-sensor-detect.c.orig +0 -7
@@ -19,17 +19,10 @@Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <linux/config.h> #include <linux/module.h> #include <linux/kernel.h> -#include <linux/slab.h> -#include <linux/ctype.h> -#include <linux/sysctl.h> -#include <linux/init.h> -#include <linux/ioport.h> #include <linux/i2c.h> #include <linux/i2c-sensor.h> -#include <asm/uaccess.h> static unsigned short empty[] = {I2C_CLIENT_END };static unsigned int empty_isa[] = {I2C_CLIENT_ISA_END };
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Greg KH
AppliedPATCH 1/1 I2C: Kill unused includes in i2c-sensor-detect.c
Quoted 9 lines · Jean Delvare
Hi Greg,
Looks to me like
i2c-sensor-detect.cincludes a handful of headers it doesn't need at all. This patch removes them.Please confirm that I am doing the right thing :)
Thanks.Signed-off-by Jean Delvare <[email protected]>
Applied, thanks.
greg k-h