hw/char/cmsdk-apb-uart: Open-code cmsdk_apb_uart_create()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 20 Feb 2023 11:51:12 +0000 (12:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 27 Feb 2023 13:27:05 +0000 (13:27 +0000)
commit4ab694b9a81df82f3ac7ce1e59f7855c57af2eb1
tree9692b7c43caadf2f9468f1ee6137b3cf3554a3ae
parentdc1daf392c7cc6d1481bd9ce40a5594e624e7b47
hw/char/cmsdk-apb-uart: Open-code cmsdk_apb_uart_create()

cmsdk_apb_uart_create() is only used twice in the same
file. Open-code it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20230220115114.25237-7-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/mps2.c
include/hw/char/cmsdk-apb-uart.h