diff options
| author | Alexandru Gagniuc <[email protected]> | 2020-09-09 16:54:02 -0500 |
|---|---|---|
| committer | Patrick Delaunay <[email protected]> | 2020-10-21 18:11:56 +0200 |
| commit | c981d67a0444cf31e5a16fe4be79d785eb182385 (patch) | |
| tree | a6c3879e782615d14c20969530a1f6244dd5865e /drivers/timer/timer-uclass.c | |
| parent | f80b8ac69bbbd38636562e8d8f4123d2633aa448 (diff) | |
mmc: stm32_sdmmc2: Use mmc_of_parse() to read host capabilities
mmc_of_parse() can populate the 'f_max' and 'host_caps' fields of
struct mmc_config from devicetree.
The same logic is duplicated in stm32_sdmmc2_probe(). Use
mmc_of_parse(), which is more generic.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'drivers/timer/timer-uclass.c')
0 files changed, 0 insertions, 0 deletions
