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
Showing
- arch/powerpc/mm/ptdump/bats.c 2 additions, 12 deletionsarch/powerpc/mm/ptdump/bats.c
- arch/powerpc/mm/ptdump/hashpagetable.c 1 addition, 11 deletionsarch/powerpc/mm/ptdump/hashpagetable.c
- arch/powerpc/mm/ptdump/ptdump.c 1 addition, 12 deletionsarch/powerpc/mm/ptdump/ptdump.c
- arch/powerpc/mm/ptdump/segment_regs.c 1 addition, 11 deletionsarch/powerpc/mm/ptdump/segment_regs.c
Loading
Please register or sign in to comment