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