dt-bindings: Parallelize yamllint
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 18 Oct 2021 10:54:47 +0000 (12:54 +0200)
committerRob Herring <robh@kernel.org>
Wed, 20 Oct 2021 18:34:42 +0000 (13:34 -0500)
commit3985aa6ff3a81923a23a094a9f279c3a4959107f
tree539b8fada61d9621ca8dff6f2b4684f37bdf6221
parentbb171271f194a1379bb908e8315968c8bd95ed41
dt-bindings: Parallelize yamllint

Use xargs sharding like "chk_bindings" does, to parallelize the
execution of yamllint.

This reduces the yamllint execution time from ca. 21 to 5 seconds on
i7-8700K.

Suggested-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/c68bdbdf3112c4658e0748c8fc51959e69fbae2e.1634551582.git.geert+renesas@glider.be
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/Makefile