diff options
| author | 2018-10-05 11:07:26 +0000 | |
|---|---|---|
| committer | 2018-10-13 20:28:44 +0300 | |
| commit | f9dca154a4e4d185bad15a431f0ff095cd931df6 (patch) | |
| tree | 2859958933d4a384571b577b22fa8ed2a3fc5fe3 /include | |
| parent | ath9k: fix RX_STAT_INC() etc macros (diff) | |
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 'include')
0 files changed, 0 insertions, 0 deletions
