hw: Rename DeviceClass::reset field to legacy_reset
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Sep 2024 14:31:45 +0000 (15:31 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Sep 2024 14:31:45 +0000 (15:31 +0100)
commit1000872dde2fc089823df7394ca2c9690734091a
tree9f12983d21efe0aea5d14b26313f5c716deb9cd4
parente3d0814368d00e7985c31edf5d0cfce45972d4be
hw: Rename DeviceClass::reset field to legacy_reset

Rename the DeviceClass::reset field to legacy_reset; this is helpful
both in flagging up that it's best not used in new code and in
making it easy to search for where it's being used still.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20240830145812.1967042-9-peter.maydell@linaro.org
hw/core/qdev.c
include/hw/qdev-core.h