]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/eeh: Use debugfs_create_u32 for eeh_max_freezes
authorOliver O'Halloran <oohall@gmail.com>
Fri, 15 Feb 2019 00:48:11 +0000 (11:48 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Feb 2019 13:10:14 +0000 (00:10 +1100)
commit46ee7c3c5212b0f4f8713d60cfd595721efdf0d3
treec7d8f9145d041b1d4c79f401eac023f97558b24c
parentd065ee93aab6ef4c2a5af5c455b5044bd5136547
powerpc/eeh: Use debugfs_create_u32 for eeh_max_freezes

There's no need to the custom getter/setter functions so we should remove
them in favour of using the generic one. While we're here, change the type
of eeh_max_freeze to u32 and print the value in decimal rather than
hex because printing it in hex makes no sense.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/eeh.h
arch/powerpc/kernel/eeh.c