Re: [PATCH 26/50] pinctrl: spear: Use devm_pinctrl_register() for pinctrl registration

Viresh Kumar
2016-02-25T02:10:35Z

On 24-02-16, 18:45, Laxman Dewangan wrote:
> Use devm_pinctrl_register() for pin control registration and remove
> need of .remove callback.
>
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
> Cc: Viresh Kumar <vireshk@kernel.org>
> Cc: spear-devel@list.st.com
> Cc: linux-arm-kernel@lists.infradead.org
> ---
> drivers/pinctrl/spear/pinctrl-spear.c | 11 +----------
> drivers/pinctrl/spear/pinctrl-spear.h | 1 -
> drivers/pinctrl/spear/pinctrl-spear1310.c | 6 ------
> drivers/pinctrl/spear/pinctrl-spear1340.c | 6 ------
> drivers/pinctrl/spear/pinctrl-spear300.c | 6 ------
> drivers/pinctrl/spear/pinctrl-spear310.c | 6 ------
> drivers/pinctrl/spear/pinctrl-spear320.c | 6 ------
> 7 files changed, 1 insertion(+), 41 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

--
viresh