commit | 46ee7c3c5212b0f4f8713d60cfd595721efdf0d3 | [log] [tgz] |
---|---|---|
author | Oliver O'Halloran <oohall@gmail.com> | Fri Feb 15 11:48:11 2019 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Feb 22 00:10:14 2019 +1100 |
tree | c7d8f9145d041b1d4c79f401eac023f97558b24c | |
parent | d065ee93aab6ef4c2a5af5c455b5044bd5136547 [diff] |
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>