aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/health/afe4404.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-05-01 15:36:53 -0500
committerJonathan Cameron <jic23@kernel.org>2016-05-04 10:59:47 +0100
commite85fa0338b4c0399d7c42837f45f9afb8ede7541 (patch)
treee05162cf0fcd5e09a380bd1a3d3124a7dbe998f8 /drivers/iio/health/afe4404.c
parentiio: health/afe440x: Remove of_match_ptr and ifdefs (diff)
downloadwireguard-linux-e85fa0338b4c0399d7c42837f45f9afb8ede7541.tar.xz
wireguard-linux-e85fa0338b4c0399d7c42837f45f9afb8ede7541.zip
iio: health/afe440x: Remove unneeded initializers
The drivers set some register values during initialization that can be set at runtime, these defaults were used in testing but are not necessary, remove these. Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/health/afe4404.c')
-rw-r--r--drivers/iio/health/afe4404.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/iio/health/afe4404.c b/drivers/iio/health/afe4404.c
index 783b9b437716..2d4c522f81e1 100644
--- a/drivers/iio/health/afe4404.c
+++ b/drivers/iio/health/afe4404.c
@@ -443,10 +443,6 @@ static const struct iio_trigger_ops afe4404_trigger_ops = {
static const struct reg_sequence afe4404_reg_sequences[] = {
AFE4404_TIMING_PAIRS,
{ AFE440X_CONTROL1, AFE440X_CONTROL1_TIMEREN },
- { AFE4404_TIA_GAIN, AFE4404_TIA_GAIN_RES_50_K },
- { AFE440X_LEDCNTRL, (0xf << AFE4404_LEDCNTRL_ILED1_SHIFT) |
- (0x3 << AFE4404_LEDCNTRL_ILED2_SHIFT) |
- (0x3 << AFE4404_LEDCNTRL_ILED3_SHIFT) },
{ AFE440X_CONTROL2, AFE440X_CONTROL3_OSC_ENABLE },
};