]> git.dujemihanovic.xyz Git - u-boot.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)
commit1727d46bf9b75722e08e7de98fca74ebd6b05cc4
tree725f486c35ebc13f8b1e1ce8c21404972d7069a0
parent2c8d548f4ea83aabf15c414537269c83d8a91381
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