Skip to content
Commit 34121efb authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Paul Gortmaker
Browse files

pwm: omap-dmtimer: put_device() after of_find_device_by_node()

commit c7cb3a1d

 upstream.

This was found by coccicheck:

	drivers/pwm/pwm-omap-dmtimer.c:304:2-8: ERROR: missing put_device;
	call of_find_device_by_node on line 255, but without a corresponding
	object release within this function.

Reported-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Fixes: 6604c655

 ("pwm: Add PWM driver for OMAP using dual-mode timers")
Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent e2710c05
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment