diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-01-16 14:13:58 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-01-28 06:51:38 -0500 |
commit | aa3738e9565ffb67e296483087ff1d2f116fa81a (patch) | |
tree | 1f7af7a81a7659b1fe2656110dd75431aa369a2f /Documentation/devicetree | |
parent | 9d8b28e5d09746a0fea5aeec63b78586795e82de (diff) | |
download | op-kernel-dev-aa3738e9565ffb67e296483087ff1d2f116fa81a.zip op-kernel-dev-aa3738e9565ffb67e296483087ff1d2f116fa81a.tar.gz |
mmc: mvsdio: use slot-gpio for card detect 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 card detect
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 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions