[PATCH] staging:fbtft:fb_ili9320 Removed redundant Parentheses

From: Ashok Kumar
Date: Fri Apr 19 2024 - 13:32:48 EST


Adhere to Linux kernel coding style.
Reported by checkpatch

CHECK: Unnecessary parentheses around 'devcode !=3D 0x0000'
+ if ((devcode !=3D 0x0000) && (devcode !=3D 0x9320))

Signed-off-by: Ashok Kumar <ashokemailat@xxxxxxxxx>
---
drivers/staging/fbtft/fb_ili9320.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/fbtft/fb_ili9320.c
b/drivers/staging/fbtft/fb_ili9320.c
index 0be7c2d51548..409b54cc562e 100644
--- a/drivers/staging/fbtft/fb_ili9320.c
+++ b/drivers/staging/fbtft/fb_ili9320.c
@@ -37,7 +37,7 @@ static int init_display(struct fbtft_par *par)
devcode =3D read_devicecode(par);
fbtft_par_dbg(DEBUG_INIT_DISPLAY, par, "Device code:
0x%04X\n",
devcode);
- if ((devcode !=3D 0x0000) && (devcode !=3D 0x9320))
+ if (devcode !=3D 0x0000 && devcode !=3D 0x9320)
dev_warn(par->info->device,
"Unrecognized Device code: 0x%04X (expected
0x9320)\n",
devcode);
--=20
2.34.1