From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Jean Delvare <khali@linux-fr.org>
Cc: Randy Dunlap <rdunlap@xenotime.net>,
linux-doc@vger.kernel.org, lm-sensors@lm-sensors.org,
linux-kernel@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH 1/2] hwmon: (adm1031) Replace update_rate sysfs attribute with update_interval
Date: Thu, 16 Sep 2010 13:54:41 -0300 [thread overview]
Message-ID: <20100916165441.GA11371@khazad-dum.debian.net> (raw)
In-Reply-To: <20100916180112.2ce29d2a@hyperion.delvare>
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
next prev parent reply other threads:[~2010-09-16 16:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-16 2:07 [PATCH 0/2] hwmon: " Guenter Roeck
2010-09-16 2:07 ` [PATCH 1/2] hwmon: (adm1031) " Guenter Roeck
2010-09-16 15:14 ` Jean Delvare
2010-09-16 15:37 ` Guenter Roeck
2010-09-16 16:42 ` Jean Delvare
2010-09-16 19:43 ` Guenter Roeck
2010-09-16 21:02 ` Jean Delvare
2010-09-16 21:39 ` Guenter Roeck
2010-09-16 15:42 ` [lm-sensors] " Henrique de Moraes Holschuh
2010-09-16 16:01 ` Jean Delvare
2010-09-16 16:54 ` Henrique de Moraes Holschuh [this message]
2010-09-16 15:14 ` Ira W. Snyder
2010-09-16 2:07 ` [PATCH 2/2] hwmon: (lm95241) Replace rate " Guenter Roeck
2010-09-16 15:19 ` Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100916165441.GA11371@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=khali@linux-fr.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
--cc=rdunlap@xenotime.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome