Re: [PATCH 2/4] mmc: arm_pl180_mmci: Simplify code using dev_read_addr_ptr()

2021-07-09 Thread Jaehoon Chung
On 7/6/21 11:54 PM, Stephan Gerhold wrote: > Simplify the code a bit by using dev_read_addr_ptr() instead of > dev_read_addr(). This avoids having to cast explicitly to void*. > > Signed-off-by: Stephan Gerhold Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > >

Re: [PATCH 2/4] mmc: arm_pl180_mmci: Simplify code using dev_read_addr_ptr()

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 dev_read_addr_ptr() instead of > dev_read_addr(). This avoids having to cast explicitly to void*. > > Signed-off-by: Stephan Gerhold > --- > > drivers/mmc/arm_pl180_mmci.c | 7 ++- > 1 file changed, 2

[PATCH 2/4] mmc: arm_pl180_mmci: Simplify code using dev_read_addr_ptr()

2021-07-06 Thread Stephan Gerhold
Simplify the code a bit by using dev_read_addr_ptr() instead of dev_read_addr(). This avoids having to cast explicitly to void*. Signed-off-by: Stephan Gerhold --- drivers/mmc/arm_pl180_mmci.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git