pinctrl: berlin: prepare to use regmap provided by syscon
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Fri, 15 May 2015 23:16:09 +0000 (01:16 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 18 May 2015 15:52:46 +0000 (17:52 +0200)
commitf52bf55cba63811e1a9e16318557caa19670fbe0
treec3d1d79ff64da2972b4a7b8f7f06e2a588e645c9
parentbfff6296180c56ccaf4ac36808440f8849aad7c1
pinctrl: berlin: prepare to use regmap provided by syscon

The Berlin pin controller nodes will be simple-mfd probed sub-nodes of
soc-controller and system-controller nodes. The register bank is managed
by syscon, which provides a regmap.

Prepare to get the regmap from syscon parent node instead of SoC stub
provided regmap.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
drivers/pinctrl/berlin/berlin-bg2.c
drivers/pinctrl/berlin/berlin-bg2cd.c
drivers/pinctrl/berlin/berlin-bg2q.c
drivers/pinctrl/berlin/berlin.c