From: Alessandro Zummo <a.zummo@towertech.it>
To: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>
Cc: rtc-linux@googlegroups.com, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linaro-dev@lists.linaro.org,
patches@linaro.org, Anish Trivedi <anish@freescale.com>,
Eric Miao <eric.miao@linaro.org>,
Anson Huang <b20788@freescale.com>,
Shawn Guo <shawn.guo@linaro.org>,
Sascha Hauer <s.hauer@pengutronix.de>
Subject: Re: [PATCH v2] rtc: add support for Freescale SNVS RTC
Date: Sun, 15 Apr 2012 16:34:56 +0200 [thread overview]
Message-ID: <20120415163456.67cbac58@linux.lan.towertech.it> (raw)
In-Reply-To: <1334387237-23519-1-git-send-email-paul.liu@linaro.org>
On Sat, 14 Apr 2012 15:07:17 +0800
"Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org> wrote:
> atic int snvs_rtc_proc(struct device *dev, struct seq_file *seq)
> +{
> + struct rtc_drv_data *pdata = dev_get_drvdata(dev);
> + void __iomem *ioaddr = pdata->ioaddr;
> +
> + seq_printf(seq, "alarm_IRQ\t: %s\n",
> + (((readl(ioaddr + SNVS_LPCR)) & SNVS_LPCR_LPTA_EN) !=
> + 0) ? "yes" : "no");
> +
> + return 0;
> +}
> +
Please consider removing this unless truly necessary.
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
next prev parent reply other threads:[~2012-04-15 14:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-14 7:07 [PATCH v2] rtc: add support for Freescale SNVS RTC Ying-Chun Liu (PaulLiu)
2012-04-14 12:35 ` Sascha Hauer
2012-04-15 14:34 ` Alessandro Zummo [this message]
2012-04-16 23:08 ` Kim Phillips
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120415163456.67cbac58@linux.lan.towertech.it \
--to=a.zummo@towertech.it \
--cc=anish@freescale.com \
--cc=b20788@freescale.com \
--cc=eric.miao@linaro.org \
--cc=linaro-dev@lists.linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patches@linaro.org \
--cc=paul.liu@linaro.org \
--cc=rtc-linux@googlegroups.com \
--cc=s.hauer@pengutronix.de \
--cc=shawn.guo@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox