Input: twl6040-vibra - use devm functions
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 25 Apr 2014 16:21:12 +0000 (09:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:39:47 +0000 (16:39 -0700)
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>

No differences found