]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaeb4178e95c1549e2e7374a8721e674fe08a2303
treef0969d41ca1180404c4dc8f542bc0157f8818979
parent4cfaf8ef40c33cf3751d13d036b26eb94192104b
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