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

From: Michał Mirosław
Date: Sun Apr 26 2020 - 13:41:02 EST


On Sun, Apr 26, 2020 at 07:24:14PM +0300, Dmitry Osipenko wrote:
> 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.

I'm rebasing against for-linus brach at [1]. Will send v5 shortly.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git