Breno Leitao 3347c9f691 powerpc/scom: Return NULL instead of 0
Function scom_map_device() returns data type 'scom_map_t', which is a
typedef for 'void *'. This functions is currently returning NULL and zero,
which causes the following warning by 'sparse':

	arch/powerpc/sysdev/scom.c:63:24: warning: Using plain integer as NULL pointer
	arch/powerpc/sysdev/scom.c:86:24: warning: Using plain integer as NULL pointer

This patch simply replaces zero by NULL.

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-11-25 17:11:21 +11:00
..
2018-11-02 09:19:35 -07:00
2018-08-17 11:32:50 -07:00
2018-11-25 17:11:21 +11:00
2018-08-17 11:32:50 -07:00
2018-10-26 14:36:21 -07:00
2018-08-17 11:32:50 -07:00
2018-11-03 10:47:33 -07:00