From patchwork Mon Feb 7 21:16:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Roberto Jimenez X-Patchwork-Id: 82155 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-gx0-f184.google.com (mail-gx0-f184.google.com [209.85.161.184]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 401DEB6EED for ; Tue, 8 Feb 2011 08:22:25 +1100 (EST) Received: by gxk6 with SMTP id 6sf3140240gxk.11 for ; Mon, 07 Feb 2011 13:22:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:mime-version:x-beenthere:received-spf:from:to :cc:subject:date:message-id:x-mailer:in-reply-to:references :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :sender:list-subscribe:list-unsubscribe:content-type; bh=C3T1hmlDl9vztf+4z2weXvem/ijI40aP+WqKMJn61wg=; b=YOXAs6eapB5bpchJOZy54zYUjVFNaeg/7MGpjqAFQIJafT1zpJErBAo+ECE7FnfqW+ KXJEwSGjNpPwdb1bpkklY0xM+h/LBNO57xgAorxX3/v7muUfh7LuRCO+ppu2OewCHFl/ DcAqFhnrrUV+wFo+g4shHm64/zArJZxnV/npg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; b=mqErMd24J73YOiPsDUABzocFcY3hEaclIAG4UosuiFEoo8OatigrjOgEBTrOpkI82j xjHsmfzi5hQMCbcuWmoiHm6RdoxWKYw+h1mhLEiIFh9ykP8PIYSJTKwyJAxSIHvzaXLv ZNCi6GsMqvFtzXDLNihT4NJVe2Z9BFZRaRoJc= Received: by 10.150.189.19 with SMTP id m19mr1318179ybf.29.1297113739970; Mon, 07 Feb 2011 13:22:19 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.150.48.35 with SMTP id v35ls94635ybv.2.p; Mon, 07 Feb 2011 13:22:19 -0800 (PST) Received: by 10.151.144.16 with SMTP id w16mr4090700ybn.30.1297113645501; Mon, 07 Feb 2011 13:20:45 -0800 (PST) Received: by 10.151.144.16 with SMTP id w16mr4089465ybn.30.1297113429729; Mon, 07 Feb 2011 13:17:09 -0800 (PST) Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.161.179]) by gmr-mx.google.com with ESMTPS id q24si325945ybk.1.2011.02.07.13.17.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Feb 2011 13:17:09 -0800 (PST) Received-SPF: neutral (google.com: 209.85.161.179 is neither permitted nor denied by best guess record for domain of mroberto@cpti.cetuc.puc-rio.br) client-ip=209.85.161.179; Received: by gxk21 with SMTP id 21so2057314gxk.38 for ; Mon, 07 Feb 2011 13:17:09 -0800 (PST) Received: by 10.150.197.11 with SMTP id u11mr9983233ybf.246.1297113429289; Mon, 07 Feb 2011 13:17:09 -0800 (PST) Received: from localhost.localdomain ([139.82.178.36]) by mx.google.com with ESMTPS id m49sm3208519yha.2.2011.02.07.13.17.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Feb 2011 13:17:08 -0800 (PST) From: Marcelo Roberto Jimenez To: linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com, linux@arm.linux.org.uk Cc: john.stultz@linaro.org, tglx@linutronix.de, a.zummo@towertech.it, Marcelo Roberto Jimenez Subject: [rtc-linux] [PATCH 2/4] RTC: Remove UIE and PIE information from the sa1100 driver proc. Date: Mon, 7 Feb 2011 19:16:06 -0200 Message-Id: <1297113368-27174-3-git-send-email-mroberto@cpti.cetuc.puc-rio.br> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1297113368-27174-1-git-send-email-mroberto@cpti.cetuc.puc-rio.br> References: <1297113368-27174-1-git-send-email-mroberto@cpti.cetuc.puc-rio.br> X-Original-Sender: mroberto@cpti.cetuc.puc-rio.br X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.161.179 is neither permitted nor denied by best guess record for domain of mroberto@cpti.cetuc.puc-rio.br) smtp.mail=mroberto@cpti.cetuc.puc-rio.br Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , This patch removes the UIE and PIE information that is now being supplied directly in the generic RTC code. Signed-off-by: Marcelo Roberto Jimenez --- drivers/rtc/rtc-sa1100.c | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-sa1100.c b/drivers/rtc/rtc-sa1100.c index df1804f..6c8c74a 100644 --- a/drivers/rtc/rtc-sa1100.c +++ b/drivers/rtc/rtc-sa1100.c @@ -358,15 +358,8 @@ static int sa1100_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) static int sa1100_rtc_proc(struct device *dev, struct seq_file *seq) { - struct rtc_device *rtc = (struct rtc_device *)dev; - - seq_printf(seq, "trim/divider\t: 0x%08x\n", (u32) RTTR); - seq_printf(seq, "update_IRQ\t: %s\n", - (RTSR & RTSR_HZE) ? "yes" : "no"); - seq_printf(seq, "periodic_IRQ\t: %s\n", - (OIER & OIER_E1) ? "yes" : "no"); - seq_printf(seq, "periodic_freq\t: %d\n", rtc->irq_freq); - seq_printf(seq, "RTSR\t\t: 0x%08x\n", (u32)RTSR); + seq_printf(seq, "trim/divider\t\t: 0x%08x\n", (u32) RTTR); + seq_printf(seq, "RTSR\t\t\t: 0x%08x\n", (u32)RTSR); return 0; }