Skip to content
Commit 19e1da0c authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Peng Fan
Browse files

mmc: arm_pl180_mmci: Simplify code using dev_read_addr_ptr()



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: default avatarStephan Gerhold <stephan@gerhold.net>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com> on stm32f769-disco
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 936e9cd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment