pinctrl: spawn U300 pinctrl from the COH901 GPIO
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Feb 2012 13:31:45 +0000 (14:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 22 Feb 2012 16:59:33 +0000 (17:59 +0100)
commit128a06d4bb997d90158e668173a6944d376c84cb
treecbfe9ed922f93fa4132d8d6db6e3a22aeb8637fa
parent4ecce45dd663f6945bed7e2e06c05b5d90f3a2a1
pinctrl: spawn U300 pinctrl from the COH901 GPIO

This solves the riddle on how the U300 pin controller shall be
able to reference the struct gpio_chip even though these are
two separate drivers: spawn the pinctrl child from the GPIO
driver and pass in the struct gpio_chip as platform data.
In the process we rename the U300 "pinmux-u300" to
"pinctrl-u300" so as not to confuse.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/core.c
arch/arm/mach-u300/include/mach/gpio-u300.h
drivers/pinctrl/pinctrl-coh901.c
drivers/pinctrl/pinctrl-u300.c