m68k/amiga: Add error checks when registering platform devices

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
1 file changed