]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Introduce eeh_set_channel_state()
authorSam Bobroff <sbobroff@linux.ibm.com>
Fri, 25 May 2018 03:11:37 +0000 (13:11 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Jun 2018 10:43:40 +0000 (20:43 +1000)
commit11efea1090db9714c6ebd0fcb62fd77025fa6515
treee86d1ff666b092319032b640e9c99f5fba65a215
parent6b43d6b9330bafe82c2ba62747a6fe37d4e7d4a9
powerpc/eeh: Introduce eeh_set_channel_state()

To ease future refactoring, extract setting of the channel state
from the report functions out into their own functions. This increases
the amount of code that is identical across all of the report
functions.

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh_driver.c