Files
linux/drivers
Johan Hovold 4cd925d7c1 gpio: sysfs: fix memory leak in gpiod_sysfs_set_active_low
commit 49d2ca84e4 upstream.

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: 0769746183 ("gpiolib: add support for changing value polarity in sysfs")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-02-11 14:48:16 +08:00
..
2013-12-08 07:29:25 -08:00
2014-03-06 21:30:14 -08:00
2014-04-14 06:42:18 -07:00
2015-01-29 17:40:55 -08:00
2015-01-27 07:52:32 -08:00