powerpc/scom: Change scom_read() and scom_write() to return errors
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 29 Aug 2013 06:55:45 +0000 (16:55 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:53:34 +0000 (16:53 +1100)
commitaaa63093dd4c393391a3368e1c7305b0cc620571
tree72947047f91583d57f7983cf3070b19ee584c663
parentac237b65f56c9b80d7774c35ccce15a74d445621
powerpc/scom: Change scom_read() and scom_write() to return errors

scom_read() now returns the read value via a pointer argument and
both functions return an int error code

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/scom.h
arch/powerpc/platforms/wsp/scom_smp.c
arch/powerpc/platforms/wsp/scom_wsp.c
arch/powerpc/platforms/wsp/wsp.c
arch/powerpc/sysdev/scom.c