Re: [lm-sensors] [PATCH 1/2] hwmon: (adm1031) Replace update_ratesysfs attribute with update_interval

From: Henrique de Moraes Holschuh
Date: Thu Sep 16 2010 - 12:54:51 EST


On Thu, 16 Sep 2010, Jean Delvare wrote:
> > I'd rather have it in Hz, actually. I consider that more user-friendly.
> > But that's just personal preference.
>
> The problem with Hz is that we need to be able to handle values lower
> than 1, and mHz as a unit isn't exactly friendly. I would be very fine
> with Hz (especially as we use it for pwmN_freq already) if we didn't
> have to support frequencies below 1 Hz. For such low frequencies,
> period (or interval) is clearer than frequency IMHO.

We can always use fixed point math... ;-)

I am kidding, I am perfectly aware it is not worth the trouble.

And I agree with you, mHz would be horrible as far as usability goes. And
prone to be confused with MHz, too.

--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/