diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-12-29 01:43:48 +0000 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-25 08:40:58 +0100 |
commit | f6a3d9d9dc1c86b75d858ebf011c7fff4b10a9bd (patch) | |
tree | af127a2b4a6691cbf0c28c64f33ea338fc20ffb9 /tools/perf/scripts/python/stackcollapse.py | |
parent | 204d94e63e22d4bd4e8ce8af1aeeda2208822cd0 (diff) |
mmc: block: 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: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions