[PATCH 3/6] pinctrl: imx: use seq_puts() instead of seq_printf()

Linus Walleij linus.walleij at linaro.org
Wed May 2 05:24:13 PDT 2018


On Fri, Apr 27, 2018 at 9:01 PM, Dong Aisheng <aisheng.dong at nxp.com> wrote:

> For a constant format without additional arguments, use seq_puts()
> instead of seq_printf(). Also, it fixes the following checkpatch
> warning.
>
> WARNING: Prefer seq_puts to seq_printf
> +               seq_printf(s, "N/A");
>
> WARNING: Prefer seq_puts to seq_printf
> +       seq_printf(s, "\n");
>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: Stefan Agner <stefan at agner.ch>
> Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
> Signed-off-by: Dong Aisheng <aisheng.dong at nxp.com>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list