hw/arm/spitz: Use max111x properties to set initial values
commit4aed7b51c298e5497ff0d3d7d584f3c53acc9f3f
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:44 +0000 (3 16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:44 +0000 (3 16:59 +0100)
treebc525b0c2c8a910ede6b78ecaa36c088db7e931c
parent581e109d5836f5166d15a01c43e18632f93357c5
hw/arm/spitz: Use max111x properties to set initial values

Use the new max111x qdev properties to set the initial input
values rather than calling max111x_set_input(); this means that
on system reset the inputs will correctly return to their initial
values.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200628142429.17111-10-peter.maydell@linaro.org
hw/arm/spitz.c