[lm-sensors] [PATCH v4] hwmon: (lm90) Add support for update_interval sysfs attribute
Jean Delvare
khali at linux-fr.org
Thu Oct 7 18:24:42 CEST 2010
Hi Guenter,
On Thu, 7 Oct 2010 08:06:51 -0700, Guenter Roeck wrote:
> Signed-off-by: Guenter Roeck <guenter.roeck at ericsson.com>
> ---
> v4 changes:
> - Use higher shift value in update interval calculation to further reduce
> rounding errors.
> - Use DIV_ROUND_CLOSEST instead of manual rounding.
>
> v3 changes:
> - Removed unnecessary constant.
> - Improved update interval calculation to avoid rounding error.
>
> drivers/hwmon/lm90.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++---
> 1 files changed, 92 insertions(+), 5 deletions(-)
>
Applied, thanks.
--
Jean Delvare
More information about the lm-sensors
mailing list