From patchwork Wed Nov 30 04:26:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jett.Zhou" X-Patchwork-Id: 128398 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pz0-f56.google.com (mail-pz0-f56.google.com [209.85.210.56]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 0C9601007D3 for ; Wed, 30 Nov 2011 15:27:10 +1100 (EST) Received: by mail-pz0-f56.google.com with SMTP id 6sf27320pzk.11 for ; Tue, 29 Nov 2011 20:27:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:subject:date :message-id:x-mailer:in-reply-to:references:x-originalarrivaltime :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; bh=ZhTkWV5FJwJdn1/+dRkt4oM1f/xW2f86QuxSVFbWd1I=; b=7F2jLQzwMzD2kY1gew+NtKA+JOvpF65m8+WUUl84Zzx3IOFlX+/cj3BCIe7ErA9K5C NysdXU7zjl9q6YZxsUjRGfviuu8whWJPD+nLmLR9Fw6peIeY70miYxGnJH1bGQk8KnW3 OGC0j87PaoBlux6CE+clruaXBahuc+9cMRdaw= Received: by 10.68.29.129 with SMTP id k1mr183878pbh.1.1322627229885; Tue, 29 Nov 2011 20:27:09 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.68.26.8 with SMTP id h8ls6217797pbg.1.gmail; Tue, 29 Nov 2011 20:27:09 -0800 (PST) Received: by 10.68.35.68 with SMTP id f4mr2159921pbj.5.1322627229564; Tue, 29 Nov 2011 20:27:09 -0800 (PST) Received: by 10.68.35.68 with SMTP id f4mr2159916pbj.5.1322627229557; Tue, 29 Nov 2011 20:27:09 -0800 (PST) Received: from na3sys009aog121.obsmtp.com ([74.125.149.145]) by gmr-mx.google.com with SMTP id x5si1573323pbb.1.2011.11.29.20.26.53; Tue, 29 Nov 2011 20:27:09 -0800 (PST) Received-SPF: error (google.com: error in processing during lookup of jtzhou@marvell.com: DNS timeout) client-ip=74.125.149.145; Received: from MSI-MTA.marvell.com ([65.219.4.132]) by na3sys009aob121.postini.com ([74.125.148.12]) with SMTP ID DSNKTtWwjcuFWsrzuobH1F0xjsIOEN0euLfB@postini.com; Tue, 29 Nov 2011 20:27:09 PST Received: from maili.marvell.com ([10.68.76.210]) by MSI-MTA.marvell.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 29 Nov 2011 20:26:49 -0800 Received: from localhost (unknown [10.38.34.140]) by maili.marvell.com (Postfix) with ESMTP id 2C7F74E4BB; Tue, 29 Nov 2011 20:26:49 -0800 (PST) From: "Jett.Zhou" To: obert.jarzmik@free.fr, a.zummo@towertech.it, haojian.zhuang@gmail.com, linux-arm-kernel@lists.infradead.org, jtzhou@marvell.com, rtc-linux@googlegroups.com, plagnioj@jcrosoft.come Subject: [rtc-linux] [V3 1/6] RTC: sa1100: Clean out ost register Date: Wed, 30 Nov 2011 12:26:21 +0800 Message-Id: <1322627186-32345-2-git-send-email-jtzhou@marvell.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1322627186-32345-1-git-send-email-jtzhou@marvell.com> References: <1322627186-32345-1-git-send-email-jtzhou@marvell.com> X-OriginalArrivalTime: 30 Nov 2011 04:26:49.0432 (UTC) FILETIME=[4720F580:01CCAF18] X-Original-Sender: jtzhou@marvell.com X-Original-Authentication-Results: gmr-mx.google.com; spf=temperror (google.com: error in processing during lookup of jtzhou@marvell.com: DNS timeout) smtp.mail=jtzhou@marvell.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , These registers are used in old ioctl of UIE and PIE, now they are emulated by rtc generic code of hrtimer, so it can be removed. Signed-off-by: Jett.Zhou Acked-by: Haojian Zhuang --- drivers/rtc/rtc-sa1100.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index 0b40bb8..6f22c1f 100644 --- a/drivers/rtc/rtc-sa1100.c +++ b/drivers/rtc/rtc-sa1100.c @@ -36,7 +36,6 @@ #ifdef CONFIG_ARCH_PXA #include -#include #endif #define RTC_DEF_DIVIDER (32768 - 1) @@ -188,8 +187,6 @@ static void sa1100_rtc_release(struct device *dev) { spin_lock_irq(&sa1100_rtc_lock); RTSR = 0; - OIER &= ~OIER_E1; - OSSR = OSSR_M1; spin_unlock_irq(&sa1100_rtc_lock); free_irq(IRQ_RTCAlrm, dev);