From: Yaroslav Furman Date: Fri, 22 Jun 2018 18:30:06 +0000 (+0300) Subject: sec_ts_fn: fix logical-not-parentheses warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a17d0eb8862bc175ef885bed99b8f1a48104029;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git sec_ts_fn: fix logical-not-parentheses warning Signed-off-by: Yaroslav Furman --- diff --git a/drivers/input/touchscreen/sec_ts/sec_ts_fn.c b/drivers/input/touchscreen/sec_ts/sec_ts_fn.c index d67a089cfdce..67e5c0c46cab 100644 --- a/drivers/input/touchscreen/sec_ts/sec_ts_fn.c +++ b/drivers/input/touchscreen/sec_ts/sec_ts_fn.c @@ -3215,7 +3215,7 @@ static void clear_cover_mode(void *device_data) #endif } - if (!ts->power_status == SEC_TS_STATE_POWER_OFF && ts->reinit_done) { + if (!(ts->power_status == SEC_TS_STATE_POWER_OFF) && ts->reinit_done) { if (ts->flip_enable) sec_ts_set_cover_type(ts, true); else