Input: tegra-kbc - use devm_* for resource allocation
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 7 Jan 2013 02:31:20 +0000 (18:31 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Jan 2013 08:27:57 +0000 (00:27 -0800)
commit00eb81e56a38ffb7839e0e6262e26c20c617d2ab
tree8a37bdc1e074b03e979623c3ba3f75ac65a929d9
parent1c407a1b24debecccc42e5a2ae167f058dbb6fba
Input: tegra-kbc - use devm_* for resource allocation

Use devm_* for memory, clock, irq, input device allocation. This reduces
code for freeing these resources.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tegra-kbc.c