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)
commit918e2844d940da7c624262a7aa327615d3eb5abd
treef9f8f91b6a8495f1cc839a211a87f3ad456c7c0c
parent68334dbab13bc5d637fdf1aa2ccfe7e1932b2af1
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