diff options
| author | Milton Miller <miltonm@bga.com> | 2011-05-10 23:30:07 +0400 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-05-19 09:31:43 +0400 |
| commit | 6c4c82e20a1b476589c1e2b0b7c2adc783c93006 (patch) | |
| tree | e8faaf34f32012ff0b671fea624c9ca117d28188 /net/lapb/lapb_in.c | |
| parent | 7ee342bdc3d7e2cba4be6d1eece56efec9d3809f (diff) | |
| download | linux-6c4c82e20a1b476589c1e2b0b7c2adc783c93006.tar.xz | |
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 <miltonm@bga.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
