summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-sysfs.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-01-09 12:50:21 +0000
committerStephen Boyd <sboyd@kernel.org>2019-02-22 10:01:21 -0800
commite7e6198c60566eda97655d495087fa73e1d7a1fd (patch)
tree9afe4f00aa1bce5205ce62f135cfc49c4ddf8200 /drivers/ide/ide-sysfs.c
parent8f99f5eab06cc837e196f87d4b1e1d14e5f1efe3 (diff)
downloadlinux-e7e6198c60566eda97655d495087fa73e1d7a1fd.tar.bz2
clk: tegra: dfll: 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: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/ide/ide-sysfs.c')
0 files changed, 0 insertions, 0 deletions