]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: s5p: Use dev_read_addr_ptr() to get base address
authorSam Protsenko <semen.protsenko@linaro.org>
Tue, 7 Nov 2023 20:13:49 +0000 (14:13 -0600)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 27 Nov 2023 09:04:11 +0000 (18:04 +0900)
commit33e7ca5a9b6a0dc1c894c14fd8e29b816f9a6f55
tree090d7266f78bd8991a8cf7a10f7016a5a4323a63
parenta627f2802a71afe7fec28d2a9b514dc37f1b8f20
serial: s5p: Use dev_read_addr_ptr() to get base address

As the address read from device tree is being cast to a pointer, it's
better to use dev_read_addr_ptr() API for getting that address. The more
detailed explanation can be found in commit a12a73b66476 ("drivers: use
dev_read_addr_ptr when cast to pointer").

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/serial/serial_s5p.c