From 1108a17322ff1be8fe012bee5efebd2c28eb1351 Mon Sep 17 00:00:00 2001 From: Shantanu Jain Date: Thu, 23 Jul 2015 17:35:39 +0530 Subject: input: ft5x06_ts: clean up the focaltech touchscreen driver Clean up the focaltech driver by fixing the following checkpatch errors. 1. else is not generally useful after a break or return 2. Possible unnecessary 'out of memory' message 3. Using __devexit is unnecessary 4. Unnecessary space before function pointer arguments This patch is a propagated patch from 3.18 kernel 'commit 2b6ea311a968 ("input: ft5x06_ts: fix checkpatch errors")' Change-Id: I36ed0497c12b0f14e9d7b60c2d8e78729871b8d0 Signed-off-by: Shantanu Jain Signed-off-by: Abinaya P --- include/linux/input/ft5x06_ts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/linux/input') diff --git a/include/linux/input/ft5x06_ts.h b/include/linux/input/ft5x06_ts.h index b2fb3c4a56ae..a9577b62cb07 100644 --- a/include/linux/input/ft5x06_ts.h +++ b/include/linux/input/ft5x06_ts.h @@ -24,8 +24,8 @@ struct ft5x06_ts_platform_data { u32 y_max; u32 irq_gpio; u32 reset_gpio; - int (*power_init) (bool); - int (*power_on) (bool); + int (*power_init)(bool); + int (*power_on)(bool); }; #endif -- cgit v1.2.3