powerpc/pmac: Remove spurrious machine type test
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Jul 2016 05:03:57 +0000 (15:03 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 21 Jul 2016 08:58:26 +0000 (18:58 +1000)
commitb521f576df6c49fcc06fbc06a349f7590f223a38
tree497b35399a11df4d855ffc34e8e4bf7718a834f0
parent2b4e3ad8f5790cae6e0356c5fc200588bd2c915c
powerpc/pmac: Remove spurrious machine type test

pmac_declare_of_platform_devices() is already a machine initcall, thus
it won't be called on a non-powermac machine. Testing for chrp there
is pointless.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powermac/setup.c