diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-04-24 16:14:32 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2020-04-28 15:48:16 +0200 |
commit | 262b90116619ecab0734a3d931851e1fa1e89a7d (patch) | |
tree | 568c6ad4e1d4fd5816c57b9211982f90fffe3a93 /tools/perf/scripts/python/stackcollapse.py | |
parent | 1475b6293af2e240294c09182872b18e47495f37 (diff) |
gpiolib: Improve kernel messages
Simplify the printing of kernel messages and make the messages more
accurate by using the most appropriate {dev,chip,gpiod}_*() helpers.
Sample impact:
-gpiochip_setup_dev: registered GPIOs 496 to 511 on device: gpiochip0 (e6050000.gpio)
+gpio gpiochip0: registered GPIOs 496 to 511 on e6050000.gpio
-no flags found for gpios
+gpio-953 (?): no flags found for gpios
-GPIO line 355 (PCIE/SATA switch) hogged as output/low
+gpio-355 (PCIE/SATA switch): hogged as output/low
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20200424141432.11400-1-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions