From patchwork Thu Jan 15 23:46:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dann frazier X-Patchwork-Id: 18884 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from yx-out-2122.google.com (yx-out-2122.google.com [74.125.44.24]) by ozlabs.org (Postfix) with ESMTP id 9D3BEDE373 for ; Fri, 16 Jan 2009 10:47:14 +1100 (EST) Received: by yx-out-2122.google.com with SMTP id 35so388732yxh.11 for ; Thu, 15 Jan 2009 15:47:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received-spf:authentication-results:received :received:received:x-virus-scanned:received:received:received:from :to:cc:subject:date:message-id:x-mailer:in-reply-to:references :in-reply-to:references:reply-to:sender:precedence:x-google-loop :mailing-list:list-id:list-post:list-help:list-unsubscribe :x-beenthere-env:x-beenthere; bh=w7WsCcojH1pLpy8VWkpFoXcDUsi9R7LKPZexoUMeuWA=; b=CoS25msJz6M2VSVQY7K++nzVLYWAEjXaIq8AjRz7SpnSsq9cF1cRBnBEHA+bsJKhhM EgHnFAtz5lcPXTGGAdZeRzSJ+wuvUxyVr1hfgYj6abPgh412drjHxx6zSX4crSSNWL2P iNiFpKdMWjqKDpdWPURpzjg6lgq9TtidjeMdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results :x-virus-scanned:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:reply-to:sender:precedence:x-google-loop :mailing-list:list-id:list-post:list-help:list-unsubscribe :x-beenthere-env:x-beenthere; b=gC928ZG0VB8D76BKy2w9/Erfh/kngn8EcqmiNvZ84z4m4oiJyf0B8kaDxkkFM0dfjW KtqPeFr0HUpBLsOfXLP+79EVWsHOg0YV8aTCNMwqSblKvIG6m1xYPsvQW2hTwPr1Kr6n scLppjYbvfRJ/5EMr52pjTD0rSsCLaEwjQSTc= Received: by 10.100.33.4 with SMTP id g4mr247846ang.22.1232063231142; Thu, 15 Jan 2009 15:47:11 -0800 (PST) Received: by 10.176.150.34 with SMTP id x34gr1815yqd.0; Thu, 15 Jan 2009 15:47:11 -0800 (PST) X-Sender: dannf@ldl.fc.hp.com X-Apparently-To: rtc-linux@googlegroups.com Received: by 10.90.69.7 with SMTP id r7mr1258616aga.25.1232063230826; Thu, 15 Jan 2009 15:47:10 -0800 (PST) Received: from g1t0026.austin.hp.com (g1t0026.austin.hp.com [15.216.28.33]) by mx.google.com with ESMTP id 22si190940yxr.13.2009.01.15.15.47.10; Thu, 15 Jan 2009 15:47:10 -0800 (PST) Received-SPF: pass (google.com: domain of dannf@ldl.fc.hp.com designates 15.216.28.33 as permitted sender) client-ip=15.216.28.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dannf@ldl.fc.hp.com designates 15.216.28.33 as permitted sender) smtp.mail=dannf@ldl.fc.hp.com Received: from g5t0030.atlanta.hp.com (g5t0030.atlanta.hp.com [16.228.8.142]) by g1t0026.austin.hp.com (Postfix) with ESMTP id 5171FC3AA; Thu, 15 Jan 2009 23:47:10 +0000 (UTC) Received: from ldl.fc.hp.com (ldl.fc.hp.com [15.11.146.30]) by g5t0030.atlanta.hp.com (Postfix) with ESMTP id 0C42624054; Thu, 15 Jan 2009 23:47:10 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl.fc.hp.com (Postfix) with ESMTP id A404239C07E; Thu, 15 Jan 2009 16:47:09 -0700 (MST) X-Virus-Scanned: Debian amavisd-new at ldl.fc.hp.com Received: from ldl.fc.hp.com ([127.0.0.1]) by localhost (ldl.fc.hp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ui+5LK6aNwxI; Thu, 15 Jan 2009 16:47:08 -0700 (MST) Received: from krebs (krebs.dannf [10.8.0.7]) by ldl.fc.hp.com (Postfix) with ESMTP id 4C3F639C080; Thu, 15 Jan 2009 16:46:59 -0700 (MST) Received: by krebs (Postfix, from userid 20800) id 224783B6924; Thu, 15 Jan 2009 16:46:58 -0700 (MST) From: dann frazier To: linux-parisc@vger.kernel.org, rtc-linux@googlegroups.com Cc: lkml@vger.kernel.org, kyle@mcmartin.ca, dann frazier Subject: [rtc-linux] [PATCH 9/9] rename p pointer to rtc Date: Thu, 15 Jan 2009 16:46:56 -0700 Message-Id: X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <628cabc357f25364e5c77e13c60b4c89b6f674a7.1231983599.git.dannf@hp.com> References: <5bda6a81bf9fa4a3b60253bca73ef629a6ccc629.1231983599.git.dannf@hp.com> <0c29db565874aae3a60172ad42635fb8f60e8369.1231983599.git.dannf@hp.com> <0c2b8df6ecd123038e8458eeb9924b7959a707fa.1231983599.git.dannf@hp.com> <9b29163437fb37dc4996b17bcdb41192dbc79e9a.1231983599.git.dannf@hp.com> <8c4b31bbd7552995774e6b94db365d1f4b04f226.1231983599.git.dannf@hp.com> <55691aea931c081791b3daa370e1eb961748cf78.1231983599.git.dannf@hp.com> <628cabc357f25364e5c77e13c60b4c89b6f674a7.1231983599.git.dannf@hp.com> In-Reply-To: References: Reply-To: rtc-linux@googlegroups.com Sender: rtc-linux@googlegroups.com Precedence: bulk X-Google-Loop: groups Mailing-List: list rtc-linux@googlegroups.com; contact rtc-linux+owner@googlegroups.com List-Id: List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rtc-linux@googlegroups.com X-BeenThere: rtc-linux@googlegroups.com Signed-off-by: dann frazier --- drivers/rtc/rtc-parisc.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/rtc/rtc-parisc.c b/drivers/rtc/rtc-parisc.c index c29e918..b966f56 100644 --- a/drivers/rtc/rtc-parisc.c +++ b/drivers/rtc/rtc-parisc.c @@ -38,23 +38,23 @@ static const struct rtc_class_ops parisc_rtc_ops = { static int __init parisc_rtc_probe(struct platform_device *dev) { - struct rtc_device *p; + struct rtc_device *rtc; - p = rtc_device_register("rtc-parisc", &dev->dev, &parisc_rtc_ops, - THIS_MODULE); - if (IS_ERR(p)) - return PTR_ERR(p); + rtc = rtc_device_register("rtc-parisc", &dev->dev, &parisc_rtc_ops, + THIS_MODULE); + if (IS_ERR(rtc)) + return PTR_ERR(rtc); - platform_set_drvdata(dev, p); + platform_set_drvdata(dev, rtc); return 0; } static int __exit parisc_rtc_remove(struct platform_device *dev) { - struct rtc_device *p = platform_get_drvdata(dev); + struct rtc_device *rtc = platform_get_drvdata(dev); - rtc_device_unregister(p); + rtc_device_unregister(rtc); return 0; }