diff options
| author | Arushi Singhal <arushisinghal19971997@gmail.com> | 2018-03-07 13:39:09 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-08 20:56:15 +0300 |
| commit | 11bc6596aaad2c30b1538c15fa5471ed283aa3e4 (patch) | |
| tree | 4885049fb42cf72dea63ac9134335ef528c879da /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | c674f4aab45d702bdc18288646ddc6c348589d98 (diff) | |
| download | linux-11bc6596aaad2c30b1538c15fa5471ed283aa3e4.tar.xz | |
staging: rtl8192u: Replace printk() with more standardize output format.
printk() is the raw way to print output and should be avoided.
For drivers with defined "struct device object", dev_*macro() is
prefer and for "struct netdevice object", netdev_*macro() is prefer over
dev_*macro() to standardize the output format within the subsystem.
If no "struct device object" is defined prefer pr_*macro() over printk().
This patch Replace printk having a log level with the appropriate output
format according to the order of preference.
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
