diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-12-28 07:33:35 +0000 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2019-02-14 12:36:21 +0100 |
commit | 1ff85bfa1614df6cacec780cd5922dc0b1c340c7 (patch) | |
tree | 0f50968cfa58bf584acdc756ce5ae6a9713af382 /scripts/basic | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) |
HSI: omap_ssi_port: 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: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions