Re: [PATCH 06/23] gpio: sysfs: clean up chip class-device handling

2015-04-27 Thread Johan Hovold
On Mon, Apr 27, 2015 at 12:54:41PM +0900, Alexandre Courbot wrote: > On Wed, Apr 22, 2015 at 12:42 AM, Johan Hovold wrote: > > Clean gpio-chip class device registration and deregistration. > > > > The class device is registered when a gpio-chip is added (or from > > gpiolib_sysfs_init post-core

Re: [PATCH 06/23] gpio: sysfs: clean up chip class-device handling

2015-04-27 Thread Johan Hovold
On Mon, Apr 27, 2015 at 12:54:41PM +0900, Alexandre Courbot wrote: On Wed, Apr 22, 2015 at 12:42 AM, Johan Hovold jo...@kernel.org wrote: Clean gpio-chip class device registration and deregistration. The class device is registered when a gpio-chip is added (or from gpiolib_sysfs_init

Re: [PATCH 06/23] gpio: sysfs: clean up chip class-device handling

2015-04-26 Thread Alexandre Courbot
On Wed, Apr 22, 2015 at 12:42 AM, Johan Hovold wrote: > Clean gpio-chip class device registration and deregistration. > > The class device is registered when a gpio-chip is added (or from > gpiolib_sysfs_init post-core init call), and deregistered when the chip > is removed. > > Store the class

Re: [PATCH 06/23] gpio: sysfs: clean up chip class-device handling

2015-04-26 Thread Alexandre Courbot
On Wed, Apr 22, 2015 at 12:42 AM, Johan Hovold jo...@kernel.org wrote: Clean gpio-chip class device registration and deregistration. The class device is registered when a gpio-chip is added (or from gpiolib_sysfs_init post-core init call), and deregistered when the chip is removed. Store

[PATCH 06/23] gpio: sysfs: clean up chip class-device handling

2015-04-21 Thread Johan Hovold
Clean gpio-chip class device registration and deregistration. The class device is registered when a gpio-chip is added (or from gpiolib_sysfs_init post-core init call), and deregistered when the chip is removed. Store the class device in struct gpio_chip directly rather than do a class-device

[PATCH 06/23] gpio: sysfs: clean up chip class-device handling

2015-04-21 Thread Johan Hovold
Clean gpio-chip class device registration and deregistration. The class device is registered when a gpio-chip is added (or from gpiolib_sysfs_init post-core init call), and deregistered when the chip is removed. Store the class device in struct gpio_chip directly rather than do a class-device