Skip to content

Commit f8a2257

Browse files
passgatdtor
authored andcommitted
Input: edt-ft5x06 - add spaces to ensure format specification
It adds spaces around '-' as recommended by the Linux coding style. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Link: https://lore.kernel.org/r/20230402200951.1032513-4-dario.binacchi@amarulasolutions.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 6114f47 commit f8a2257

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/input/touchscreen/edt-ft5x06.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@ static bool edt_ft5x06_ts_check_crc(struct edt_ft5x06_ts_data *tsdata,
183183
for (i = 0; i < buflen - 1; i++)
184184
crc ^= buf[i];
185185

186-
if (crc != buf[buflen-1]) {
186+
if (crc != buf[buflen - 1]) {
187187
tsdata->crc_errors++;
188188
dev_err_ratelimited(&tsdata->client->dev,
189189
"crc error: 0x%02x expected, got 0x%02x\n",
190-
crc, buf[buflen-1]);
190+
crc, buf[buflen - 1]);
191191
return false;
192192
}
193193

0 commit comments

Comments
 (0)