From 8fb6a906f1b4c03eba3bf96388e5126dab0d6822 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Thu, 14 Nov 2024 13:50:46 -0500 Subject: [PATCH] iio: adc: ad_pulsar.c: remove reference to phase It is being set but likely isn't used, so remove it to avoid build errors now that the new PWM waveform API is included. Signed-off-by: Trevor Gamblin --- drivers/iio/adc/ad_pulsar.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/adc/ad_pulsar.c b/drivers/iio/adc/ad_pulsar.c index b2c340e79ecc3..001f537b46924 100644 --- a/drivers/iio/adc/ad_pulsar.c +++ b/drivers/iio/adc/ad_pulsar.c @@ -450,7 +450,6 @@ static int ad_pulsar_set_samp_freq(struct ad_pulsar_adc *adc, int freq) cnv_state = (struct pwm_state){ .duty_cycle = ref_clk_period_ns, - .phase = ref_clk_period_ns, .enabled = true, };