From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Jean Delvare <khali@linux-fr.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>,
Jonathan Cameron <jic23@cam.ac.uk>,
linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org
Subject: Re: [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver
Date: Sat, 18 Jul 2009 10:59:17 +0100 [thread overview]
Message-ID: <20090718095917.GA10160@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20090718111712.78771b36@hyperion.delvare>
On Sat, Jul 18, 2009 at 11:17:12AM +0200, Jean Delvare wrote:
> > +WM8350_NAMED_VOLTAGE(0, USB);
> > +WM8350_NAMED_VOLTAGE(1, BATT);
> > +WM8350_NAMED_VOLTAGE(2, LINE);
> I would suggest passing the whole WM8350_AUXADC_USB, etc. string as the
> 2nd parameter. This makes grepping the source code for users (as LXR
> does for example) possible.
The reason it's formatted like that is that the AUXADC input names match
the names of the supplies that are being monitored so the second parameter
is also used to provide a label to userspace.
> > +static struct platform_driver wm8350_hwmon_driver = {
> > + .probe = wm8350_hwmon_probe,
> > + .remove = __devexit_p(wm8350_hwmon_remove),
> > + .driver = {
> > + .name = "wm8350-hwmon",
> I think you are supposed to set .owner to THIS_MODULE?
Hrm, yeah. I need to figure out where I cut'n'pasted this from since I
suspect the error came along with that.
> When you are done, what is your merge plan? I would be happy to take
> the patch in my unofficial hwmon tree and push it in 2.6.32, but due to
> wm8350-core dependencies, you may prefer it to be merged differently?
I'm happy to go with whatever is easiest for the people actually doing
the merging. wm8350 is fairly static at the minute - it's much more
likely that there would be merge issues from the build infrastructure.
It might be a little easier to merge via mfd.
I'll fix the rest of your comments, thanks.
next prev parent reply other threads:[~2009-07-18 9:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-17 20:33 [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver Mark Brown
2009-07-18 9:17 ` [lm-sensors] " Jean Delvare
2009-07-18 9:59 ` Mark Brown [this message]
2009-07-18 10:39 ` Jean Delvare
2009-07-18 10:47 ` Mark Brown
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=20090718095917.GA10160@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=jic23@cam.ac.uk \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=sameo@linux.intel.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