summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/pseries/lpar.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-12-25 02:44:36 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-11-13 16:58:05 +1100
commitbfa2325e5b8b800cc6720cad8d2f066cd0136bee (patch)
tree69878c6649e5136315f7c8b09aff0c075df446a7 /arch/powerpc/platforms/pseries/lpar.c
parent090d5ab93d0b8a079dd516c16649bd00ba4f7302 (diff)
powerpc/powernv/npu: 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: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1545705876-63132-1-git-send-email-yuehaibing@huawei.com
Diffstat (limited to 'arch/powerpc/platforms/pseries/lpar.c')
0 files changed, 0 insertions, 0 deletions