The purpose of the devm_add_action_or_reset() helper is to call the
action function in case adding an action ever fails so drop the clock
disable from the error path to avoid disabling the clocks twice.
Fixes: 5d4d263e1c ("mailbox: Introduce support for T-head TH1520 Mailbox driver")
Cc: Michal Wilczynski <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Michal Wilczynski <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>