pinctrl: Drop error prints on kzalloc() failure
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 5 Jan 2017 16:07:55 +0000 (08:07 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 11 Jan 2017 13:29:29 +0000 (14:29 +0100)
commit2104d12d11206b9477df13898c87aa19ad57a680
tree37f852a70fdc7e163912fc5f5bd7759d405e8462
parent476e3e1d0555a9170e050a9708f883814ce79354
pinctrl: Drop error prints on kzalloc() failure

Upon failing kzalloc() will print an error message in the log, so
there's no need for additional printouts. Also standardizes the "!ptr"
vs "ptr == NULL" while I'm touching those lines.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c