qdev: gpio: Remove qdev_init_gpio_out x1 restriction
commitaef0869e8ed83ec201488020a9a1cc44d85d72bf
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Fri, 26 Sep 2014 05:23:09 +0000 (25 22:23 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Oct 2014 14:41:26 +0000 (23 16:41 +0200)
tree6e9bfb340cd162933a5aa08df786bc03d1a59e41
parent15942b65697c7016a8ca836ecbfd9777d959187c
qdev: gpio: Remove qdev_init_gpio_out x1 restriction

Previously this was restricted to a single call per-dev/per-name. With
the conversion of the GPIO output state to QOM the implementation can
now handle repeated calls. Remove the restriction.

Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/qdev.c