From patchwork Tue Nov 5 12:10:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 21331 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 13D0125E12 for ; Tue, 5 Nov 2013 12:10:13 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp18sf27221231obc.1 for ; Tue, 05 Nov 2013 04:10:12 -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=FT9A9pALwEcvWnNRu5PbHpmxArYCNde1f7pav5eDRgQ=; b=X91i8in43YLJyiYMxMTFBpXFFre7jeT/5gQnEAKfxI9n+v/B6V3gp3gzgu9cdFqqnS UdxglasYMPumenbVr2Y9FqdlEkesv/mFp9t7QMhpfcJmI8Tp8GUyLdK9TVMaeVgrrKhp 7+3JAsjB0UaoY6/pxpRGQnBrZFWGs07V/o/UmIw+Z+J1M3ha9THRVJwFp5xjU01L4OpX npHysblWdqZTAW1SQwEycDDqExWDKlbqTj1mWezB/Peq7wP1midm2NxISpsJoCvbbVmP SLZSsKQzusSgbJrHB2U6Q86uWdfxCfRc+/OGhlL+TEAHUJaZO8sLH/62keokweIvn8Oc EdhA== X-Gm-Message-State: ALoCoQn2n/VrKDBfC+HLB/tyZTTdDTLn1fKe73x/kopWl/dSRHUwi+hHOJ/wSbsaS4YVGVFdPp7M X-Received: by 10.182.186.73 with SMTP id fi9mr8441obc.48.1383653412692; Tue, 05 Nov 2013 04:10:12 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.18.199 with SMTP id y7ls180257qed.30.gmail; Tue, 05 Nov 2013 04:10:12 -0800 (PST) X-Received: by 10.58.11.73 with SMTP id o9mr15354998veb.8.1383653412560; Tue, 05 Nov 2013 04:10:12 -0800 (PST) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id j1si6391977vci.101.2013.11.05.04.10.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Nov 2013 04:10:12 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.179 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.179; Received: by mail-vc0-f179.google.com with SMTP id hz11so5605834vcb.10 for ; Tue, 05 Nov 2013 04:10:12 -0800 (PST) X-Received: by 10.58.133.77 with SMTP id pa13mr5650258veb.21.1383653412448; Tue, 05 Nov 2013 04:10:12 -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 u4csp202048vcz; Tue, 5 Nov 2013 04:10:11 -0800 (PST) X-Received: by 10.194.232.133 with SMTP id to5mr6599410wjc.41.1383653411312; Tue, 05 Nov 2013 04:10:11 -0800 (PST) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by mx.google.com with ESMTPS id hc3si2222896wib.87.2013.11.05.04.10.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Nov 2013 04:10:11 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.53 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=74.125.82.53; Received: by mail-wg0-f53.google.com with SMTP id y10so3431386wgg.32 for ; Tue, 05 Nov 2013 04:10:10 -0800 (PST) X-Received: by 10.180.14.226 with SMTP id s2mr16463655wic.41.1383653410847; Tue, 05 Nov 2013 04:10:10 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id e1sm13925599wij.6.2013.11.05.04.10.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Nov 2013 04:10:10 -0800 (PST) From: Ulf Hansson To: linux-mmc@vger.kernel.org, Chris Ball , Guennadi Liakhovetski , Ian Molton Cc: Ulf Hansson Subject: [PATCH 1/3] mmc: sh_mobile_sdhi: Use modern PM macros to define pm callbacks Date: Tue, 5 Nov 2013 13:10:01 +0100 Message-Id: <1383653403-10049-2-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1383653403-10049-1-git-send-email-ulf.hansson@linaro.org> References: <1383653403-10049-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.179 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 --- 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 = {