summaryrefslogtreecommitdiff
path: root/.cocciconfig
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-12-28 07:33:35 +0000
committerSebastian Reichel <sebastian.reichel@collabora.com>2019-02-14 12:36:21 +0100
commit1ff85bfa1614df6cacec780cd5922dc0b1c340c7 (patch)
tree0f50968cfa58bf584acdc756ce5ae6a9713af382 /.cocciconfig
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
downloadlinux-next-1ff85bfa1614df6cacec780cd5922dc0b1c340c7.tar.gz
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 '.cocciconfig')
0 files changed, 0 insertions, 0 deletions