From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Re: RFC PATCH patch-13-mm1-hwmon-adm9240-whitespace-1
Date: Sun, 04 Sep 2005 13:29:13 +0000 [thread overview]
Message-ID: <20050904132909.1d64ff84.khali@linux-fr.org> (raw)
In-Reply-To: <uvhkh19nggg4s7rv03ab6tetdu06jlmk42@4ax.com>
Hi Grant,
> > > Patches are planned to make chassis_clear write data > > > <dont_care>,
> >
> > With what benefit?
>
> linux-kernel will be one source line smaller :-p
I don't think so, unless you would accept the idea that writing 0 to
that file would clear the chassis intrusion info too. That would be
rather confusing, don't you think?
> Not sure, don't have to do that. The recent sysfs breakage made
> me wonder if we should use the write to chassis_clear, ignoring
> the data.
I don't know what sysfs breakage you are talking about, but I don't see
how this would be related to accepting other values than 1 to be written
to a given file. Please don't mix up unrelated problems.
> > Are you referring to Yani Ioannou's dynamic sysfs callbacks? That
> > would be very welcome, thanks for looking into that.
>
> Yes, it finally seems to have settled some?
Yes it has. There are 6 drivers converted already (lm63, lm83, lm90,
it87, adm1026 and w83792d) and one more in the works (pc87360.)
Considering the size shrink and code readability improvement that was
obtained each time, converting more drivers is very welcome.
> Okay, here's take two.
> (...)
> This patch breaks long lines, removed a trailing space and is code
> neutral. Further patches are planned which will apply after this
> cleanup. Run tested.
Looks fine to me, I've applied it. Greg, please push this patch on your
own i2c stack.
--
Jean Delvare
next prev parent reply other threads:[~2005-09-04 13:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-04 3:24 [lm-sensors] RFC PATCH patch-13-mm1-hwmon-adm9240-whitespace-1 Grant Coady
2005-09-04 9:55 ` [lm-sensors] " Jean Delvare
2005-09-04 11:27 ` Grant Coady
2005-09-04 13:29 ` Jean Delvare [this message]
2005-09-05 1:37 ` Grant Coady
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=20050904132909.1d64ff84.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.