WSL2-Linux-Kernel/drivers/hsi
YueHaibing 1ff85bfa16 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>
2019-02-14 12:36:21 +01:00
..
clients hsi: clients: Change return type to vm_fault_t 2018-04-17 16:05:26 +02:00
controllers HSI: omap_ssi_port: fix debugfs_simple_attr.cocci warnings 2019-02-14 12:36:21 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hsi_boardinfo.c HSI: Use kcalloc() in hsi_register_board_info() 2017-06-08 13:21:43 +02:00
hsi_core.c HSI: core: Use kcalloc() in two functions 2017-06-08 13:21:43 +02:00
hsi_core.h