staging:iio:ad7192: Remove unused platform_data from device state struct
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 10 Aug 2012 16:36:00 +0000 (17:36 +0100)
committerJonathan Cameron <jic23@kernel.org>
Mon, 27 Aug 2012 16:47:35 +0000 (17:47 +0100)
commit49f8812e4d15970341f0ed320e78951cc16b596d
tree51ee7c356afa92275be5ecc2db1f50173f46a4c4
parentc8c194d5c21fc157c2329436e541bf8f33a2ee25
staging:iio:ad7192: Remove unused platform_data from device state struct

The platform data for the device is only used from within the drivers probe
callback, so there is no need to keep it around in the devices state struct.

While we are at it mark the platform data struct as const.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7192.c