staging:iio:ad7606: Remove default device configuration from platform data
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 19 Oct 2016 17:06:58 +0000 (19:06 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 23 Oct 2016 18:34:12 +0000 (19:34 +0100)
commit9f72520fa4e0a1c3060c523ca075f323b9c77488
tree3097e97fec55230f174feef8001eb018d7c07384
parent063a51c5bdefaf7972c6ee7945b05eeb7a842961
staging:iio:ad7606: Remove default device configuration from platform data

While for some very selected setups it might be useful to be able to
provide default configuration data via the platform data, generally this
becomes very impractical as the number of configuration options increases.
So the general policy is to use the power-on default values of the device
and let the application using the device configure it according to its
needs.

Implement this scheme for the ad7606 driver by removing support for
specifying a default configuration via the platform data.

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