diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-10-05 14:07:26 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-10-13 20:28:44 +0300 |
commit | f9dca154a4e4d185bad15a431f0ff095cd931df6 (patch) | |
tree | 2859958933d4a384571b577b22fa8ed2a3fc5fe3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 72569b7be461ad563c8118c50f26692e53a189bc (diff) | |
download | linux-f9dca154a4e4d185bad15a431f0ff095cd931df6.tar.xz |
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