aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fenkart <afenkart@gmail.com>2014-11-08 09:33:12 -0500
committerUlf Hansson <ulf.hansson@linaro.org>2014-11-26 08:30:54 -0500
commite5aafa27ab9ecf8918855cfe1244565138441e58 (patch)
treec25c86d0fccfc1dd111dde7ab52978bc1710bd27
parentbb09d15114a55ae050f5315f2dfd6d1c989ecacd (diff)
mmc: omap_hsmmc: remove never read power_saving field in omap2_hsmmc_info
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>
-rw-r--r--arch/arm/mach-omap2/board-rx51-peripherals.c2
-rw-r--r--arch/arm/mach-omap2/hsmmc.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
index ddfc8df83c6a..0a8ac844b75b 100644
--- a/arch/arm/mach-omap2/board-rx51-peripherals.c
+++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -500,7 +500,6 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
500 .cover_only = true, 500 .cover_only = true,
501 .gpio_cd = 160, 501 .gpio_cd = 160,
502 .gpio_wp = -EINVAL, 502 .gpio_wp = -EINVAL,
503 .power_saving = true,
504 }, 503 },
505 { 504 {
506 .name = "internal", 505 .name = "internal",
@@ -510,7 +509,6 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
510 .gpio_cd = -EINVAL, 509 .gpio_cd = -EINVAL,
511 .gpio_wp = -EINVAL, 510 .gpio_wp = -EINVAL,
512 .nonremovable = true, 511 .nonremovable = true,
513 .power_saving = true,
514 .remux = rx51_mmc2_remux, 512 .remux = rx51_mmc2_remux,
515 }, 513 },
516 {} /* Terminator */ 514 {} /* Terminator */
diff --git a/arch/arm/mach-omap2/hsmmc.h b/arch/arm/mach-omap2/hsmmc.h
index bdc8870dde7e..30c78c17eb7e 100644
--- a/arch/arm/mach-omap2/hsmmc.h
+++ b/arch/arm/mach-omap2/hsmmc.h
@@ -16,7 +16,6 @@ struct omap2_hsmmc_info {
16 bool ext_clock; /* use external pin for input clock */ 16 bool ext_clock; /* use external pin for input clock */
17 bool cover_only; /* No card detect - just cover switch */ 17 bool cover_only; /* No card detect - just cover switch */
18 bool nonremovable; /* Nonremovable e.g. eMMC */ 18 bool nonremovable; /* Nonremovable e.g. eMMC */
19 bool power_saving; /* Try to sleep or power off when possible */
20 bool deferred; /* mmc needs a deferred probe */ 19 bool deferred; /* mmc needs a deferred probe */
21 int gpio_cd; /* or -EINVAL */ 20 int gpio_cd; /* or -EINVAL */
22 int gpio_wp; /* or -EINVAL */ 21 int gpio_wp; /* or -EINVAL */