From patchwork Thu Sep 26 14:54:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 20608 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7F80924687 for ; Thu, 26 Sep 2013 14:55:56 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id z20sf1088328yhz.7 for ; Thu, 26 Sep 2013 07:55:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=m3cFtYs1XbVfGfrDqv35kUPuY20XgVEpLqrQeCz5dJ8=; b=UP/zhNSfA/qQlIXQ0LCigUKZ4HHPe120BxEkHFfx5C7taPjkL1XmGwg3Nl4E4WgMPX sheR8P+wFJIewhmOsJQXeXF4WAnaJ3e8nYcWEyOqMh4Aq6f1+zg7c5A64ma32tksJY2s hUhqBLq0sn1++mHf3rH6XqxpZWohllwCcZKZd4qf5KZ8+qx4Y9NI8YYANqPBzvMgG6cy h0HQs54yifSgxcM+qbZ9wHi3OXstmTdBKyrJnE9yI+F+Dw/K5Ba2XPf377qxdXm5eM1e UG1ETMXvGUJNNztVI/V1alAILoOrYkZvU9wHZUnTzXt1+DmUwwIohSQYnY1ES8t0jKKD ffLA== X-Gm-Message-State: ALoCoQkkAboe3qNtDXj5W1qdiwOJW9QyjNU/7e5tFg+Q/zSCiDTJE3IpsWlQFqSQgMNKwGgEoRJJ X-Received: by 10.236.92.107 with SMTP id i71mr251491yhf.1.1380207356304; Thu, 26 Sep 2013 07:55:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.99.10 with SMTP id em10ls940576qeb.82.gmail; Thu, 26 Sep 2013 07:55:56 -0700 (PDT) X-Received: by 10.220.97.145 with SMTP id l17mr978534vcn.35.1380207356150; Thu, 26 Sep 2013 07:55:56 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id ta3si497697vcb.71.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 07:55:56 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ib11so952103vcb.28 for ; Thu, 26 Sep 2013 07:55:26 -0700 (PDT) X-Received: by 10.220.144.68 with SMTP id y4mr1048112vcu.28.1380207326051; Thu, 26 Sep 2013 07:55:26 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp371094vcz; Thu, 26 Sep 2013 07:55:25 -0700 (PDT) X-Received: by 10.15.36.9 with SMTP id h9mr2006106eev.30.1380207325114; Thu, 26 Sep 2013 07:55:25 -0700 (PDT) Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) by mx.google.com with ESMTPS id x49si1818989een.324.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 07:55:25 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.169 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.215.169; Received: by mail-ea0-f169.google.com with SMTP id k11so613270eaj.0 for ; Thu, 26 Sep 2013 07:55:24 -0700 (PDT) X-Received: by 10.14.216.201 with SMTP id g49mr1850275eep.77.1380207324580; Thu, 26 Sep 2013 07:55:24 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id x47sm4813555eea.16.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 07:55:23 -0700 (PDT) From: Ulf Hansson To: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Chris Ball Cc: Ulf Hansson , Lars-Peter Clausen Subject: [PATCH 07/27] mmc: jz4740: Move away from using deprecated APIs Date: Thu, 26 Sep 2013 16:54:32 +0200 Message-Id: <1380207292-16968-8-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380207292-16968-1-git-send-email-ulf.hansson@linaro.org> References: <1380207292-16968-1-git-send-email-ulf.hansson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 Signed-off-by: Ulf Hansson --- drivers/mmc/host/jz4740_mmc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c index 6651633..de2139c 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) { struct jz4740_mmc_host *host = dev_get_drvdata(dev); - mmc_suspend_host(host->mmc); - jz_gpio_bulk_suspend(jz4740_mmc_pins, jz4740_mmc_num_pins(host)); return 0; @@ -893,8 +891,6 @@ static int jz4740_mmc_resume(struct device *dev) jz_gpio_bulk_resume(jz4740_mmc_pins, jz4740_mmc_num_pins(host)); - mmc_resume_host(host->mmc); - return 0; }