All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH 1/1] i2c: m41txx driver for ST i2c RTC chips
Date: Thu, 23 Mar 2006 20:08:56 +0000	[thread overview]
Message-ID: <20060323210856.f1bfd02b.khali@linux-fr.org> (raw)
In-Reply-To: <20060217011359.GA16247@mag.az.mvista.com>

Hi Mark,

> > > So I'd suggest that you do not rename the driver, it it's not too late.
> > 
> > Okay, that makes sense.  I'll change the name back to m41t00 and submit that
> > patch in the next day or so.
> 
> It looks like in the 2.6.16-rc6-mm1 tree I should really be putting the
> m41t00 driver into drivers/rtc but I need to check if it will work okay
> for ppc.  In the meantime, here is a patch that keeps it in
> drivers/i2c/chips.  I hope it is easier to review and is acceptable.

Yes that's the right way to do it, I think.

> Replace the old m41t00-specific driver with a more generic driver for
> the ST family of i2c RTC chips.  Currently, the m41t00, m41t81, and
> m41t85 chips are supported but only the m41t00 and m41t85 have been
> tested.

I still have a problem with your patch (sorry). It's really doing to
many things at once. Namely, it adds support for new chips, converts
from tasklet to workqueue, cleans up a few things (e.g. BIN2BCD instead
of BIN_TO_BCD, which is a good move), and also includes some whitespace
changes (some of which is NOT OK, please don't attempt to align equal
signs with spaces in regular code!)

I would also object to the configuration symbol change. I think it'll
be less confusing if you change it when moving the driver to the RTC
subsystem.

So I'd like you to split this large patch in shorter chunks. The most
important and urgent one is obviously the tasklet/workqueue
replacement, as it fixes a bug in -mm (and possibly mainline too). Then
maybe one patch with all the good cleanups, and a third one adding
support for the new chips?

I know it means more work for you and I'm sorry about that, but it's
also the only way for me to give proper review to all the changes.

Thanks,
-- 
Jean Delvare


  parent reply	other threads:[~2006-03-23 20:08 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17  1:13 [lm-sensors] [PATCH 1/1] i2c: m41txx driver for ST i2c RTC chips Mark A. Greer
2006-02-26 11:47 ` Rudolf Marek
2006-02-27 17:09 ` Mark A. Greer
2006-03-05 20:34 ` Rudolf Marek
2006-03-06 11:45 ` Jean Delvare
2006-03-07 17:01 ` Mark A. Greer
2006-03-18  0:12 ` Mark A. Greer
2006-03-23 20:08 ` Jean Delvare [this message]
2006-03-23 20:38 ` Mark A. Greer
2006-03-24  1:18   ` [lm-sensors] [PATCH 2.6.16-mm1 1/3] rtc: m41t00 driver should use Mark A. Greer
2006-03-24  1:18     ` [PATCH 2.6.16-mm1 1/3] rtc: m41t00 driver should use workqueue instead of tasklet Mark A. Greer
2006-03-27 17:03     ` [lm-sensors] [PATCH 2.6.16-mm1 1/3] rtc: m41t00 driver should Jean Delvare
2006-03-27 17:03       ` [PATCH 2.6.16-mm1 1/3] rtc: m41t00 driver should use workqueue instead of tasklet Jean Delvare
2006-03-28  0:22       ` [lm-sensors] [PATCH 2.6.16-mm1 1/3] rtc: m41t00 driver should Mark A. Greer
2006-03-28  0:22         ` [PATCH 2.6.16-mm1 1/3] rtc: m41t00 driver should use workqueue instead of tasklet Mark A. Greer
2006-03-24  1:21   ` [lm-sensors] [PATCH 2.6.16-mm1 2/3] rtc: m41t00 driver cleanup Mark A. Greer
2006-03-24  1:21     ` Mark A. Greer
2006-03-27 17:11     ` [lm-sensors] " Jean Delvare
2006-03-27 17:11       ` Jean Delvare
2006-03-27 22:35       ` [lm-sensors] " Mark A. Greer
2006-03-27 22:35         ` Mark A. Greer
2006-03-28  0:23       ` [lm-sensors] " Mark A. Greer
2006-03-28  0:23         ` Mark A. Greer
2006-03-24  1:24   ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & Mark A. Greer
2006-03-24  1:24     ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Mark A. Greer
2006-03-26 22:58     ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Andrew Morton
2006-03-26 22:58       ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Andrew Morton
2006-03-27 22:34       ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Mark A. Greer
2006-03-27 22:34         ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Mark A. Greer
2006-03-28  0:26       ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Mark A. Greer
2006-03-28  0:26         ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Mark A. Greer
2006-03-28  0:51         ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Andrew Morton
2006-03-28  0:51           ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Andrew Morton
2006-03-28 12:21           ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Jean Delvare
2006-03-28 12:21             ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Jean Delvare
2006-03-28 17:15             ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Mark A. Greer
2006-03-28 17:15               ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Mark A. Greer
2006-03-28 15:54         ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Jean Delvare
2006-03-28 15:54           ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Jean Delvare
2006-03-28 18:11           ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Mark A. Greer
2006-03-28 18:11             ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Mark A. Greer
2006-03-28 18:30             ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Jean Delvare
2006-03-28 18:30               ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Jean Delvare
2006-03-28 23:12               ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Mark A. Greer
2006-03-28 23:12                 ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Mark A. Greer
2006-04-01 17:20                 ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Jean Delvare
2006-04-01 17:20                   ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Jean Delvare
2006-04-03 18:01                   ` [lm-sensors] [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 Mark A. Greer
2006-04-03 18:01                     ` [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver Mark A. Greer
2006-03-23 20:52 ` [lm-sensors] [PATCH 1/1] i2c: m41txx driver for ST i2c RTC chips Jean Delvare
2006-03-24  1:14 ` Mark A. Greer

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=20060323210856.f1bfd02b.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.