Re: hwmon: (ucd9000/ucd9200) Optimize array walk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2011-08-31 at 11:53 -0400, Jean Delvare wrote:
> Rewrite the loop walking the id array during probe. The new code is
> better adapted to a null-terminated array, and is also clearer and
> more efficient than the original.
> 
> Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
> Cc: Axel Lin <axel.lin@xxxxxxxxx>
> Cc: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>
> ---
> Inspired by a previous patch from Axel.
> 
Looks good. I'll (hopefully) test it tonight to be sure, but I don't see
any problems with it, so consider it applied. 

I'll make the same changes in the zl6100 driver.

Thanks,
Guenter



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


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux