From patchwork Mon Aug 25 12:26:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 35904 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f200.google.com (mail-yk0-f200.google.com [209.85.160.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8431A203C0 for ; Mon, 25 Aug 2014 12:26:39 +0000 (UTC) Received: by mail-yk0-f200.google.com with SMTP id 9sf44629037ykp.11 for ; Mon, 25 Aug 2014 05:26:39 -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=d/AuRgFr6yxhI88wo725m4QxZiDo4o/NDJfFp3ud5TI=; b=XEEMmRF0esDtdSLbinKro8uoAQPCnuTZOCSGMsdThD9CUNrIdpxp3INQV9E05vzPs6 22CTr0FmEFqf/wMUI9l79cVub2X9T/ViZYsIofc1fGW8Zkk0VzaKlU0eMbrsk+JbSfN1 RqAklvg388WI10l1/WFmXEWkBfMnrut4qz0zrJ/ipJP8v8yRTDrXZBW5GsOi1XiVYcxN GIvutjG0UpyJxZ+vFZ9gLp1Vp42uZ6hQ97N4TpP+CowD7Q5oNl4639NiwTzCL2p9dIFW UkzcnzBl/O/u/NISxB47Pft7g/PA/2Db1b1oeDDCnGDP06ZPMPgouazoiTMHblBQ0X9n xixg== X-Gm-Message-State: ALoCoQkb+CszqQhF4LcmzenZtO2+dUipXvD+3XgB50ogWq/DexA48DcvzT2tJyI7XGx30WOBt7FZ X-Received: by 10.236.21.132 with SMTP id r4mr14295490yhr.2.1408969599376; Mon, 25 Aug 2014 05:26:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.47 with SMTP id w44ls1959767qgw.95.gmail; Mon, 25 Aug 2014 05:26:39 -0700 (PDT) X-Received: by 10.221.6.201 with SMTP id ol9mr18265841vcb.2.1408969599292; Mon, 25 Aug 2014 05:26:39 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id b11si17206453vdv.62.2014.08.25.05.26.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Aug 2014 05:26:39 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id lf12so15233419vcb.1 for ; Mon, 25 Aug 2014 05:26:39 -0700 (PDT) X-Received: by 10.52.3.40 with SMTP id 8mr15359393vdz.24.1408969599221; Mon, 25 Aug 2014 05:26:39 -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.221.45.67 with SMTP id uj3csp113265vcb; Mon, 25 Aug 2014 05:26:38 -0700 (PDT) X-Received: by 10.194.200.74 with SMTP id jq10mr2241142wjc.110.1408969598366; Mon, 25 Aug 2014 05:26:38 -0700 (PDT) Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by mx.google.com with ESMTPS id fv11si9994900wic.87.2014.08.25.05.26.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Aug 2014 05:26:38 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 74.125.82.172 as permitted sender) client-ip=74.125.82.172; Received: by mail-we0-f172.google.com with SMTP id x48so13332588wes.31 for ; Mon, 25 Aug 2014 05:26:37 -0700 (PDT) X-Received: by 10.180.87.231 with SMTP id bb7mr15420676wib.63.1408969597777; Mon, 25 Aug 2014 05:26:37 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id u5sm145337wia.17.2014.08.25.05.26.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Aug 2014 05:26:37 -0700 (PDT) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Ian Molton , Chris Ball Cc: Geert Uytterhoeven , Linux-sh list , linux-kernel@vger.kernel.org, Ulf Hansson Subject: [PATCH 08/12] mmc: sdhi: Make runtime PM callbacks available for CONFIG_PM Date: Mon, 25 Aug 2014 14:26:00 +0200 Message-Id: <1408969564-6335-9-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1408969564-6335-1-git-send-email-ulf.hansson@linaro.org> References: <1408969564-6335-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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.170 as permitted sender) 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: , To be able to simplify system PM, let's re-use the runtime PM callbacks by converting to the SET_PM_RUNTIME_PM_OPS macro. Signed-off-by: Ulf Hansson --- drivers/mmc/host/sh_mobile_sdhi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index be5e25d..4cd0f09 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c @@ -333,7 +333,7 @@ static int sh_mobile_sdhi_remove(struct platform_device *pdev) static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(tmio_mmc_host_suspend, tmio_mmc_host_resume) - SET_RUNTIME_PM_OPS(tmio_mmc_host_runtime_suspend, + SET_PM_RUNTIME_PM_OPS(tmio_mmc_host_runtime_suspend, tmio_mmc_host_runtime_resume, NULL) };