diff options
author | 2018-10-05 11:07:26 +0000 | |
---|---|---|
committer | 2018-10-13 20:28:44 +0300 | |
commit | f9dca154a4e4d185bad15a431f0ff095cd931df6 (patch) | |
tree | 2859958933d4a384571b577b22fa8ed2a3fc5fe3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ath9k: fix RX_STAT_INC() etc macros (diff) | |
download | linux-dev-f9dca154a4e4d185bad15a431f0ff095cd931df6.tar.xz linux-dev-f9dca154a4e4d185bad15a431f0ff095cd931df6.zip |
wil6210: fix debugfs_simple_attr.cocci warnings
Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE
for debugfs files.
Semantic patch information:
Rationale: DEFINE_SIMPLE_ATTRIBUTE + debugfs_create_file()
imposes some significant overhead as compared to
DEFINE_DEBUGFS_ATTRIBUTE + debugfs_create_file_unsafe().
Generated by: scripts/coccinelle/api/debugfs/debugfs_simple_attr.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions