From: "Henrik Rydberg" <rydberg@euromail.se>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH 1/3] hwmon: Convert applesmc driver to pnp
Date: Thu, 11 Aug 2011 19:29:49 +0000 [thread overview]
Message-ID: <20110811192949.GA5885@polaris.bitmath.org> (raw)
In-Reply-To: <1312906483-3046-1-git-send-email-mjg@redhat.com>
Hi Matthew,
> The applesmc driver is current a platform device with DMI matching. All
> machines with the appropriate hardware actually expose it via an acpipnp
> device, so it makes sense to use that rather than hardcoding model names
> and addresses.
Sounds good, but has the approach been tested on a representative set
of machines?
> Signed-off-by: Matthew Garrett <mjg@redhat.com>
> ---
> drivers/hwmon/applesmc.c | 660 +++++++++++++++++++++++++--------------------
> 1 files changed, 367 insertions(+), 293 deletions(-)
The patch seems to do too many things - switching from static
variables to a dev struct, adding dev parameters to all functions,
changing to dynamic initialization, changing from platform to pnp
device. Two patches with no functional changes to start with, then
another two to turn on pnp seems reasonable.
Thanks,
Henrik
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2011-08-11 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-09 16:14 [lm-sensors] [PATCH 1/3] hwmon: Convert applesmc driver to pnp Matthew Garrett
2011-08-11 19:29 ` Henrik Rydberg [this message]
2011-08-11 19:33 ` Matthew Garrett
2011-08-11 20:19 ` Matthew Garrett
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=20110811192949.GA5885@polaris.bitmath.org \
--to=rydberg@euromail.se \
--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.