diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2018-12-29 04:43:48 +0300 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-25 10:40:58 +0300 |
| commit | f6a3d9d9dc1c86b75d858ebf011c7fff4b10a9bd (patch) | |
| tree | af127a2b4a6691cbf0c28c64f33ea338fc20ffb9 /tools/perf/scripts/python | |
| parent | 204d94e63e22d4bd4e8ce8af1aeeda2208822cd0 (diff) | |
| download | linux-f6a3d9d9dc1c86b75d858ebf011c7fff4b10a9bd.tar.xz | |
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')
0 files changed, 0 insertions, 0 deletions
