[PATCH RFC 2/6 v3] gpio: Add sysfs support to block GPIO API

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Oct 15 14:19:28 EDT 2012


On Mon, Oct 15, 2012 at 08:07:02PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 21:11 Fri 12 Oct     , Roland Stigge wrote:
> > This patch adds sysfs support to the block GPIO API.
> > 
> > Signed-off-by: Roland Stigge <stigge at antcom.de>
> > 
> > ---
> >  Documentation/ABI/testing/sysfs-gpio |    6 
> >  drivers/gpio/gpiolib.c               |  226 ++++++++++++++++++++++++++++++++++-
> >  include/asm-generic/gpio.h           |   11 +
> >  include/linux/gpio.h                 |   13 ++
> >  4 files changed, 254 insertions(+), 2 deletions(-)
> I really don't like this sysfs we need to add a specific device with ioctl

Why?

> I put Greg in Cc

Again, why?

greg k-h



More information about the linux-arm-kernel mailing list