From patchwork Fri Nov 8 06:06:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 21415 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0CFB3244F2 for ; Fri, 8 Nov 2013 06:06:26 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id bj1sf611790pad.7 for ; Thu, 07 Nov 2013 22:06:26 -0800 (PST) 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=miZj75r+KSUzxKMkNPrmfLTrikCjFT3Cb+hPJvvzVb4=; b=EkHe5M5//5OK7XS+922SdA3wT6IvG4C9BtzxnoZgkVTBvPbCPuz3vxzTBZvy+Sv3DY XihSa7J0Jx/p+553pgbBrrFNs9y5GmtKuQL+88+IdRo4qE5QlJt92lc6JMXhkcxAae19 Vm66qD17O9RHVRJcR2O53M3evMJftQiVw7IlI7HP4zFu39jGr7DHGML6ST2gEZB9gNhA 9L4WRnkIXWNdnvc5HDNrKbxZuciZVWNozpxAuuL+PkJNCBi4gJYXiistTAtO5UCLp0O+ kuVXb8QaAdLdZPQEwb6VFG3AQpA99/iKoPan47bAoBsbB/BVR1todohi56QQXmyvbYBA Yo2g== X-Gm-Message-State: ALoCoQlZYMNqvSVoGZcWO81wSSOljrMjmJHFJRFLzEpYOn9HSzLB0nJ6VGoIykC8bzn5HP8DiaPm X-Received: by 10.66.6.70 with SMTP id y6mr4322600pay.22.1383890786132; Thu, 07 Nov 2013 22:06:26 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.35.194 with SMTP id k2ls1464003qej.45.gmail; Thu, 07 Nov 2013 22:06:26 -0800 (PST) X-Received: by 10.52.35.136 with SMTP id h8mr8380249vdj.6.1383890785984; Thu, 07 Nov 2013 22:06:25 -0800 (PST) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id vh9si3252501vcb.100.2013.11.07.22.06.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Nov 2013 22:06:25 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.177 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.177; Received: by mail-vc0-f177.google.com with SMTP id ib11so1069181vcb.8 for ; Thu, 07 Nov 2013 22:06:25 -0800 (PST) X-Received: by 10.52.157.232 with SMTP id wp8mr8637693vdb.4.1383890785760; Thu, 07 Nov 2013 22:06:25 -0800 (PST) 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 u4csp6956vcz; Thu, 7 Nov 2013 22:06:25 -0800 (PST) X-Received: by 10.152.26.72 with SMTP id j8mr9492043lag.19.1383890784513; Thu, 07 Nov 2013 22:06:24 -0800 (PST) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) by mx.google.com with ESMTPS id tk10si3086765lbb.165.2013.11.07.22.06.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Nov 2013 22:06:24 -0800 (PST) Received-SPF: neutral (google.com: 209.85.215.53 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.215.53; Received: by mail-la0-f53.google.com with SMTP id eh20so1385801lab.12 for ; Thu, 07 Nov 2013 22:06:23 -0800 (PST) X-Received: by 10.152.143.6 with SMTP id sa6mr9499142lab.20.1383890783889; Thu, 07 Nov 2013 22:06:23 -0800 (PST) Received: from linaro-ulf.lan (90-231-160-185-no158.tbcn.telia.com. [90.231.160.185]) by mx.google.com with ESMTPSA id f4sm6860209lah.0.2013.11.07.22.06.22 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Nov 2013 22:06:23 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Chris Ball Cc: Ulf Hansson Subject: [PATCH 1/8] mmc: sh_mobile_sdhi: Use modern PM macros to define pm callbacks Date: Fri, 8 Nov 2013 07:06:09 +0100 Message-Id: <1383890776-6912-2-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1383890776-6912-1-git-send-email-ulf.hansson@linaro.org> References: <1383890776-6912-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.177 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: , Signed-off-by: Ulf Hansson Acked-by: Guennadi Liakhovetski --- drivers/mmc/host/sh_mobile_sdhi.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 87ed3fb..2227a9f 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c @@ -297,10 +297,10 @@ static int sh_mobile_sdhi_remove(struct platform_device *pdev) } static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { - .suspend = tmio_mmc_host_suspend, - .resume = tmio_mmc_host_resume, - .runtime_suspend = tmio_mmc_host_runtime_suspend, - .runtime_resume = tmio_mmc_host_runtime_resume, + SET_SYSTEM_SLEEP_PM_OPS(tmio_mmc_host_suspend, tmio_mmc_host_resume) + SET_RUNTIME_PM_OPS(tmio_mmc_host_runtime_suspend, + tmio_mmc_host_runtime_resume, + NULL) }; static struct platform_driver sh_mobile_sdhi_driver = {