]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/pinctrl/pinctrl-samsung.c
pinctrl: samsung: Hold pointer to driver data in bank struct
authorTomasz Figa <t.figa@samsung.com>
Thu, 11 Oct 2012 08:11:14 +0000 (10:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Oct 2012 07:10:12 +0000 (09:10 +0200)
commit6defe9a0ddc59aa2302473aa3c8b3fdb543fdc1b
treeb02012ccec313a8833676060fb9f648e5e7f4700
parentab663789d69760d2735402f66501f20b60312a3d
pinctrl: samsung: Hold pointer to driver data in bank struct

This patch is a preparation for converting the pinctrl-samsung driver to
one GPIO chip and IRQ domain per bank. It allows one having only
a pointer to particular bank struct to access driver data struct.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-samsung.c
drivers/pinctrl/pinctrl-samsung.h