From: Gavin Shan Date: Mon, 21 Jul 2014 04:42:32 +0000 (+1000) Subject: powerpc/powernv: Split ioda_eeh_get_state() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~134^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c979c70ed176518dfb32eaf8a7ac58f41ae21de1;p=pandora-kernel.git powerpc/powernv: Split ioda_eeh_get_state() Function ioda_eeh_get_state() is used to fetch EEH state for PHB or PE. We're going to support compound PE and the function becomes more complicated with that. The patch splits the function into two functions for PHB and PE cases separately to improve readability. Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed