iio: adc: stm32-adc: add debug info if dt uses legacy channel config
authorSean Nyekjaer <sean@geanix.com>
Fri, 21 Apr 2023 08:38:58 +0000 (10:38 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 13 May 2023 16:56:05 +0000 (17:56 +0100)
commit7b0d54ae76e3c6e4f0222c5af3e3d7531f62b58e
tree9822a9182f0e7c12ff698cd37830fe3bbd25ffdd
parent5b24fdd991e53f10514cb6a6096f76bf555ffeac
iio: adc: stm32-adc: add debug info if dt uses legacy channel config

Since nearly all stm32 dt's are using the legacy adc channel config,
we should warn users about using it.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Link: https://lore.kernel.org/r/20230421083858.2613289-1-sean@geanix.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/stm32-adc.c