mfd: abx500-core: Adjust 14 checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 8 Mar 2018 11:50:12 +0000 (12:50 +0100)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 May 2018 08:21:48 +0000 (09:21 +0100)
commit6271299d273831bd8f5934e5d6ddf7756cae91f3
treef0969d41ca1180404c4dc8f542bc0157f8818979
parent5053e3a3383ef3952496146c75e77245e51e9040
mfd: abx500-core: Adjust 14 checks for null pointers

The script “checkpatch.pl” pointed information out like the following.

Comparison to NULL could be written …

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/abx500-core.c