]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ptdump: Use DEFINE_SHOW_ATTRIBUTE()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 8 Jul 2021 16:49:40 +0000 (16:49 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 25 Aug 2021 03:35:48 +0000 (13:35 +1000)
commit2e3bd3690264538e3b91c83baa25bf75a51eed11
treeeba522d121682ead120a643c942ff24ca9dea551
parenta91a2469c19abbeda6befa418606001bc31edcb9
powerpc/ptdump: Use DEFINE_SHOW_ATTRIBUTE()

Use DEFINE_SHOW_ATTRIBUTE() instead of open coding
open() and fops.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/b864a92693ca8413ef0b19f0c12065c212899b6e.1625762905.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/ptdump/bats.c
arch/powerpc/mm/ptdump/hashpagetable.c
arch/powerpc/mm/ptdump/ptdump.c
arch/powerpc/mm/ptdump/segment_regs.c