pinctrl: samsung: Split pin bank description into two structures
authorTomasz Figa <tomasz.figa@gmail.com>
Mon, 18 Mar 2013 21:31:52 +0000 (22:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Apr 2013 07:41:09 +0000 (09:41 +0200)
commit499147c9dbceee27c63bf8e6b604aca1737e9e0c
tree54305db6aac8a73a8e495f98b1f0f82886e3af53
parentd5517bec272ce4732f7e86a72a1bb815834c912c
pinctrl: samsung: Split pin bank description into two structures

This patch splits pin bank description into two structures, one
describing bank type (currently only bitfield widths), which can be
shared across multiple banks and second containing bank-specific
parameters including a pointer to a bank type struct.

It is a prerequisite for further patch removing the statically hardcoded
register offsets, making it impossible to support SoCs with different
set and order of pin control registers.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-exynos.c
drivers/pinctrl/pinctrl-exynos.h
drivers/pinctrl/pinctrl-samsung.c
drivers/pinctrl/pinctrl-samsung.h