diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-11-09 18:42:31 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-11-10 18:19:13 +0100 |
commit | 31805a0aa46d8806fcdac7e1473251f40ca5b993 (patch) | |
tree | 9d7b1001561024279838630e9456391d50e16c7e /hw/arm/mps2.c | |
parent | 33f0c061287fcb8c4ae97802374a6208778684a4 (diff) |
hw/arm/mps2-tz: Use qdev_prop_set_array()
Instead of manually setting "foo-len" and "foo[i]" properties, build a
QList and use the new qdev_prop_set_array() helper to set the whole
array property with a single call.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20231109174240.72376-3-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/arm/mps2.c')
0 files changed, 0 insertions, 0 deletions