Re: [PATCH 1/3] pinctrl: devicetree: Use strlen() instead of hardcoded number

From: Linus Walleij
Date: Mon Aug 05 2019 - 07:30:05 EST


On Wed, Jul 31, 2019 at 3:29 PM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:

> Improve readability by replacing a hardcoded number requiring a comment
> by strlen().
>
> Gcc is smart enough to evaluate the length of a constant string at
> compile-time.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij