From: Thomas Petazzoni Date: Wed, 16 Jan 2013 13:13:57 +0000 (+0100) Subject: mmc: mvsdio: use slot-gpio infrastructure for write protect gpio X-Git-Tag: v3.9-rc1~78^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3724482d4ce4790d4534bcecebfda2c7133244c7;p=pandora-kernel.git 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 Signed-off-by: Andrew Lunn Tested-by: Stefan Peter Tested-by: Florian Fainelli Signed-off-by: Jason Cooper Signed-off-by: Chris Ball --- Reading git-diff-tree failed