[PATCH 0/2] gpio: sysfs: backports of memleak fixes to 3.12

Johan Hovold
2015-01-26T18:05:29Z

Hi Greg,

Here are backports of two fixes for memory leaks in the gpio sysfs
interface that are needed in the stable trees.

Tested on 3.12, but will not compile on 3.10 or earlier which lacks
device_create_with_groups. I'll send a second version for these kernels.

Johan

Johan Hovold (2):
gpio: sysfs: fix gpio-chip device-attribute leak
gpio: sysfs: fix gpio device-attribute leak

drivers/gpio/gpiolib.c | 46 +++++++++++++++++++++-------------------------
1 file changed, 21 insertions(+), 25 deletions(-)

--
2.0.5