On Fri, 28 Jul 2023 10:11:05 +0200, Uwe Kleine-König wrote:
For all resources used by the driver there is a devm variant to allocate
these. This simplifies the error path in the probe callback and allows
to drop the remove callback.
While at it also use dev_err_probe() to compact returning an error.
With the remove callback gone, there is no user of driver data left, so
the call to platform_set_drvdata() can also be dropped.
[...]
Applied, thanks!
[1/1] pwm: atmel: Simplify using devm functions
commit: b22bb0d6a828b4eab579056647d2f362ac116cf2
Best regards,
--
Thierry Reding [off-list ref]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel