sh-pfc: sh73a0: Introduce the use of devm_regulator_register
authorHimangi Saraogi <himangi774@gmail.com>
Mon, 7 Jul 2014 16:09:16 +0000 (21:39 +0530)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:14 +0000 (09:24 +0900)
commit5030eb0ff24a93570498329cc5499676fe2a46c5
tree8ca5dd6344531cea7c15490a1f3fd2ea4093c280
parentb505367481216536ba4ebbd750f2c5b7cf68ac24
sh-pfc: sh73a0: Introduce the use of devm_regulator_register

This patch moves data allocated using regulator_register to
devm_regulator_register and does away the calls to regulator_unregister.
The sh73a0_pinmux_soc_exit function is no longer needed and is removed.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit 01a7d13a8cfa6424a9568f3c7e925ace57cd3fc8)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-sh73a0.c