pwm: omap-dmtimer: Potential NULL dereference on error
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 21 Dec 2015 13:13:04 +0000 (16:13 +0300)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 4 Jan 2016 07:58:33 +0000 (08:58 +0100)
commit074726402b82f14ca377da0b4a4767674c3d1ff8
treeb2103335d0df257b371fe9465f56eb8aed3f205f
parent36d5be4bc9059f8123e818c8b63a4049cf1d0e0f
pwm: omap-dmtimer: Potential NULL dereference on error

"omap" is NULL so we can't dereference it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-omap-dmtimer.c