Re: [PATCH 1/2] pinctrl: use dev_err() to show message in pinctrl_register_one_pin()

From: Linus Walleij
Date: Mon Jul 27 2015 - 08:44:10 EST


On Tue, Jul 21, 2015 at 8:25 AM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:

> Use dev_err() rather than pr_err() to display the error message.
> (Besides, dev_err() is already used 7 lines below in this function.)
>
> Also, drop the redundant information "on %s" because dev_err() shows
> which device the message is related to.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/