diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-01-16 08:13:57 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-02-11 13:28:53 -0500 |
commit | 3724482d4ce4790d4534bcecebfda2c7133244c7 (patch) | |
tree | 1d0603eecf298c667b063c7ce9bcabc0140085c7 /drivers/mmc/host/Makefile | |
parent | a043859043042e8bc6f68b40782e3b8c9d10a28d (diff) |
mmc: mvsdio: use slot-gpio infrastructure for write protect gpio
The MMC core subsystem provides in drivers/mmc/core/slot-gpio.c a nice
set of helper functions to simplify the management of the write
protect GPIO in MMC host drivers. This patch migrates the mvsdio
driver to using those helpers, which will make the ->probe() code
simpler, and therefore ease the process of adding a Device Tree
binding for this driver.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Stefan Peter <s.peter@mpl.ch>
Tested-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/Makefile')
0 files changed, 0 insertions, 0 deletions