Re: [PATCH v2 12/23] gpio: sysfs: add gpiod class-device data

2015-05-12 Thread Linus Walleij
On Mon, May 4, 2015 at 5:10 PM, Johan Hovold wrote: > Add gpiod class-device data. > > This is a first step in getting rid of the insane gpio-descriptor flag > overloading, backward irq-interface implementation, and course grained > sysfs-interface locking (a single static mutex for every operati

[PATCH v2 12/23] gpio: sysfs: add gpiod class-device data

2015-05-04 Thread Johan Hovold
Add gpiod class-device data. This is a first step in getting rid of the insane gpio-descriptor flag overloading, backward irq-interface implementation, and course grained sysfs-interface locking (a single static mutex for every operation on all exported gpios in a system). Signed-off-by: Johan Ho