pinctrl: Adjust nine checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 2 May 2017 09:04:55 +0000 (11:04 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 May 2017 08:39:25 +0000 (10:39 +0200)
commitcea234e996922d486a234a0a2b163c66f8812cb7
tree8e70dd59e62e3242fdf7f77fef2dfdb18c6c50e3
parent390e10464db011f382dc7eb6eeda25d5b8ceccbe
pinctrl: Adjust nine checks for null pointers

MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c