Re: [PATCH 1/2] hwmon: (coretemp) Drop duplicate function get_pkg_tjmax

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

 



> -----Original Message-----
> From: Jean Delvare [mailto:khali@xxxxxxxxxxxx]
> Sent: Friday, September 16, 2011 12:22 PM
> To: LM Sensors
> Cc: Yu, Fenghua; Guenter Roeck; R, Durgadoss
> Subject: [PATCH 1/2] hwmon: (coretemp) Drop duplicate function
> get_pkg_tjmax
> 
> Function get_pkg_tjmax is a simplified copy of get_tjmax. Drop it and
> always use get_tjmax, result is the same and this avoids code
> duplication.
> 
> Also make get_tjmax less verbose: don't warn about MSR read failure
> when failure was expected, and don't report TjMax in the logs unless
> debugging is enabled.
> 
> Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
> Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> Cc: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>
> Cc: Durgadoss R <durgadoss.r@xxxxxxxxx>

Acked-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>


_______________________________________________
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