mmc: sdhci-pltfm: remove priv variable from sdhci_pltfm_host
authorJisheng Zhang <jszhang@marvell.com>
Tue, 16 Feb 2016 13:08:31 +0000 (21:08 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:03:30 +0000 (11:03 +0100)
Now all clients migration to use sdhci_pltfm_init for private
allocation is done and there's no users of the priv variable, so we can
remove it from the sdhci_pltfm_host structure.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pltfm.h

index 04bc248..d38053b 100644 (file)
@@ -23,7 +23,6 @@ struct sdhci_pltfm_data {
 
 struct sdhci_pltfm_host {
        struct clk *clk;
-       void *priv; /* to handle quirks across io-accessor calls */
 
        /* migrate from sdhci_of_host */
        unsigned int clock;