diff options
author | Sebastiano Barezzi <barezzisebastiano@gmail.com> | 2020-11-24 00:19:22 +0100 |
---|---|---|
committer | Sebastiano Barezzi <barezzisebastiano@gmail.com> | 2021-03-12 21:12:12 +0100 |
commit | 2685622e0507a1b5f1775e13506d8690d6a45315 (patch) | |
tree | e86bcbeceb0a953a92271276d3dbb2b10004b34a /drivers/input | |
parent | 40ec6194de378a84ee0e93a98cbd8af9bb7850ef (diff) |
drivers: touchscreen: nvt_touch_d2t: Fix extraneous parentheses
drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c:911:29: error:
equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
if ((ts->lockdown_info[0] ==
~~~~~~~~~~~~~~~~~~~~~^~
Change-Id: I4603746e9a937761686a730611e32f8f681ab04f
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c b/drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c index 8b6264f329f1..45e1e6569392 100644 --- a/drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c +++ b/drivers/input/touchscreen/nvt_touch_d2t/nt36xxx.c @@ -908,8 +908,8 @@ static const char *nvt_get_config(struct nvt_ts_data *ts) int i; for (i = 0; i < ts->config_array_size; i++) { - if ((ts->lockdown_info[0] == - ts->config_array[i].tp_vendor)) + if (ts->lockdown_info[0] == + ts->config_array[i].tp_vendor) break; } |