diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2013-09-25 07:19:58 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-10-30 20:26:40 -0400 |
commit | c91c413e471974c69fc8ae1c3e0c86d71469fa05 (patch) | |
tree | f03ab67098e35d2b4c552a6dc7c55844364d115f | |
parent | 1eeaadf3fe23f2f7271c9746d3cb65db56816360 (diff) |
mmc: jz4740: Move away from using deprecated APIs
Suspend and resume of cards are being handled from the protocol layer
and consequently the mmc_suspend|resume_host APIs are deprecated.
This means we can simplify the suspend|resume callbacks by removing the
use of the deprecated APIs.
Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | drivers/mmc/host/jz4740_mmc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c index 66516339e3a0..de2139cf3444 100644 --- a/drivers/mmc/host/jz4740_mmc.c +++ b/drivers/mmc/host/jz4740_mmc.c | |||
@@ -880,8 +880,6 @@ static int jz4740_mmc_suspend(struct device *dev) | |||
880 | { | 880 | { |
881 | struct jz4740_mmc_host *host = dev_get_drvdata(dev); | 881 | struct jz4740_mmc_host *host = dev_get_drvdata(dev); |
882 | 882 | ||
883 | mmc_suspend_host(host->mmc); | ||
884 | |||
885 | jz_gpio_bulk_suspend(jz4740_mmc_pins, jz4740_mmc_num_pins(host)); | 883 | jz_gpio_bulk_suspend(jz4740_mmc_pins, jz4740_mmc_num_pins(host)); |
886 | 884 | ||
887 | return 0; | 885 | return 0; |
@@ -893,8 +891,6 @@ static int jz4740_mmc_resume(struct device *dev) | |||
893 | 891 | ||
894 | jz_gpio_bulk_resume(jz4740_mmc_pins, jz4740_mmc_num_pins(host)); | 892 | jz_gpio_bulk_resume(jz4740_mmc_pins, jz4740_mmc_num_pins(host)); |
895 | 893 | ||
896 | mmc_resume_host(host->mmc); | ||
897 | |||
898 | return 0; | 894 | return 0; |
899 | } | 895 | } |
900 | 896 | ||