summaryrefslogtreecommitdiff
path: root/scripts/headers.sh
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-10-05 11:07:26 +0000
committerKalle Valo <kvalo@codeaurora.org>2018-10-13 20:28:44 +0300
commitf9dca154a4e4d185bad15a431f0ff095cd931df6 (patch)
tree2859958933d4a384571b577b22fa8ed2a3fc5fe3 /scripts/headers.sh
parent72569b7be461ad563c8118c50f26692e53a189bc (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 'scripts/headers.sh')
0 files changed, 0 insertions, 0 deletions