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)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:27 +0000 (11:15 +0100)
commitd47fa628dc714723941e533682681397c855ca6f
tree62f4aec3b126d0c60fda152a88e3fe749cadf960
parent997fc90c549cd33ee09e550340d47a9c2146400b
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