From patchwork Thu Oct 8 09:47:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhen Lei X-Patchwork-Id: 54651 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id 3C84622FF4 for ; Thu, 8 Oct 2015 09:50:01 +0000 (UTC) Received: by lbwr8 with SMTP id r8sf20959453lbw.0 for ; Thu, 08 Oct 2015 02:50:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:content-type:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=bJELAAIhqjYU1wduNmzBvS2gwMOBAkMz0Ov0Qs+pN9w=; b=IxN/wUdalyIs0VJkrK2gRLXn2JJwi1CStOcwHm//5k4uZ2l1mbOYEA/1Tl3O2U8aUE DHkcbMNvwM7HeNp++QDmstzTQ0uEQ3yuaRVxOSVbjI6q5pWU9nGCKyTYllI48hVdNNgO JOuKvbmFHAoF2834ZbSG9x68bShyL+1VYuSNb9zXeEJZL8xURkDlwjPwOOmfOJthLCKX 9xoLBtIAqOPQtM1ab1RdWCEaNAwDyjQTy/waVXat9oqVmPU+Bq/f1kDI+TUvZwdb2vqX krFryD3SxXEwWIpLSLYgMoEptK2AdkU3lJrjlYhfYLUF/R8uy76Z2wLnypQT9wXm6vP4 gpyA== X-Gm-Message-State: ALoCoQk78C97HH0cwBMjFeS9rLuEznqxIfMyGuXo1Kv5zwevcAu8iiWqckqkjl2eLGCaGS5d33x0 X-Received: by 10.112.202.165 with SMTP id kj5mr1184964lbc.5.1444297800152; Thu, 08 Oct 2015 02:50:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.150.207 with SMTP id y198ls184925lfd.107.gmail; Thu, 08 Oct 2015 02:50:00 -0700 (PDT) X-Received: by 10.112.156.167 with SMTP id wf7mr3128019lbb.88.1444297799989; Thu, 08 Oct 2015 02:49:59 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id d11si29015781lfe.173.2015.10.08.02.49.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 02:49:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbbwt4 with SMTP id wt4so40723132lbb.1 for ; Thu, 08 Oct 2015 02:49:59 -0700 (PDT) X-Received: by 10.25.82.10 with SMTP id g10mr2107885lfb.56.1444297799865; Thu, 08 Oct 2015 02:49:59 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp476117lbq; Thu, 8 Oct 2015 02:49:58 -0700 (PDT) X-Received: by 10.66.155.231 with SMTP id vz7mr7000433pab.58.1444297798701; Thu, 08 Oct 2015 02:49:58 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i16si60932978pbq.81.2015.10.08.02.49.58; Thu, 08 Oct 2015 02:49:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755841AbbJHJtz (ORCPT + 30 others); Thu, 8 Oct 2015 05:49:55 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:57742 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755643AbbJHJtw (ORCPT ); Thu, 8 Oct 2015 05:49:52 -0400 Received: from 172.24.1.50 (EHLO szxeml425-hub.china.huawei.com) ([172.24.1.50]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CTW30059; Thu, 08 Oct 2015 17:49:45 +0800 (CST) Received: from localhost (10.177.23.164) by szxeml425-hub.china.huawei.com (10.82.67.180) with Microsoft SMTP Server id 14.3.235.1; Thu, 8 Oct 2015 17:49:34 +0800 From: Zhen Lei To: Arnd Bergmann , Alessandro Zummo , Alexandre Belloni , rtc-linux , linux-kernel CC: Zefan Li , Xinwei Hu , "Tianhong Ding" , Hanjun Guo , Zhen Lei Subject: [PATCH 1/1] rtc: fix type information of rtc-proc Date: Thu, 8 Oct 2015 17:47:32 +0800 Message-ID: <1444297652-10328-1-git-send-email-thunder.leizhen@huawei.com> X-Mailer: git-send-email 1.9.5.msysgit.1 MIME-Version: 1.0 X-Originating-IP: [10.177.23.164] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: thunder.leizhen@huawei.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Display the whole word of "alarm", make it look more comfortable. Signed-off-by: Zhen Lei --- drivers/rtc/rtc-proc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/drivers/rtc/rtc-proc.c b/drivers/rtc/rtc-proc.c index ffa69e1..ef83f34 100644 --- a/drivers/rtc/rtc-proc.c +++ b/drivers/rtc/rtc-proc.c @@ -58,7 +58,7 @@ static int rtc_proc_show(struct seq_file *seq, void *offset) err = rtc_read_alarm(rtc, &alrm); if (err == 0) { - seq_printf(seq, "alrm_time\t: "); + seq_printf(seq, "alarm_time\t: "); if ((unsigned int)alrm.time.tm_hour <= 24) seq_printf(seq, "%02d:", alrm.time.tm_hour); else @@ -72,7 +72,7 @@ static int rtc_proc_show(struct seq_file *seq, void *offset) else seq_printf(seq, "**\n"); - seq_printf(seq, "alrm_date\t: "); + seq_printf(seq, "alarm_date\t: "); if ((unsigned int)alrm.time.tm_year <= 200) seq_printf(seq, "%04d-", alrm.time.tm_year + 1900); else @@ -87,7 +87,7 @@ static int rtc_proc_show(struct seq_file *seq, void *offset) seq_printf(seq, "**\n"); seq_printf(seq, "alarm_IRQ\t: %s\n", alrm.enabled ? "yes" : "no"); - seq_printf(seq, "alrm_pending\t: %s\n", + seq_printf(seq, "alarm_pending\t: %s\n", alrm.pending ? "yes" : "no"); seq_printf(seq, "update IRQ enabled\t: %s\n", (rtc->uie_rtctimer.enabled) ? "yes" : "no");