All of lore.kernel.org
 help / color / mirror / Atom feed
From: r.marek@sh.cvut.cz (Rudolf Marek)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH 1/2] hwmon: new vt1211 driver
Date: Fri, 24 Mar 2006 20:57:07 +0000	[thread overview]
Message-ID: <44245D23.9080304@sh.cvut.cz> (raw)
In-Reply-To: <191fb4ca0602251324o560dcd61oc55dc703f452a570@mail.gmail.com>

Hi again,

I'm attaching commented version in file.

Sometimes there are places with spaces and not tabs (especially in #define ) plus some operators like + dont have spaces around too.
I'm proposing that some of funcs can be done via macro or 2D array. This might help to shrink the source code a bit.
I'm not user about the runtime UCONFIG configuration. Perhaps cleanest solution would be to create/remove sysfs nodes
runtime instead of exporting them with zero.
Also I think several printks can be replaced with dev_err stuff.
Last thing to discuss is about the forced interrupt mode. I'm not sure if it is OK because it may affect the chip
pins.
I'm not too familiar with the platform stuff yet so I'm asking Jean to look into this.

Overall the code looks very good. I tried to read all the stuff carefuly but it is quite difficult not to miss anything.
(and even I spent like 3 hours just with reading and I'm not even sure :( )

Regards
Rudolf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwmon-vt1211-new-driver.patch
Type: text/x-patch
Size: 41217 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060324/46c3f4b5/hwmon-vt1211-new-driver-0001.bin

  parent reply	other threads:[~2006-03-24 20:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-25 21:24 [lm-sensors] [PATCH 1/2] hwmon: new vt1211 driver Juerg Haefliger
2006-03-05 18:40 ` Juerg Haefliger
2006-03-05 19:42 ` Rudolf Marek
2006-03-24 20:57 ` Rudolf Marek [this message]
2006-03-26 21:03 ` Juerg Haefliger
2006-03-30 21:26 ` Rudolf Marek
2006-03-31 16:49 ` Juerg Haefliger
2006-03-31 21:10 ` Jim Cromie
2006-04-05  8:42 ` Rudolf Marek

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=44245D23.9080304@sh.cvut.cz \
    --to=r.marek@sh.cvut.cz \
    --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.