[PATCH 5.4 381/658] mailbox: zynq-ipi: fix error handling while device_register() fails