summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-12-20 05:42:51 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-20 14:59:03 +0300
commit8c6c942d33f2a79439e86f8f406afae40a5bc767 (patch)
treee2af97008ce121ba6fcae6c553d1c301977dc1bb /arch/powerpc/sysdev
parente59f5bd759b7dee57593c5b6c0441609bda5d530 (diff)
downloadlinux-8c6c942d33f2a79439e86f8f406afae40a5bc767.tar.xz
powerpc/eeh: 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> Acked-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions