MIPS: Cleanup Loongson-2F's gpio driver
authorHuacai Chen <chenhc@lemote.com>
Wed, 1 Apr 2015 02:20:07 +0000 (10:20 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 7 Apr 2015 09:13:56 +0000 (11:13 +0200)
commitdf5dade4a7b29b003e000c5db5c35612e0b1019b
tree8feb005ff876ae9d1df0a74101bedb223f3f0b00
parentb8a51a2e8a9f8e24f8f155772168a7ca35ce7f75
MIPS: Cleanup Loongson-2F's gpio driver

This cleanup is prepare to move the driver to drivers/gpio. Custom
definitions of gpio_get_value()/gpio_set_value() are dropped.

Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/mips/include/asm/mach-loongson/gpio.h
arch/mips/loongson/common/gpio.c