staging:iio:ad7793: 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:46:49 +0000 (17:46 +0100)
commitc8c194d5c21fc157c2329436e541bf8f33a2ee25
tree16c059c79531dd0dcac3ae2a921467d60e31b0cf
parent8f8b77bfdce811acbcf2248219a7aab5f92de938
staging:iio:ad7793: 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/ad7793.c