hw/misc/applesmc: Do not call DeviceReset from DeviceRealize
commit5c338216f57a433d897f30b258063ea75319b597
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 8 Apr 2024 09:45:31 +0000 (8 11:45 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 10 Apr 2024 07:09:34 +0000 (10 09:09 +0200)
tree70d4bd820ed9a24210bad89b17b160b20404458e
parentd39fdfff348fdf00173b7a58e935328a64db7d28
hw/misc/applesmc: Do not call DeviceReset from DeviceRealize

QDev core layer always call DeviceReset() after DeviceRealize(),
no need to do it manually. Remove the extra call.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20240408095217.57239-2-philmd@linaro.org>
hw/misc/applesmc.c