From a49d83537b7151aae7292fbdf77d5a4710ef1d60 Mon Sep 17 00:00:00 2001 From: Andreas Fenkart Date: Tue, 3 Mar 2015 13:28:14 +0100 Subject: [PATCH] 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-format-patch failed