From: Benjamin Herrenschmidt Date: Tue, 8 May 2012 03:28:37 +0000 (+1000) Subject: powerpc/windfarm: Fix crash on SMU based machine after i2c conversion X-Git-Tag: v3.5-rc1~132^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9525a08b30b1c8e39578938fc3420ac0b56f3a3d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed