Re: [PATCH] pwm: fix device reference leak

From: Thierry Reding
Date: Tue Nov 29 2016 - 10:47:16 EST


On Tue, Nov 01, 2016 at 11:46:39AM +0100, Johan Hovold wrote:
> 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: 0733424c9ba9 ("pwm: Unexport children before chip removal")
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> ---
> drivers/pwm/sysfs.c | 2 ++
> 1 file changed, 2 insertions(+)

Applied, thanks.

Thierry

Attachment: signature.asc
Description: PGP signature