input: touchscren: st: Remove unnecessary parentheses
Clang warns:
../drivers/input/touchscreen/st/fts_gui.c:61:10: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
if ((i == 0)) {
~~^~~~
../drivers/input/touchscreen/st/fts_gui.c:61:10: note: remove extraneous
parentheses around the comparison to silence this warning
if ((i == 0)) {
~ ^ ~
../drivers/input/touchscreen/st/fts_gui.c:61:10: note: use '=' to turn
this equality comparison into an assignment
if ((i == 0)) {
^~
=
../drivers/input/touchscreen/st/fts_gui.c:128:10: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
if ((i == 0)) {
~~^~~~
../drivers/input/touchscreen/st/fts_gui.c:128:10: note: remove
extraneous parentheses around the comparison to silence this warning
if ((i == 0)) {
~ ^ ~
../drivers/input/touchscreen/st/fts_gui.c:128:10: note: use '=' to turn
this equality comparison into an assignment
if ((i == 0)) {
^~
=
../drivers/input/touchscreen/st/fts_gui.c:176:10: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
if ((i == 0)) {
~~^~~~
../drivers/input/touchscreen/st/fts_gui.c:176:10: note: remove
extraneous parentheses around the comparison to silence this warning
if ((i == 0)) {
~ ^ ~
../drivers/input/touchscreen/st/fts_gui.c:176:10: note: use '=' to turn
this equality comparison into an assignment
if ((i == 0)) {
^~
=
../drivers/input/touchscreen/st/fts_gui.c:244:10: warning: equality
comparison with extraneous parentheses [-Wparentheses-equality]
if ((i == 0)) {
~~^~~~
../drivers/input/touchscreen/st/fts_gui.c:244:10: note: remove
extraneous parentheses around the comparison to silence this warning
if ((i == 0)) {
~ ^ ~
../drivers/input/touchscreen/st/fts_gui.c:244:10: note: use '=' to turn
this equality comparison into an assignment
if ((i == 0)) {
^~
=
4 warnings generated.
Fixes:
ed29ea5a01b9 ("input: touchpanel: Add ST Touchscreen version 4.1.0 driver")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>