]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/qdev-core.h
qdev: Complete qdev_init_gpio_out() documentation
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 19 Aug 2021 14:27:31 +0000 (16:27 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 15 Sep 2021 13:16:45 +0000 (15:16 +0200)
commit526dc8405dd8cc8b1c9bc9d1ec2d950cb16bef1f
tree7716ce64161866170e83c559195ca8ca3d7dc45b
parent4be8bfcb4d61d7a03e04c942258c6e3e12a2394d
qdev: Complete qdev_init_gpio_out() documentation

qdev_init_gpio_out() states it "creates an array of anonymous
output GPIO lines" but doesn't document how this array is
released. Add a note that it is automatically free'd in qdev
instance_finalize().

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210819142731.2827912-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
include/hw/qdev-core.h