commit | 1f9e1470ab34fe7e523014ae30dd3b2e65177ae4 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Fri Apr 25 09:21:12 2014 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed May 14 16:39:47 2014 -0700 |
tree | 1b673cc5b2401658dbb1d0db2de94d6962cff602 | |
parent | c728601ea3531dc1f0dcd74c1db1e85e59f2be68 [diff] |
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>