Simply rename qdev_pass_gpios() and sysbus_pass_irq() arguments using self-describing names, to make the direction the GPIO/IRQ lines are passed obvious.
Note, currently each function arguments are inverted :) - qdev_pass_gpios: (from -> to) - sysbus_pass_irq: (to -> from) Philippe Mathieu-Daudé (2): hw/core/qdev: Make qdev_pass_gpios() arguments self-describing hw/core/sysbus: Make sysbus_pass_irq() arguments self-describing include/hw/qdev-core.h | 10 +++++----- include/hw/sysbus.h | 7 ++++++- hw/core/qdev.c | 14 +++++++------- hw/core/sysbus.c | 5 ++--- 4 files changed, 20 insertions(+), 16 deletions(-) -- 2.26.2