spi: stm32: Add ofdata_to_platdata() callback
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 3 Aug 2021 09:16:40 +0000 (11:16 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 8 Oct 2021 06:41:47 +0000 (08:41 +0200)
commit81b2445af4005cad6f1edef8b30ff1bb82ff8f80
tree7c0e31761670419db111c6af6d819e27a6c43a3d
parentb0e763b7b880494e0b5e96ba2ea5accc9f178926
spi: stm32: Add ofdata_to_platdata() callback

Parse DT in ofdata_to_platdata() callback instead of probe().

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/spi/stm32_spi.c