]> asedeno.scripts.mit.edu Git - linux.git/commit
pwm: imx: Remove if block where the condition is always wrong
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 7 Jan 2019 19:53:49 +0000 (20:53 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 10 Jan 2019 08:37:40 +0000 (09:37 +0100)
commit01482d2443db24aa5234f3ffa03b09f03c94f603
tree1322e45399d91c47963d4a6e6e2c61653275987a
parent5d0a4c11896e8b83f816f135c24b184d4ba57741
pwm: imx: Remove if block where the condition is always wrong

The ->remove() callback is only called when probe returned successfully.
In this case the driver data cannot be NULL.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-imx.c