pwm: lpc32xx: Simplify using devm_pwmchip_add()
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 7 Jul 2021 16:28:10 +0000 (18:28 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 2 Sep 2021 19:38:44 +0000 (21:38 +0200)
commitda68a9f4b03cb090bf725595815782a5c6b38937
tree750090e0aa1d4482973d3e10c7498c535858d5d9
parent071beb7c5ee37e778f8a85c95e271d93f0e6ffef
pwm: lpc32xx: 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-lpc32xx.c