OSDN Git Service

Input: twl6040-vibra - code cleanup in probe with devm_* conversion
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 25 Jan 2013 08:03:50 +0000 (00:03 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 25 Jan 2013 08:06:48 +0000 (00:06 -0800)
commitb2ebcc1be96ee6dd5481697b421447e5a3f61d76
tree81759c27955e0be4f0b96668d4919bafda0f8c6e
parent6f2ac009f29bcbd468a7a2017912dd090abd1348
Input: twl6040-vibra - code cleanup in probe with devm_* conversion

Convert the probe to use devm_*. At the same time reorder the calls
so we will register the input device as the last step when the driver
is loaded.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/twl6040-vibra.c