Message ID | 01bf01ce23bb$827252f0$8756f8d0$%han@samsung.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDTJ5LFEQQCBBQV6TOFAKGQEDAQXZQY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qc0-x23b.google.com (mail-qc0-x23b.google.com [IPv6:2607:f8b0:400d:c01::23b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 2DA1C2C00C6 for <incoming@patchwork.ozlabs.org>; Mon, 18 Mar 2013 20:32:53 +1100 (EST) Received: by mail-qc0-f187.google.com with SMTP id a6sf2278722qch.4 for <incoming@patchwork.ozlabs.org>; Mon, 18 Mar 2013 02:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:x-beenthere:x-received:received-spf:x-auditid:from:to:cc :references:in-reply-to:subject:date:message-id:mime-version :x-mailer:thread-index:x-brightmail-tracker:x-brightmail-tracker :dlp-filter:x-mtr:x-cfilter-loop:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type:content-language; bh=HOkEX+QlBFeWqrvmf+ZWQ723xn4/4fTFvN1ARQODGrg=; b=fM2sx6uqpKyvzQgWMPSIYVVysGytVtPFjQkO74haWAWvUE3VhnoQb3EYnhjGdUl/cu KchnyHoYVJMo1OID7enTQjqIKrI1EKQrvgvUf2Wpxo4b8gF4ozW+Lw5yaE9/UBpTGqNr 1pKunjr5d2kI2OIXwwz+cWshw532eH0bYBPfa8Yu7NE+YUA3RLhoAEW82vTYlmcmqjIr 9WF3czaWsbrdWWVzdUhC+8FdLRze5HjZaWznkte+UMgV0/XxM6k5V/+Ftm78KGHm/cSH 3FyAgdNFZ6m9TxOUJxFKv5Zfo6R/R/tbPtld47ClvpHsFhuOBBjIREjjWm1oLNBVDAG2 YZhA== X-Received: by 10.50.151.205 with SMTP id us13mr1067572igb.2.1363599170707; Mon, 18 Mar 2013 02:32:50 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.42.226 with SMTP id r2ls973636igl.2.gmail; Mon, 18 Mar 2013 02:32:50 -0700 (PDT) X-Received: by 10.66.12.161 with SMTP id z1mr596788pab.11.1363599170337; Mon, 18 Mar 2013 02:32:50 -0700 (PDT) Received: from mailout4.samsung.com (mailout4.samsung.com. [203.254.224.34]) by gmr-mx.google.com with ESMTP id ef8si1337663pac.0.2013.03.18.02.32.50; Mon, 18 Mar 2013 02:32:50 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning jg1.han@samsung.com does not designate 203.254.224.34 as permitted sender) client-ip=203.254.224.34; Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MJU00FERNU4U3W0@mailout4.samsung.com> for rtc-linux@googlegroups.com; Mon, 18 Mar 2013 18:32:49 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 28.E4.05174.D2FD6415; Mon, 18 Mar 2013 18:32:29 +0900 (KST) X-AuditID: cbfee68f-b7f4a6d000001436-ee-5146df2d112d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 45.BD.13494.D2FD6415; Mon, 18 Mar 2013 18:32:29 +0900 (KST) Received: from DOJG1HAN02 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MJU00II6NU5GW70@mmp1.samsung.com> for rtc-linux@googlegroups.com; Mon, 18 Mar 2013 18:32:29 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Andrew Morton' <akpm@linux-foundation.org> Cc: linux-kernel@vger.kernel.org, 'Alessandro Zummo' <a.zummo@towertech.it>, rtc-linux@googlegroups.com, 'Jingoo Han' <jg1.han@samsung.com> References: <01b701ce23bb$1b79b2a0$526d17e0$%han@samsung.com> In-reply-to: <01b701ce23bb$1b79b2a0$526d17e0$%han@samsung.com> Subject: [rtc-linux] [PATCH 09/10] rtc: rtc-tps65910: switch to using SIMPLE_DEV_PM_OPS Date: Mon, 18 Mar 2013 18:32:29 +0900 Message-id: <01bf01ce23bb$827252f0$8756f8d0$%han@samsung.com> MIME-version: 1.0 X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac4juxtMJTZWEDnPSfOGR4wzonE6SAAAFzvA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrAIsWRmVeSWpSXmKPExsVy+t8zfV3d+26BBs/eqlns7+xgdGD02DPx JFsAYxSXTUpqTmZZapG+XQJXxtpDL5gKzrBVnFi1lqmB8RRrFyMnh4SAicStvfuZIWwxiQv3 1rN1MXJxCAksY5SY9eUzI0zR1jenoRKLGCX+7O1hhnBmMklMmjsVbBSbgJrEly+H2bsYOThE BPQl2lo0QGqYBXoZJc707mYHqRESsJWYd20x2FROATuJrf2TwHqFBbwlLu+YxQRiswioSpye uhysnheofu+PG1C2oMSPyfdYQGxmAS2J9TuPM0HY8hKb17xlBtkrIaAu8eivLsQJRhKn19dA VIhI7HvxjhHkHAmBZewS05+9YYNYJSDxbfIhFohWWYlNB6ABISlxcMUNlgnAIECyeBaSxbOQ LJ6FZMUCRpZVjKKpBckFxUnpRcZ6xYm5xaV56XrJ+bmbGCGx1b+D8e4B60OMyUDrJzJLiSbn A2MzryTe0NjMyMLUxNTYyNzSjDRhJXFetRbrQCGB9MSS1OzU1ILUovii0pzU4kOMTBycUg2M fiJqJ5Zk8+/VCb71obpm8qUfe+0Tf4f8SJzhM882f/L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Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Original-Sender: jg1.han@samsung.com X-Original-Authentication-Results: gmr-mx.google.com; spf=softfail (google.com: domain of transitioning jg1.han@samsung.com does not designate 203.254.224.34 as permitted sender) smtp.mail=jg1.han@samsung.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post?hl=en_US>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux?hl=en_US> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-type: text/plain; charset=ISO-8859-1 Content-language: ko |
diff --git a/drivers/rtc/rtc-tps65910.c b/drivers/rtc/rtc-tps65910.c index ef5d199..26b8bd2 100644 --- a/drivers/rtc/rtc-tps65910.c +++ b/drivers/rtc/rtc-tps65910.c @@ -320,9 +320,8 @@ static int tps65910_rtc_resume(struct device *dev) } #endif -static const struct dev_pm_ops tps65910_rtc_pm_ops = { - SET_SYSTEM_SLEEP_PM_OPS(tps65910_rtc_suspend, tps65910_rtc_resume) -}; +static SIMPLE_DEV_PM_OPS(tps65910_rtc_pm_ops, tps65910_rtc_suspend, + tps65910_rtc_resume); static struct platform_driver tps65910_rtc_driver = { .probe = tps65910_rtc_probe,
Switch to using SIMPLE_DEV_PM_OPS macro to declare the driver's pm_ops. It reduces code size. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/rtc/rtc-tps65910.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)