Re: [PATCH 3/4] mmc: arm_pl180_mmci: Simplify code using mmc_of_parse()

2021-07-09 Thread Jaehoon Chung
On 7/6/21 11:54 PM, Stephan Gerhold wrote: > Simplify the code a bit by using the common mmc_of_parse() function > instead of duplicating the device tree parsing code. We can still get > a default value for cfg->f_max by assigning it before calling > mmc_of_parse(). > > Another advantage of this

Re: [PATCH 3/4] mmc: arm_pl180_mmci: Simplify code using mmc_of_parse()

2021-07-08 Thread Patrice CHOTARD
Hi Stephan On 7/6/21 4:54 PM, Stephan Gerhold wrote: > Simplify the code a bit by using the common mmc_of_parse() function > instead of duplicating the device tree parsing code. We can still get > a default value for cfg->f_max by assigning it before calling > mmc_of_parse(). > > Another

[PATCH 3/4] mmc: arm_pl180_mmci: Simplify code using mmc_of_parse()

2021-07-06 Thread Stephan Gerhold
Simplify the code a bit by using the common mmc_of_parse() function instead of duplicating the device tree parsing code. We can still get a default value for cfg->f_max by assigning it before calling mmc_of_parse(). Another advantage of this refactoring is that we parse more properties now, e.g.