mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
IIO: ADC: stm32_dfsdm_stop_filter() can be static
Fixes: e2e6771c64 ("IIO: ADC: add STM32 DFSDM sigma delta ADC support")
Signed-off-by: Fengguang Wu <[email protected]>
Acked-by: Arnaud Pouliquen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
16cbca06fa
commit
9ae148f80a
1 changed files with 4 additions and 4 deletions
|
|
@ -254,7 +254,7 @@ static int stm32_dfsdm_start_filter(struct stm32_dfsdm *dfsdm,
|
|||
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 */
|
||||
regmap_update_bits(dfsdm->regmap, DFSDM_CR1(fl_id),
|
||||
|
|
@ -296,9 +296,9 @@ static int stm32_dfsdm_filter_configure(struct stm32_dfsdm *dfsdm,
|
|||
DFSDM_CR1_RSYNC(fl->sync_mode));
|
||||
}
|
||||
|
||||
int stm32_dfsdm_channel_parse_of(struct stm32_dfsdm *dfsdm,
|
||||
struct iio_dev *indio_dev,
|
||||
struct iio_chan_spec *ch)
|
||||
static int stm32_dfsdm_channel_parse_of(struct stm32_dfsdm *dfsdm,
|
||||
struct iio_dev *indio_dev,
|
||||
struct iio_chan_spec *ch)
|
||||
{
|
||||
struct stm32_dfsdm_channel *df_ch;
|
||||
const char *of_str;
|
||||
|
|
|
|||
Loading…
Reference in a new issue