Re: [PATCH] Input: mma8450 - convert to using managed resources

2015-02-26 Thread Stefan Sauer
Thanks, tested it and confirming it works them same. On Thu, Feb 26, 2015 at 1:11 PM, Stefan Sauer wrote: > Thanks, tested it and confirming it works them same. > > On Thu, Feb 26, 2015 at 2:48 AM, Dmitry Torokhov > wrote: >> >> This simplifies error handling and device removal code. Also let's

[PATCH] Input: mma8450 - convert to using managed resources

2015-02-25 Thread Dmitry Torokhov
This simplifies error handling and device removal code. Also let's get rid of setting driver's owner since i2c core does it for us. Signed-off-by: Dmitry Torokhov --- Note that the following removal was intentional as devm_input_allocate_polled_device() does this for us: - idev->input->de