[PATCH 5.10 478/783] mailbox: zynq-ipi: fix error handling while device_register() fails