hw/arm/mps2-tz: Use TYPE_IOTKIT instead of hardcoded string
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 28 Apr 2020 15:46:50 +0000 (17:46 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 May 2020 09:32:46 +0000 (10:32 +0100)
commit2e256c04c1852efd6a9b48e61fbcaced4b074c4e
tree49ae20ba7e9d49f17155aea33ddc034a1a696653
parentab553ef74ee52c0889679d0bd0da084aaf938f5c
hw/arm/mps2-tz: Use TYPE_IOTKIT 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: 20200428154650.21991-1-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/mps2-tz.c