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