mmc: omap_hsmmc: remove never read power_saving field in omap2_hsmmc_info
authorAndreas Fenkart <afenkart@gmail.com>
Sat, 8 Nov 2014 14:33:12 +0000 (15:33 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 26 Nov 2014 13:30:54 +0000 (14:30 +0100)
these fields are never read, probably an unimplemented feature
or superseded by pm_runtime

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/hsmmc.h

index ddfc8df83c6a9adf2c0d128c688d16e094708ac2..0a8ac844b75b4e2276b6c24f3434aec6c2658f02 100644 (file)
@@ -500,7 +500,6 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
                .cover_only     = true,
                .gpio_cd        = 160,
                .gpio_wp        = -EINVAL,
-               .power_saving   = true,
        },
        {
                .name           = "internal",
@@ -510,7 +509,6 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
                .gpio_cd        = -EINVAL,
                .gpio_wp        = -EINVAL,
                .nonremovable   = true,
-               .power_saving   = true,
                .remux          = rx51_mmc2_remux,
        },
        {}      /* Terminator */
index bdc8870dde7eec4fe3029e09660a24da841fff13..30c78c17eb7e114a62f35f871f4381a2fdaf3524 100644 (file)
@@ -16,7 +16,6 @@ struct omap2_hsmmc_info {
        bool    ext_clock;      /* use external pin for input clock */
        bool    cover_only;     /* No card detect - just cover switch */
        bool    nonremovable;   /* Nonremovable e.g. eMMC */
-       bool    power_saving;   /* Try to sleep or power off when possible */
        bool    deferred;       /* mmc needs a deferred probe */
        int     gpio_cd;        /* or -EINVAL */
        int     gpio_wp;        /* or -EINVAL */