All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring
Date: Thu, 16 Jul 2009 14:12:05 +0000	[thread overview]
Message-ID: <4A5F3535.8000904@cam.ac.uk> (raw)
In-Reply-To: <1247671762-19506-1-git-send-email-broonie@opensource.wolfsonmicro.com>

Mark Brown wrote:
> On Thu, Jul 16, 2009 at 11:18:02AM +0000, Jonathan Cameron wrote:
>>> --- /dev/null
>>> +++ b/drivers/hwmon/wm8350-hwmon.c
>>> @@ -0,0 +1,154 @@
>> ...
>>> +#include <linux/delay.h>
>>> +#include <linux/platform_device.h>
> 
>> Why input-polldev? or for that matter delay.h, mutex.h, dmi.h
>> Can't immediately see any use of things from them, but I
>> haven't build tested without to check.
> 
> TBH I templated the headers off another driver and never rechecked them
> - obviously I've got far too much stuff in there.
> 
>>> +	val = wm8350_read_auxadc(wm8350, channel, 0, 0)
>>> +		* WM8350_AUX_COEFF / 1000;
> 
>> I'd normally be a bit dubious about the lack of error handling here,
>> but having taken a look in at the wm8350-core it doesn't look like any
>> errors that occur can get through anyway (now whether they would
>> ideally be passed up to here is a different question!)
> 
> Yeah, and if it were being changed it'd probably be easier to merge the
> driver and then do cross-subsystem patches fixing up the readback
> function and its users in one fell swoop.  Realistically if the AUXADC
> starts failing inaccurate supply voltage readings are probably the least
> of your worries, though.
Indeed. Not exactly high priority work.  Certainly something to do at a
later date if anyone is feeling tidy ;)
> 
>> The rest looks fine to me.  Get rid of (or justify) the headers
>> and you have my ack.
> 
> I'll prune the headers next time I submit.
Great,

Jonathan
 


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2009-07-16 14:12 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-15 15:29 [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring Mark Brown
2009-07-15 20:09 ` Jean Delvare
2009-07-15 20:32 ` Jean Delvare
2009-07-15 21:30 ` Mark Brown
2009-07-16 11:18 ` Jonathan Cameron
2009-07-16 11:47 ` Mark Brown
2009-07-16 14:12 ` Jonathan Cameron [this message]
2009-07-17 20:33 ` Mark Brown
2009-07-17 20:33   ` [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver Mark Brown
2009-07-18  9:17   ` [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring Jean Delvare
2009-07-18  9:17     ` [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver Jean Delvare
2009-07-18  9:59     ` [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring Mark Brown
2009-07-18  9:59       ` [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver Mark Brown
2009-07-18 10:39       ` [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring Jean Delvare
2009-07-18 10:39         ` [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver Jean Delvare
2009-07-18 10:47         ` [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring Mark Brown
2009-07-18 10:47           ` [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver Mark Brown
2009-07-20 11:43 ` [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring Mark Brown
2009-07-20 11:43   ` [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver Mark Brown
2009-07-20 13:19   ` [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring Jean Delvare
2009-07-20 13:19     ` [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver Jean Delvare
2009-08-03 16:40   ` [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring Samuel Ortiz
2009-08-03 16:40     ` [PATCH] hwmon: Add WM835x PMIC hardware monitoring driver Samuel Ortiz
  -- strict thread matches above, loose matches on Subject: below --
2009-07-15 20:27 [lm-sensors] [PATCH] hwmon: Add WM835x PMIC hardware monitoring Mark Brown
2009-07-15 20:37 ` 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=4A5F3535.8000904@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --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.