diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-01-09 12:50:21 +0000 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-02-22 10:01:21 -0800 |
commit | e7e6198c60566eda97655d495087fa73e1d7a1fd (patch) | |
tree | 9afe4f00aa1bce5205ce62f135cfc49c4ddf8200 /drivers/clk/x86 | |
parent | clk: qoriq: Improve an error message (diff) | |
download | linux-dev-e7e6198c60566eda97655d495087fa73e1d7a1fd.tar.xz linux-dev-e7e6198c60566eda97655d495087fa73e1d7a1fd.zip |
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/clk/x86')
0 files changed, 0 insertions, 0 deletions