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