]> git.baikalelectronics.ru Git - kernel.git/commit
Input: elants - refactor elants_i2c_execute_command()
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Mon, 18 May 2020 03:41:05 +0000 (20:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 May 2020 04:11:34 +0000 (21:11 -0700)
commitf8a77fe406981aad8b524ffc3637b54b38b5301d
treef9f8f91b6a8495f1cc839a211a87f3ad456c7c0c
parentef7f7fb61e7ea0d1b5e139d1f8e7060b6fe40a35
Input: elants - refactor elants_i2c_execute_command()

Apply some DRY-ing to elants_i2c_execute_command() callers.  This pulls
polling and error printk()s into a single function.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Link: https://lore.kernel.org/r/6c576f688b385235c65b461410a917080d27e825.1587923061.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/elants_i2c.c