ata: rb532_cf: Convert to use GPIO descriptors
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Nov 2018 07:47:32 +0000 (08:47 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Dec 2018 00:15:25 +0000 (17:15 -0700)
commitcd56f35e52d9496cbf5c85d27af9bdb064bec8df
tree985a7967672952f22f971cc3f9f1d70a2a07773b
parent83a7faace12e1bca6f659e117cde85769385fe08
ata: rb532_cf: Convert to use GPIO descriptors

Pass a GPIO descriptor for the device instead of a hardcoded
GPIO number from the global GPIO numberspace. Use gpio
descriptors throughout.

Cut the now completely unused platform data for the CF slot.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Cc: Matt Redfearn <matt.redfearn@mips.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/mips/include/asm/mach-rc32434/rb.h
arch/mips/rb532/devices.c
drivers/ata/pata_rb532_cf.c