There is nothing in use from device.h/slab.h, remove them. Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx> --- drivers/input/keyboard/imx_keypad.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c index 5a46d11..ba4bf80 100644 --- a/drivers/input/keyboard/imx_keypad.c +++ b/drivers/input/keyboard/imx_keypad.c @@ -5,7 +5,6 @@ #include <linux/clk.h> #include <linux/delay.h> -#include <linux/device.h> #include <linux/err.h> #include <linux/input/matrix_keypad.h> #include <linux/interrupt.h> @@ -15,7 +14,6 @@ #include <linux/module.h> #include <linux/of.h> #include <linux/platform_device.h> -#include <linux/slab.h> #include <linux/timer.h> /* -- 2.7.4