diff options
author | 2014-11-21 23:42:35 -0800 | |
---|---|---|
committer | 2014-12-07 21:22:01 +0100 | |
commit | b111b78c6ea52690a47f16922cb41c78f08dd298 (patch) | |
tree | bfaa0f16127661c929069cad687052eb4503b288 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'ebpf-next' (diff) | |
download | linux-dev-b111b78c6ea52690a47f16922cb41c78f08dd298.tar.xz linux-dev-b111b78c6ea52690a47f16922cb41c78f08dd298.zip |
can: eliminate banner[] variable and switch to pr_info()
Several CAN modules use a design pattern with a banner[] variable at the
top which defines a string that is used once during init to print the
banner. The string is also embedded with KERN_INFO which makes it
printk() specific.
Improve the code by eliminating the banner[] variable and moving the
string to where it is printed. Then switch from printk(KERN_INFO to
pr_info() for the lines that were changed.
Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions