summaryrefslogtreecommitdiffstats
path: root/scripts/bootgraph.pl
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2019-03-29 09:42:29 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-04-08 13:03:26 +0200
commita71a81e7975843504170e69fe52605478f3c8e04 (patch)
tree022e8ffc9b19c00d50cc766f46c487d8dad466d0 /scripts/bootgraph.pl
parent26af34079f1d8299932303cfd2b376b9cf55a35c (diff)
downloadlinux-stable-a71a81e7975843504170e69fe52605478f3c8e04.tar.gz
linux-stable-a71a81e7975843504170e69fe52605478f3c8e04.tar.bz2
linux-stable-a71a81e7975843504170e69fe52605478f3c8e04.zip
gpio: of: Optimize quirk checks
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@glider.be> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/bootgraph.pl')
0 files changed, 0 insertions, 0 deletions