summaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorJohan Hovold2015-01-13 13:00:04 +0100
committerLinus Walleij2015-01-15 17:19:45 +0100
commit121b6a79955a3a3fd7bbb9b8cb88d5b9dad6283d (patch)
tree4d2ede45420b2d5f9e2af0279c75c11dbad28112 /REPORTING-BUGS
parentgpio: unregister gpiochip device before removing it (diff)
downloadkernel-qcow2-linux-121b6a79955a3a3fd7bbb9b8cb88d5b9dad6283d.tar.gz
kernel-qcow2-linux-121b6a79955a3a3fd7bbb9b8cb88d5b9dad6283d.tar.xz
kernel-qcow2-linux-121b6a79955a3a3fd7bbb9b8cb88d5b9dad6283d.zip
gpio: sysfs: fix gpio-chip device-attribute leak
The gpio-chip device attributes were never destroyed when the device was removed. Fix by using device_create_with_groups() to create the device attributes of the chip class device. Note that this also fixes the attribute-creation race with userspace. Fixes: d8f388d8dc8d ("gpio: sysfs interface") Cc: stable <stable@vger.kernel.org> # v2.6.27+ Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions