Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
From: David Brownell
Date: Fri May 02 2008 - 23:29:45 EST
On Thursday 01 May 2008, Trent Piepho wrote:
> I've proposed many times that gpios that have been
> requested by anything be exported READ-ONLY automatically.
Hmm, maybe that was buried in the volume of other stuff you
posted ... this is the first time I recall your mentioning
read-only exports. Or limiting exports like that. Certainly
no code I've seen from you worked like that.
What I recall was your original approach of exporting absolutely
everything -- hundreds of (potential) GPIOs, even pins that
were configured for other purposes.
I don't have any particular objection to exporting things
readonly. Maybe you noticed the comment in my patches that
suggesting such an export mode might be useful. But I'd
rather not export things that don't need exporting, and
bias things towards low per-gpio costs.
It's easy to add features later, if they turn out to be needed.
But removing interfaces is very hard ... which is another reason
I'm not very receptive to all those bells'n'whistles you propose.
--
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/