commit | 42532b69c48b3e64a56fc088630da0c55e709200 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Wed Oct 02 11:46:20 2019 +0200 |
committer | Yann Gautier <yann.gautier@st.com> | Fri Jan 19 10:06:06 2024 +0100 |
tree | a75a42e4fe3267bf34da8d025865454e01975875 | |
parent | b323407136a39e910523d89f2a1ace18d2cd5ea3 [diff] |
refactor(st-i2c): use fdt_read_uint32_default() The function stm32_i2c_get_setup_from_fdt() was using fdt_getprop() to to get some i2c node properties, and set a default value if the node was not found. The function fdt_read_uint32_default() already does this in a simpler way. Remove useless STM32_I2C_SPEED_DEFAULT. Change-Id: I74c6295bb5765ee7c7e0a9ae020b741f1fe022a6 Signed-off-by: Yann Gautier <yann.gautier@st.com>