diff options
| author | 2018-12-20 02:53:53 +0000 | |
|---|---|---|
| committer | 2019-01-22 09:51:19 +0100 | |
| commit | 5e053534be14cc71674dd9d3615de40e82d3f116 (patch) | |
| tree | d57d9b778e0ea59a3dba77ce179c0afa29e139d2 /drivers/fpga/socfpga.c | |
| parent | Bluetooth: 6lowpan: Fix debugfs_simple_attr.cocci warnings (diff) | |
| download | linux-dev-5e053534be14cc71674dd9d3615de40e82d3f116.tar.xz linux-dev-5e053534be14cc71674dd9d3615de40e82d3f116.zip | |
6lowpan: 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: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/fpga/socfpga.c')
0 files changed, 0 insertions, 0 deletions
