pinctrl: Adjust five checks for null pointers
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 2 May 2017 08:01:57 +0000 (10:01 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 May 2017 08:39:24 +0000 (10:39 +0200)
commit76ce37f05ecf45457dfc2ebc9c4ef2f6a343f4de
tree23c0b6a98ba183bf7e890070dae68db9cc380a23
parentde2eae26def674ce9c78f3191b4bc0625c640d6a
pinctrl: Adjust five 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/pinconf.c