]> git.karo-electronics.de Git - linux-beck.git/commit
sh-pfc: Don't modify pinmux_data_reg SoC data
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 16 Feb 2013 17:34:32 +0000 (18:34 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 15 Mar 2013 12:33:53 +0000 (13:33 +0100)
commit51cb226b359bc48fed4a92b9bbd9af34640b1be8
tree6e87c674c80c7ee9e1135bdca5fd8209346cb669
parentbee9f22ba196b0fa3b07507f685eb92b2075e1d1
sh-pfc: Don't modify pinmux_data_reg SoC data

The pinmux_data_reg structure supplied in SoC data contains information
about data registers. It's abused to store per-device mapped iomem and
shadow values. Move those fields out of the pinmux_data_reg structure
into the per-device sh_pfc_chip structure.

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