regulator: tps62360: use devm_* for gpio request
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 2 Jul 2012 10:05:48 +0000 (15:35 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 15 Jul 2012 20:49:52 +0000 (21:49 +0100)
commit8a8e3d5915b3b40a64a5e7dc5aeb208594917a15
tree3fc5fb57dc14d7c69dc1ee6319489e17a999d99d
parentd5b2e30bdc695a1735b3c970e1f9738e9ca3dbf0
regulator: tps62360: use devm_* for gpio request

Use devm_ version of gpio APIs gpio_request_one() for
requesting gpios.
This avoid extra code for freeing gpios.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps62360-regulator.c