sh-pfc: Don't modify sh_pfc_pin SoC data
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 8 Mar 2013 16:43:54 +0000 (17:43 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 15 Mar 2013 12:33:53 +0000 (13:33 +0100)
commit1a0039dce269317a843d4fc85c4a3430b484bc2d
treecb22db8e8b78b04c9ce13891a1685244b1c0cbac
parent51cb226b359bc48fed4a92b9bbd9af34640b1be8
sh-pfc: Don't modify sh_pfc_pin SoC data

The sh_pfc_pin structure supplied in SoC data contains information about
pin configuration and name. It's abused to store GPIO data registers
information and pin config type. Move those fields out of the
pinmux_data_reg structure into the new sh_pfc_gpio_pin and
sh_pfc_pin_config structures.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/core.c
drivers/pinctrl/sh-pfc/core.h
drivers/pinctrl/sh-pfc/gpio.c
drivers/pinctrl/sh-pfc/pinctrl.c
drivers/pinctrl/sh-pfc/sh_pfc.h