Re: [PATCH v4 05/10] input: elants: refactor elants_i2c_execute_command()

From: Dmitry Osipenko
Date: Sun Apr 26 2020 - 12:24:22 EST


26.04.2020 19:11, MichaÅ MirosÅaw ÐÐÑÐÑ:
> 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@xxxxxxxxxxxx>
> ---
> v4: return 0 on success; use %pe for error code
> ---
> drivers/input/touchscreen/elants_i2c.c | 189 +++++++++++++------------
> 1 file changed, 96 insertions(+), 93 deletions(-)

This patch doesn't apply to the recent linux-next, it needs to be rebased.