From: Andreas Fenkart Date: Tue, 3 Mar 2015 12:28:14 +0000 (+0100) Subject: mmc: omap_hsmmc: use slot-gpio functions to manage read-only pin directly X-Git-Tag: omap-for-v4.1/fixes-rc1~178^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a49d83537b7151aae7292fbdf77d5a4710ef1d60;p=pandora-kernel.git mmc: omap_hsmmc: use slot-gpio functions to manage read-only pin directly The indirection via omap_hsmmc_get_ro and omap_hsmmc_get_wp is redundant. Also dropped setting gpio_wp to EINVAL since platform date is read-only Untested: no device with ro pin was available, but change is fairly simple Signed-off-by: Andreas Fenkart Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed