hw/arm: Use TYPE_VERSATILE_I2C instead of hardcoded string
commit440c9f959d20b83c20c589f614cb14fd0dce4546
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 17 Jun 2020 07:25:30 +0000 (17 09:25 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 23 Jun 2020 10:39:47 +0000 (23 11:39 +0100)
tree4da9a5433f5457c9d5987c08bf1d07110d7d9b44
parentf61c3fb56bfad1d76422fa80d18ae5e39a47d61d
hw/arm: Use TYPE_VERSATILE_I2C instead of hardcoded string

By using the TYPE_* definitions for devices, we can:
 - quickly find where devices are used with 'git-grep'
 - easily rename a device (one-line change).

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200617072539.32686-6-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/realview.c
hw/arm/versatilepb.c
hw/arm/vexpress.c