powerpc: Fix error return in rtas_flash module init
authorAnton Blanchard <anton@samba.org>
Mon, 14 Apr 2014 11:23:32 +0000 (21:23 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 06:32:07 +0000 (16:32 +1000)
commit0c930692107be4b91c3eeecfd9c9d600039f966f
tree5227485d346c0a619e536db76d436d9924a88166
parent579a53cafdd641f2d67ba4f4fbd9cc4180b8717d
powerpc: Fix error return in rtas_flash module init

module_init should return 0 or a negative errno.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/rtas_flash.c