pinctrl: samsung: Move retention control from mach-s5pv210 to the pinctrl driver
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 26 Jan 2017 09:29:26 +0000 (10:29 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Jan 2017 15:57:03 +0000 (16:57 +0100)
commitdabd14569299c34f8c32b87760b464de6ed3f350
tree6dabea663a33fa7221e8fcdd8eeb2436c417a364
parent07731019c59c06e257aac351d774b2292c251dde
pinctrl: samsung: Move retention control from mach-s5pv210 to the pinctrl driver

This patch moves pad retention control from S5PV210 machine code to
Exynos pin controller driver. This helps to avoid possible ordering
and logical dependencies between machine and pin control code. Till
now it worked fine only because sys_ops for machine code and pin
controller were called in registration order.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
For mach-s5pv210:
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-s5pv210/pm.c
arch/arm/mach-s5pv210/regs-clock.h
drivers/pinctrl/samsung/pinctrl-exynos.c