]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: arm_pl180_mmci: Simplify code using dev_read_addr_ptr()
authorStephan Gerhold <stephan@gerhold.net>
Tue, 6 Jul 2021 14:54:34 +0000 (16:54 +0200)
committerPeng Fan <peng.fan@nxp.com>
Fri, 30 Jul 2021 09:13:02 +0000 (17:13 +0800)
commit19e1da0c66454bd6206a4badfdc0077d7fd76aed
tree4e469b6dfa7f791ff7990fb67e087c99e488f824
parent936e9cd39260559b6c3f931038fe3f2173e43605
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: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com> on stm32f769-disco
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/arm_pl180_mmci.c