]> git.baikalelectronics.ru Git - uboot.git/commit
adc: stm32mp15: split channel init into several routines
authorOlivier Moysan <olivier.moysan@foss.st.com>
Wed, 23 Nov 2022 15:20:15 +0000 (16:20 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 7 Dec 2022 16:00:26 +0000 (17:00 +0100)
commit9918b9af33b080ada447d92ff71aa7534336467e
tree725f486c35ebc13f8b1e1ce8c21404972d7069a0
parent6e291b1cdbc22f437ab9564f17356a0050c37351
adc: stm32mp15: split channel init into several routines

Split stm32_adc_chan_of_init channel initialization function into
several routines to increase readability and prepare channel
generic binding handling.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/adc/stm32-adc.c