Re: [PATCH 3/3] hwmon: (w83627ehf) Better fix for negative temperature values

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

 



On Thu, 2011-10-20 at 03:13 -0400, Jean Delvare wrote:
> It is more efficient to left-align 8-bit temperature values, so that
> 8-bit and 9-bit temperature values can be handled exactly the same way
> in the rest of the code.
> 
> Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
> Cc: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>
> ---
> Here's the bloat-o-meter report:
> add/remove: 2/0 grow/shrink: 0/5 up/down: 138/-380 (-242)
> function                                     old     new   delta
> w83627ehf_write_temp                           -      78     +78
> w83627ehf_read_temp                            -      60     +60
> show_temp_max_hyst                           119      77     -42
> show_temp_max                                119      77     -42
> show_temp                                    119      77     -42
> store_temp_max_hyst                          355     228    -127
> store_temp_max                               355     228    -127
> 
> Guenter, what do you think?

I like it. Applied to -next.

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