Re: [PATCH] gpio: of: Optimize quirk checks

From: Linus Walleij
Date: Mon Apr 08 2019 - 07:04:42 EST

On Fri, Mar 29, 2019 at 9:42 AM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:

> Simple string comparisons are cheaper than DT lookups, as the latter
> involve taking a spinlock and traversing properties.
> Hence optimize quirk checks by postponing DT lookups after string
> comparisons.
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Thanks Geert! I merged v5.1-rc3 into my devel branch and
applied this on top.

Linus Walleij