powerpc/windfarm: Fix crash on SMU based machine after i2c conversion
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 8 May 2012 03:28:37 +0000 (13:28 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 9 May 2012 00:58:21 +0000 (10:58 +1000)
commit9525a08b30b1c8e39578938fc3420ac0b56f3a3d
tree7ec620d4cbfa7817e53f982ead1d615cf3c6c1b3
parentea4e89afedc7fc64078076eacbcffaaa742baf0d
powerpc/windfarm: Fix crash on SMU based machine after i2c conversion

We no longer get the device node in platform_data but instead
where it belongs in struct device, so get it from there instead
of blowing up.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/windfarm_smu_sat.c