]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: stm32-dfsdm: handle label as an optional property
authorOlivier Moysan <olivier.moysan@foss.st.com>
Thu, 14 Nov 2024 10:24:59 +0000 (11:24 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 7 Dec 2024 17:23:41 +0000 (17:23 +0000)
commitad8479ac083b841da42975d79288b25c088c5cc3
tree133ab392401a57847605db5ac2aed5222f1a9c70
parentdddfd0c489e9a3fde98fedda8832cb9ecaae3abf
iio: adc: stm32-dfsdm: handle label as an optional property

The label property is defined as optional in the DFSDM binding.
Parse the label property only when it is defined in the device tree.

Fixes: 3208fa0cd919 ("iio: adc: stm32-dfsdm: adopt generic channels bindings")
Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Link: https://patch.msgid.link/20241114102459.2497178-1-olivier.moysan@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/stm32-dfsdm-adc.c