]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: re-use code from of_helpers module
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Oct 2015 09:46:10 +0000 (12:46 +0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Oct 2015 10:11:28 +0000 (21:11 +1100)
commita6dd1a145be2471059a7080bad2e0e37d48c5b5c
tree1d37cac883d4ff54ac2a20c0d23472b0b403ce4c
parent5ff4b57f37b44514655074ddff1303647dfce240
powerpc/pseries: re-use code from of_helpers module

The derive_parent() has similar semantics to what we have in newly introduced
of_helpers module. The replacement reduces code base and propagates the actual
error code to the caller.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/dlpar.c