[ARM] 3847/2: Convert LOMOMO to use struct device for GPIOs
authorRichard Purdie <rpurdie@rpsys.net>
Mon, 25 Sep 2006 19:11:48 +0000 (20:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 Sep 2006 19:58:59 +0000 (20:58 +0100)
commit8d48427ecb0639593ccf14e807479b7873254ccb
tree7bcc5f49faf33515d5d65fae53d6670cfe76e5c3
parent2dc94310bd94d0906febea7d0f7c188da620c952
[ARM] 3847/2:  Convert LOMOMO to use struct device for GPIOs

Convert LOMOMO to use struct device * for GPIOs instead of struct
locomo_dev. This enables access to the GPIOs from code which is not
a locomo device itself (such as audio). Access for gpio 31 is removed
for error handling (no such hardware exists).

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/locomo.c
arch/arm/mach-sa1100/collie.c
drivers/video/backlight/locomolcd.c
include/asm-arm/hardware/locomo.h