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)
commit47cc8c1cc2f2d9889e84d59cbbe8cb1cc6e24ed1
treee86d1ff666b092319032b640e9c99f5fba65a215
parente2b810d51b2b36d41e3e5522e12cc752e0d865ec
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