Re: [PATCH 1/4] input: misc: gp2a: Use managed resource helpers

2019-01-25 Thread Dmitry Torokhov
On Fri, Jan 25, 2019 at 06:50:42PM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > Simplify cleanup of failures by using managed resource helpers > > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel > --- > drivers/input/misc/gp2ap002a00f.c | 37 ++--

[PATCH 1/4] input: misc: gp2a: Use managed resource helpers

2019-01-25 Thread Paweł Chmiel
From: Jonathan Bakker Simplify cleanup of failures by using managed resource helpers Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- drivers/input/misc/gp2ap002a00f.c | 37 ++- 1 file changed, 12 insertions(+), 25 deletions(-) diff --git a/drivers/i