Uwe Kleine-König c11622324c pwm: atmel-tcb: Fix resource freeing in error path and remove
Several resources were not freed in the error path and the remove
function. Add the forgotten items.

Fixes: 34cbcd72588f ("pwm: atmel-tcb: Add sama5d2 support")
Fixes: 061f8572a31c ("pwm: atmel-tcb: Switch to new binding")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2023-07-28 09:34:43 +02:00
..
2023-02-20 12:26:35 +01:00
2022-12-21 09:41:28 -08:00