From: Milton Miller Date: Tue, 10 May 2011 19:30:07 +0000 (+0000) Subject: powerpc/fsl_msi: Don't abuse platform_data for driver_data X-Git-Tag: v3.0-rc1~385^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c4c82e20a1b476589c1e2b0b7c2adc783c93006;p=pandora-kernel.git powerpc/fsl_msi: Don't abuse platform_data for driver_data The msi platform device driver was abusing dev.platform_data for its platform_driver_data. Use the correct pointer for storage. Platform_data is supposed to be for platforms to communicate to drivers parameters that are not otherwise discoverable. Its lifetime matches the platform_device not the platform device driver. It is generally not needed for drivers that only support systems with device trees. Signed-off-by: Milton Miller Acked-by: Grant Likely Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed