pwm: imx27: Simplify using devm_pwmchip_add()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 7 Jul 2021 16:28:04 +0000 (18:28 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 2 Sep 2021 19:38:42 +0000 (21:38 +0200)
commitacfdc2030a773a7ca9c94bdeb32e943159fc1f9a
tree7d3e6d5a3d318784c1da9534709d474c26400506
parent5ba3eb4bb3b5d3742805b799b965a4bc9e0ab7a6
pwm: imx27: Simplify using devm_pwmchip_add()

This allows to drop the platform_driver's remove function. This is the
only user of driver data so this can go away, too.

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