iio: adc: stm32-adc: set some stm32-adc.c variables storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Sun, 12 Mar 2023 16:17:33 +0000 (12:17 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 12 Mar 2023 17:44:44 +0000 (17:44 +0000)
commit225dc61e2fa8def14426e2a34e926a79fae6118b
treee07adb2c48ff13ec93f1a3090ff56d047b40438c
parent9ee6bc3a035a5882888d6a73a2c13e2f4e65793f
iio: adc: stm32-adc: set some stm32-adc.c variables storage-class-specifier to static

smatch reports several warnings
drivers/iio/adc/stm32-adc.c:2591:20: warning:
  symbol 'stm32_adc_min_ts_h7' was not declared. Should it be static?
drivers/iio/adc/stm32-adc.c:2610:20: warning:
  symbol 'stm32_adc_min_ts_mp1' was not declared. Should it be static?
drivers/iio/adc/stm32-adc.c:2630:20: warning:
  symbol 'stm32_adc_min_ts_mp13' was not declared. Should it be static?

These variables are only used in stm32-adc.c, so they should be static

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230312161733.470617-1-trix@redhat.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/stm32-adc.c