Re: [PATCH 2/2] gpio: sysfs: fix memory leak in gpiod_sysfs_set_active_low

2015-01-30 Thread Linus Walleij
On Mon, Jan 26, 2015 at 12:02 PM, Johan Hovold wrote: > Fix memory leak in the gpio sysfs interface due to failure to drop > reference to device returned by class_find_device when setting the > gpio-line polarity. > > Fixes: 0769746183ca ("gpiolib: add support for changing value polarity > in sys

[PATCH 2/2] gpio: sysfs: fix memory leak in gpiod_sysfs_set_active_low

2015-01-26 Thread Johan Hovold
Fix memory leak in the gpio sysfs interface due to failure to drop reference to device returned by class_find_device when setting the gpio-line polarity. Fixes: 0769746183ca ("gpiolib: add support for changing value polarity in sysfs") Cc: stable # v2.6.33 Signed-off-by: Johan Hovold --- dr