public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Kim B. Heino" <Kim.Heino@bluegiga.com>
To: rtc-linux@googlegroups.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [rtc-linux] Re: [PATCH] add support for ST M41T94 SPI RTC
Date: Wed, 14 May 2008 17:23:35 +0300	[thread overview]
Message-ID: <482AF5E7.9070801@bluegiga.com> (raw)
In-Reply-To: <20080514150820.7eb523c6@i1501.lan.towertech.it>

Hi Alessandro,

>  can you check that you really require
>  all of those #includes ?

You're right, I don't. Fixed.

>> +struct m41t94 {
>> +	struct rtc_device *rtc;
>> +	u8 buf[8]; /* Burst read cmd + 7 registers */
>> +};
>  why are you keeping the buffer here?

rtc-max6902.c did that too... Fixed.

>  the choice is up to you, but I'd use the century bit if there
>  is one.

Ok, I'll add support for century bit. Again there are some other 
rtc-drivers (like rtc-m41t80.c and rtc-ds1307.c) not using it.

>  no spaces between MODULE_XXX and the ( please.

Fixed.

I'll wait for more comments and post a new patch tomorrow.

  reply	other threads:[~2008-05-14 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 12:19 [PATCH] add support for ST M41T94 SPI RTC Kim B. Heino
2008-05-14 13:08 ` [rtc-linux] " Alessandro Zummo
2008-05-14 14:23   ` Kim B. Heino [this message]
2008-05-14 16:37     ` [rtc-linux] " Maciej W. Rozycki
2008-05-14 18:53     ` Alessandro Zummo

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=482AF5E7.9070801@bluegiga.com \
    --to=kim.heino@bluegiga.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rtc-linux@googlegroups.com \
    /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