diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-12-12 08:36:36 +0000 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-12-16 15:13:47 -0800 |
commit | f9facc24a6441d6a82d6cca942b162a394ecba66 (patch) | |
tree | fec95fd1dd345888bd05e91087b77fa95c005e31 /drivers/hwmon/lm80.c | |
parent | 626f5eaed15ab81e9ece29d3dc1cf9e5881110f3 (diff) | |
download | blackbird-obmc-linux-f9facc24a6441d6a82d6cca942b162a394ecba66.tar.gz blackbird-obmc-linux-f9facc24a6441d6a82d6cca942b162a394ecba66.zip |
hwmon: (asus_atk0110) 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: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/lm80.c')
0 files changed, 0 insertions, 0 deletions