diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-04-25 09:21:12 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-14 16:39:47 -0700 |
commit | 1f9e1470ab34fe7e523014ae30dd3b2e65177ae4 (patch) | |
tree | 1b673cc5b2401658dbb1d0db2de94d6962cff602 /drivers/input/keyboard/gpio_keys.c | |
parent | c728601ea3531dc1f0dcd74c1db1e85e59f2be68 (diff) | |
download | op-kernel-dev-1f9e1470ab34fe7e523014ae30dd3b2e65177ae4.zip op-kernel-dev-1f9e1470ab34fe7e523014ae30dd3b2e65177ae4.tar.gz |
Input: twl6040-vibra - use devm functions
Using devm_regulator_bulk_get() and devm_input_allocate_device() can make
the code cleaner and smaller as we do not need to manually free resources
the error and remove paths.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/gpio_keys.c')
0 files changed, 0 insertions, 0 deletions