]> 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)
commita54b66323b8d2dd8d9dc580b261a191077321670
treeb2cc5b06f7e5fb648f29e5a5fe6894a9e959806c
parent50c8cd6d82be81d59e60b34406014e9e49f3aca1
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