Input: mma8450 - convert to using managed resources
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 26 Feb 2015 01:44:55 +0000 (17:44 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 24 Mar 2015 18:35:06 +0000 (11:35 -0700)
commit5037a17966967bde3f561cc543c9b3596afabf70
tree4a2cd60c7ec97ae98c7adc1520275da52f69edf8
parenta93ad65d375f216025902a73ff25900d82a9de25
Input: mma8450 - convert to using managed resources

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.

Tested-by: Stefan Sauer <ensonic@google.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/mma8450.c