Re: [PATCH] pinctrl: Drop error prints on kzalloc() failure

From: Linus Walleij
Date: Wed Jan 11 2017 - 08:30:55 EST


On Thu, Jan 5, 2017 at 5:07 PM, Bjorn Andersson
<bjorn.andersson@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>

OK good cleanup. Patch applied.

> Hope you don't find this too OCD-ish.

We have the same condition ...

Yours,
Linus Walleij