[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdY0A5dTORVD12jvTJrQQq0jJUtF78uF4g42PE_LWCxYhw@mail.gmail.com>
Date: Mon, 5 Aug 2019 13:29:50 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] pinctrl: devicetree: Use strlen() instead of
hardcoded number
On Wed, Jul 31, 2019 at 3:29 PM Geert Uytterhoeven
<geert+renesas@...der.be> 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@...der.be>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists