]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
i2c: remove unneeded includes from core
authorWolfram Sang <wsa@the-dreams.de>
Tue, 23 May 2017 20:22:34 +0000 (22:22 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 31 May 2017 19:01:05 +0000 (21:01 +0200)
They seem like cruft to me. I couldn't find any evidence that something
included from there is actually used.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core-base.c

index ac7b95e4cda75d14a1f30f3a8e17baa0ea32a608..78135c1deaab59d1e88db36c3c9dcfaffbca6e6d 100644 (file)
@@ -21,7 +21,6 @@
 #define pr_fmt(fmt) "i2c-core: " fmt
 
 #include <dt-bindings/i2c/i2c.h>
-#include <linux/uaccess.h>
 #include <linux/acpi.h>
 #include <linux/clk/clk-conf.h>
 #include <linux/completion.h>
@@ -29,7 +28,6 @@
 #include <linux/err.h>
 #include <linux/errno.h>
 #include <linux/gpio.h>
-#include <linux/hardirq.h>
 #include <linux/i2c.h>
 #include <linux/idr.h>
 #include <linux/init.h>