From: Zhangfei Gao Date: Thu, 9 Jan 2014 14:35:10 +0000 (+0800) Subject: mmc: dw_mmc: use slot-gpio to handle cd pin X-Git-Tag: v3.14-rc1~88^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf626e5550f24aec;p=pandora-kernel.git mmc: dw_mmc: use slot-gpio to handle cd pin Suggested by Jaehoon: Use slot-gpio to handle cd-gpio Add function dw_mci_of_get_cd_gpio to check "cd-gpios" from dts. mmc_gpio_request_cd and mmc_gpio_get_cd are used to handle cd pin Signed-off-by: Zhangfei Gao Acked-by: Jaehoon Chung Acked-by: Arnd Bergmann Signed-off-by: Chris Ball --- Reading git-diff-tree failed