Files
linux/drivers/pwm
Johan Hovold 4fd108fa1a pwm: Fix device reference leak
commit 0e1614ac84 upstream.

Make sure to drop the reference to the parent device taken by
class_find_device() after "unexporting" any children when deregistering
a PWM chip.

Fixes: 0733424c9b ("pwm: Unexport children before chip removal")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-12-08 07:15:24 +01:00
..
2014-11-17 12:20:13 +01:00
2015-07-20 09:46:06 +02:00
2015-11-10 13:06:47 +01:00
2016-12-08 07:15:24 +01:00