Commit 9ae148f8 authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown

IIO: ADC: stm32_dfsdm_stop_filter() can be static

Fixes: e2e6771c ("IIO: ADC: add STM32 DFSDM sigma delta ADC support")
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Acked-by: default avatarArnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 16cbca06
...@@ -254,7 +254,7 @@ static int stm32_dfsdm_start_filter(struct stm32_dfsdm *dfsdm, ...@@ -254,7 +254,7 @@ static int stm32_dfsdm_start_filter(struct stm32_dfsdm *dfsdm,
DFSDM_CR1_RSWSTART(1)); DFSDM_CR1_RSWSTART(1));
} }
void stm32_dfsdm_stop_filter(struct stm32_dfsdm *dfsdm, unsigned int fl_id) static void stm32_dfsdm_stop_filter(struct stm32_dfsdm *dfsdm, unsigned int fl_id)
{ {
/* Disable conversion */ /* Disable conversion */
regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id), regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id),
...@@ -296,9 +296,9 @@ static int stm32_dfsdm_filter_configure(struct stm32_dfsdm *dfsdm, ...@@ -296,9 +296,9 @@ static int stm32_dfsdm_filter_configure(struct stm32_dfsdm *dfsdm,
DFSDM_CR1_RSYNC(fl->sync_mode)); DFSDM_CR1_RSYNC(fl->sync_mode));
} }
int stm32_dfsdm_channel_parse_of(struct stm32_dfsdm *dfsdm, static int stm32_dfsdm_channel_parse_of(struct stm32_dfsdm *dfsdm,
struct iio_dev *indio_dev, struct iio_dev *indio_dev,
struct iio_chan_spec *ch) struct iio_chan_spec *ch)
{ {
struct stm32_dfsdm_channel *df_ch; struct stm32_dfsdm_channel *df_ch;
const char *of_str; const char *of_str;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment