[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] hw/core: Make qdev_pass_gpios/sysbus_pass_irq arguments self
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/2] hw/core: Make qdev_pass_gpios/sysbus_pass_irq arguments self-describing |
Date: |
Tue, 18 Aug 2020 16:38:23 +0200 |
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
- [PATCH 0/2] hw/core: Make qdev_pass_gpios/sysbus_pass_irq arguments self-describing,
Philippe Mathieu-Daudé <=