diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-08-11 07:36:09 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-08-11 19:33:05 -0700 |
commit | 7071ca1df5e26949e6a24684f52d45ca18f07077 (patch) | |
tree | b6fbd5ceeca0e3cad941ef80b47bdd15b6e846f6 /drivers/staging/greybus/sdio.c | |
parent | f06eda1b1744fcde6769eee22bceb7d9fee23bf5 (diff) |
greybus: sdio: Drop get_version support
This is done from a common place now, no need to replicate it.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/sdio.c')
-rw-r--r-- | drivers/staging/greybus/sdio.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index 345cffff7db0..24b2e3152fa1 100644 --- a/drivers/staging/greybus/sdio.c +++ b/drivers/staging/greybus/sdio.c @@ -18,8 +18,6 @@ struct gb_sdio_host { struct gb_connection *connection; - u8 version_major; - u8 version_minor; struct mmc_host *mmc; struct mmc_request *mrq; struct mutex lock; /* lock for this host */ @@ -36,9 +34,6 @@ struct gb_sdio_host { static struct workqueue_struct *gb_sdio_mrq_workqueue; -/* Define get_version() routine */ -define_get_version(gb_sdio_host, SDIO); - #define GB_SDIO_RSP_R1_R5_R6_R7 (GB_SDIO_RSP_PRESENT | GB_SDIO_RSP_CRC | \ GB_SDIO_RSP_OPCODE) #define GB_SDIO_RSP_R3_R4 (GB_SDIO_RSP_PRESENT) @@ -695,10 +690,6 @@ static int gb_sdio_connection_init(struct gb_connection *connection) host->connection = connection; connection->private = host; - ret = get_version(host); - if (ret < 0) - goto free_mmc; - ret = gb_sdio_get_caps(host); if (ret < 0) goto free_mmc; |