Input: lm8323 - move header file out of I2C realm
authorWolfram Sang <wsa@the-dreams.de>
Mon, 22 May 2017 23:24:22 +0000 (16:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 23 May 2017 00:23:46 +0000 (17:23 -0700)
include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/lm8323.c
include/linux/platform_data/lm8323.h [moved from include/linux/i2c/lm8323.h with 100% similarity]

index 21bea52..04a5d7e 100644 (file)
@@ -30,8 +30,8 @@
 #include <linux/delay.h>
 #include <linux/input.h>
 #include <linux/leds.h>
+#include <linux/platform_data/lm8323.h>
 #include <linux/pm.h>
-#include <linux/i2c/lm8323.h>
 #include <linux/slab.h>
 
 /* Commands to send to the chip. */