MIPS: ath79: Add OF support to the GPIO driver
authorAlban Bedel <albeu@free.fr>
Sun, 31 May 2015 00:18:24 +0000 (02:18 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:54:09 +0000 (21:54 +0200)
commit2ddf3a792218cddd30140b1f8b32cb6e2d67921f
treeb6651a32277f54216ebb36237431465dbb62c694
parentd6743a496cfdd84375c7798cfc3dd0e1aeb4ca6d
MIPS: ath79: Add OF support to the GPIO driver

Replace the simple GPIO chip registration by a platform driver
and make ath79_gpio_init() just register the device.

Signed-off-by: Alban Bedel <albeu@free.fr>
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ath79/dev-common.c
arch/mips/ath79/gpio.c
include/linux/platform_data/gpio-ath79.h [new file with mode: 0644]