From: Adrian Hunter Date: Mon, 10 Mar 2014 13:02:41 +0000 (+0200) Subject: mmc: slot-gpio: Add GPIO descriptor based CD GPIO API X-Git-Tag: v3.15-rc1~42^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=740a221ef0e579dc7c675cf6b90f5313509788f7;p=pandora-kernel.git mmc: slot-gpio: Add GPIO descriptor based CD GPIO API Add functions to request a CD GPIO using the GPIO descriptor API. Note that the new request function is paired with mmc_gpiod_free_cd() not mmc_gpio_free_cd(). Note also that it must be called prior to mmc_add_host() otherwise the caller must also call mmc_gpiod_request_cd_irq(). Signed-off-by: Adrian Hunter Reviewed-by: Linus Walleij Signed-off-by: Chris Ball --- Reading git-diff-tree failed