]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Simplify definitions of EEH debugfs handlers
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 9 Feb 2016 04:50:24 +0000 (15:50 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 10 Feb 2016 01:04:46 +0000 (12:04 +1100)
commit98e0ef6ce994d895f75f5e12f5289a47697290f1
treeb2cc5b06f7e5fb648f29e5a5fe6894a9e959806c
parent62f1063c74d91978ab48066b62d2c3c25713a691
powerpc/powernv: Simplify definitions of EEH debugfs handlers

The EEH debugfs handlers have same prototype. This introduces
a macro to define them, then to simplify the code. No logical
changes.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/eeh-powernv.c