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)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Jul 2014 12:08:39 +0000 (14:08 +0200)
commitaef1d0003d8c9f913fd66a0e06aeb292b29ab6dd
treea54bc73f7ecf54b7c07af4f46c5f763e873ca8eb
parent4281a16de2b1d8e715623afff0445bdce9d3ffe7
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>
drivers/pinctrl/sh-pfc/pfc-sh73a0.c