[lm-sensors] [PATCH 2/2] hwmon: w83781d: use new style driver binding

Wolfgang Grandegger wg at grandegger.com
Mon Oct 13 10:43:05 CEST 2008


Hi Jean,

Jean Delvare wrote:
> Hi Wolfgang,
> 
> On Tue, 07 Oct 2008 10:13:40 +0200, Wolfgang Grandegger wrote:
>> Jean Delvare wrote:
>>> Please let me know how you want to proceed from here. Do you want to
>>> rework this patch and post an update (one or more patches)? Or do you
>>> prefer that I make all the updates myself, and then you test and review
>>> the patch?
>> If you have time, please go ahead. You will do a better job anyhow. I
>> will not have time to catch up this and maybe the next week as well, sorry.
> 
> OK, I have reworked your patch and I have something which works fine on
> my test system now.
> 
>>> My current set of patches for the w83781d driver is here:
>>> http://jdelvare.pck.nerim.net/sensors/w83781d/
>>>
>>> Any patch update you send should apply on top of that. Also, the first
>>> 3 patches need to be tested, reviewed and acked before I can push them
>>> upstream. Can you please help me with this? Ideally I would like to get
>>> all the w83781d patches sorted out quickly so that they can spend some
>>> time in linux-next and then be sent to Linus during the 2.6.28 merge
>>> window.
>> OK, I will re-gain access to the embedded hardware end of this week.
> 
> I will send an updated patch set to the lm-sensors list now. This patch
> set is also available at:
>   http://jdelvare.pck.nerim.net/sensors/w83781d/
> Please test these patches as your time permits. If possible, it would
> be great if you could review them and give me your ack on them, before
> I push them upstream.

I just verified the patch series on my embedded PowerPC MPC8344E board
and it worked fine. Unfortunately I can not test the ISA interface due
to lack of hardware. Just some nitpicking. In the final w83781d.c I
realized redundant labels:

  static int
  w83781d_detect_subclients(struct i2c_client *new_client)
  {
  ...
  /* Undo inits in case of errors */
  ERROR_SC_3:
	  i2c_unregister_device(data->lm75[0]);
  ERROR_SC_2:
  ERROR_SC_1:
	  return err;

Thanks,

Wolfgang.




More information about the lm-sensors mailing list