[PATCH 5.15 609/731] mailbox: zynq-ipi: fix error handling while device_register() fails