Message ID | 1408969564-6335-9-git-send-email-ulf.hansson@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDF57NG2XIHRB76W5SPQKGQET5LDDOQ@linaro.org> 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 <linaro@patches.linaro.org>; Mon, 25 Aug 2014 12:26:39 +0000 (UTC) Received: by mail-yk0-f200.google.com with SMTP id 9sf44629037ykp.11 for <linaro@patches.linaro.org>; 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 <patchwork-forward@linaro.org> (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 <patchwork-forward@linaro.org>; 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 <patches@linaro.org> (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 <patches@linaro.org>; 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 <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Aug 2014 05:26:37 -0700 (PDT) From: Ulf Hansson <ulf.hansson@linaro.org> To: linux-mmc@vger.kernel.org, Ian Molton <ian.molton@codethink.co.uk>, Chris Ball <chris@printf.net> Cc: Geert Uytterhoeven <geert@linux-m68k.org>, Linux-sh list <linux-sh@vger.kernel.org>, linux-kernel@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org> 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
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) };
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 <ulf.hansson@linaro.org> --- drivers/mmc/host/sh_mobile_sdhi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)