Input: mpr121 - switch to using managed resources
authorPramod Gurav <pramod.gurav@smartplayin.com>
Wed, 8 Oct 2014 18:14:10 +0000 (11:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 22 Oct 2014 17:50:05 +0000 (10:50 -0700)
commit254af0a3c7fe1959b0a865660f2f2004e023ddc3
treed4e9d35d9d2db9de696883c802384a3ff278b861
parent68da166491655bc54051bf04c78ce648e2e33508
Input: mpr121 - switch to using managed resources

This change switches the driver to use devm_* managed resources APIs to
request the resources in probe to simplify probe error path and module
unloading and does away with remove function.

Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/mpr121_touchkey.c