login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
29
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Greg KH <greg@...>
To: Andrew Morton <akpm@...>
Cc: David Brownell <david-b@...>, lkml <linux-kernel@...>, Trent Piepho <tpiepho@...>, hartleys <hartleys@...>, Ben Nizette <bn@...>, Mike Frysinger <vapier.adi@...>, Bryan Wu <cooloney@...>
Subject:
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
Date: Monday, April 28, 2008 - 11:42 pm
On Mon, Apr 28, 2008 at 07:54:55PM -0700, Andrew Morton wrote:
quoted text
> On Mon, 28 Apr 2008 16:28:13 -0700 David Brownell <david-b@pacbell.net> wrote: > > > > If we had a strcmp() variant which treats a \n in the first arg as a __PLACEHOLDER__0_ > > > the above would become > > > > > > if (sysfs_streq(buf, "high")) > > > status = gpio_direction_output(gpio, 1); > > > else if (sysfs_streq(buf, "out") || sysfs_streq(buf, "low")) > > > status = gpio_direction_output(gpio, 0); > > > else if (sysfs_streq(buf, "in")) > > > status = gpio_direction_input(gpio); > > > > That would indeed be better. Maybe I should whip up a sysfs > > patch adding that, and have this depend on that patch. (I've > > CC'd Greg in case he has comments on that...) > > Yes, it would be a standalone patch. The sort which generates oceans of > useful feedback ;) The sort which also generates hundreds of > use-new-toy-to-clean-up-old-code patches for me to merge :(
Heh, sounds good to me :) Becides, with linux-next, that merge mess is my problem now, not -mm... thanks, greg k-h --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Mon Apr 28, 3:39 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Trent Piepho
, (Mon Apr 28, 7:09 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Ben Nizette
, (Mon Apr 28, 8:47 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Mon Apr 28, 8:45 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Trent Piepho
, (Tue Apr 29, 1:48 am)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Ben Nizette
, (Tue Apr 29, 8:35 am)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Tue Apr 29, 5:55 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Ben Nizette
, (Tue Apr 29, 7:29 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Tue Apr 29, 9:04 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Ben Nizette
, (Tue Apr 29, 10:08 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Wed Apr 30, 1:42 pm)
[patch/rfc 2.6.25-git v2] gpio: sysfs interface
, David Brownell
, (Wed Apr 30, 5:34 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, Ben Nizette
, (Wed Apr 30, 7:28 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, David Brownell
, (Thu May 1, 5:40 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, Trent Piepho
, (Wed Apr 30, 6:47 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, David Brownell
, (Wed Apr 30, 10:08 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, Trent Piepho
, (Wed Apr 30, 11:41 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, David Brownell
, (Thu May 1, 12:35 am)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, Trent Piepho
, (Thu May 1, 5:16 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, David Brownell
, (Fri May 2, 10:58 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, David Brownell
, (Fri May 2, 11:05 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, Ben Nizette
, (Wed Apr 30, 7:14 pm)
Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface
, David Brownell
, (Wed Apr 30, 10:12 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Trent Piepho
, (Tue Apr 29, 11:13 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Ben Nizette
, (Wed Apr 30, 6:33 am)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Trent Piepho
, (Tue Apr 29, 2:15 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Tue Apr 29, 5:56 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Trent Piepho
, (Tue Apr 29, 8:49 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Wed Apr 30, 1:49 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Ben Nizette
, (Mon Apr 28, 7:01 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Mon Apr 28, 8:44 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Ben Nizette
, (Mon Apr 28, 9:58 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Mon Apr 28, 11:44 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Trent Piepho
, (Tue Apr 29, 2:17 am)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Tue Apr 29, 6:39 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Ben Nizette
, (Tue Apr 29, 12:47 am)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Tue Apr 29, 5:28 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Andrew Morton
, (Mon Apr 28, 4:46 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Pavel Machek
, (Fri May 2, 4:36 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Sat May 17, 6:14 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Pavel Machek
, (Mon May 19, 6:39 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Mon May 19, 9:26 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Pavel Machek
, (Tue May 20, 4:02 am)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Ben Nizette
, (Sun May 18, 12:55 am)
[patch 2.6.26-rc2-git] gpio: sysfs interface
, David Brownell
, (Sat May 17, 8:36 pm)
Re: [patch 2.6.26-rc2-git] gpio: sysfs interface
, Andrew Morton
, (Tue May 20, 3:17 am)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Mon Apr 28, 7:28 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Andrew Morton
, (Mon Apr 28, 10:54 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Greg KH
, (Mon Apr 28, 11:42 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, David Brownell
, (Tue Apr 29, 2:45 pm)
Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
, Andrew Morton
, (Tue Apr 29, 3:09 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Jeff Chua
2.6.27rc1 cannot boot more than 8CPUs
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Winkler, Tomas
RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall"
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
openbsd-misc
:
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Andrew Dickinson
tx queue hashing hot-spots and poor performance (multiq, ixgbe)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Colocation donated by:
Who's online
There are currently
0 users
and
533 guests
online.
Syndicate