drivers: soc: cal-if: create new macro to handle NULL return
authorMichael Benedict <michaelbt@live.com>
Sat, 29 Feb 2020 16:41:42 +0000 (03:41 +1100)
committerStricted <info@stricted.net>
Sun, 3 May 2020 04:36:24 +0000 (04:36 +0000)
commit36b281600cd3f940c94116eecf496d928ab12bf0
tree313da17e58c4d8eef78497e7e114b594d1732b8e
parent7120c5f6823ea63b29f9795499079bd345b3575e
drivers: soc: cal-if: create new macro to handle NULL return

some of the func have NULL's which will return the size of the pointer instead which is ((void*) 0), because of that we need to make a new macro to set it to 0

Signed-off-by: Michael Benedict <michaelbt@live.com>
Change-Id: I3ab61542330c7b13cd165dfb48d453cff005884d
drivers/soc/samsung/cal-if/cmucal.h
drivers/soc/samsung/cal-if/exynos9610/cmucal-node.c
drivers/soc/samsung/cal-if/exynos9610/cmucal-vclk.c