[PATCH 6.1 0926/1146] mailbox: zynq-ipi: fix error handling while device_register() fails