[PATCH 6.0 0877/1073] mailbox: zynq-ipi: fix error handling while device_register() fails