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: Venkat Prashanth B U <venkat.prashanth2498@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| bmi160 | ||
| inv_mpu6050 | ||
| st_lsm6dsx | ||
| adis16400_buffer.c | ||
| adis16400_core.c | ||
| adis16400.h | ||
| adis16480.c | ||
| adis_buffer.c | ||
| adis_trigger.c | ||
| adis.c | ||
| Kconfig | ||
| kmx61.c | ||
| Makefile | ||