commit | b5c7cccaacdfa8d707da3e65970b15070f56df5e | [log] [tgz] |
---|---|---|
author | Finn Thain <fthain@telegraphics.com.au> | Mon Jul 02 04:21:19 2018 -0400 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jul 31 19:56:43 2018 +1000 |
tree | e3190148ddc2b8d1d6d645c3c0aaca82299a73d3 | |
parent | ebd722275f9cfc6752e29d2412fa3816ca05764b [diff] |
macintosh/via-pmu: Clean up interrupt statistics Replace an open-coded ffs() with the function call. Simplify an if-else cascade using a switch statement. Correct a typo and an indentation issue. Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>