pinctrl: sunxi: Move the reset handling functions out of the core
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 26 Apr 2014 20:28:54 +0000 (22:28 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 5 May 2014 00:57:18 +0000 (19:57 -0500)
commitdc9691066fa7de51178de5ac3e06b3681557a7b4
tree5ecbae5cf4632b76b97eb6988c374c6e2970cea5
parent340ba6c4973184e2a9a7c51b295230fec17d1109
pinctrl: sunxi: Move the reset handling functions out of the core

The way that reset is handled right now is that it is made optional for every
pinctrl driver, while actually, it isn't used at all for the main pin
controllers so far, and while it's mandatory for the A31's secondary pin
controller.

Move the reset functions out of the core and in the driver, where they can be
made mandatory.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/pinctrl/sunxi/pinctrl-sun6i-a31-r.c
drivers/pinctrl/sunxi/pinctrl-sunxi.c