diff options
author | 2019-07-31 15:29:15 +0200 | |
---|---|---|
committer | 2019-08-05 13:29:29 +0200 | |
commit | f0b0e923e07aa3efd3d5db0bd6ff421bd9a9a0d4 (patch) | |
tree | 0db183544fa9c2700a1eacb6d64d84f8d8447270 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pinctrl: Remove dev_err() usage after platform_get_irq() (diff) | |
download | wireguard-linux-f0b0e923e07aa3efd3d5db0bd6ff421bd9a9a0d4.tar.xz wireguard-linux-f0b0e923e07aa3efd3d5db0bd6ff421bd9a9a0d4.zip |
pinctrl: devicetree: Use strlen() instead of hardcoded number
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@glider.be>
Link: https://lore.kernel.org/r/20190731132917.17607-2-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions