[PATCH 5.15 415/511] pwm: atmel-tcb: Fix resource freeing in error path and remove