[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 11/16] qdev: gpio: delete NamedGPIOList::out
From: |
Peter Crosthwaite |
Subject: |
[Qemu-devel] [PATCH v1 11/16] qdev: gpio: delete NamedGPIOList::out |
Date: |
Sun, 3 Aug 2014 18:57:32 -0700 |
All users of GPIO outputs are fully QOMified, using QOM properties to
access the GPIO data. Delete.
Signed-off-by: Peter Crosthwaite <address@hidden>
---
hw/core/qdev.c | 1 -
include/hw/qdev-core.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/hw/core/qdev.c b/hw/core/qdev.c
index 4cbf773..77b0b09 100644
--- a/hw/core/qdev.c
+++ b/hw/core/qdev.c
@@ -368,7 +368,6 @@ void qdev_init_gpio_out_named(DeviceState *dev, qemu_irq
*pins,
assert(gpio_list->num_in == 0 || !name);
assert(gpio_list->num_out == 0);
gpio_list->num_out = n;
- gpio_list->out = pins;
char *propname = g_strdup_printf("%s[*]", name ? name :
"unnamed-gpio-out");
for (i = 0; i < n; ++i) {
diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h
index e17e19b..d3326b1 100644
--- a/include/hw/qdev-core.h
+++ b/include/hw/qdev-core.h
@@ -137,7 +137,6 @@ struct NamedGPIOList {
char *name;
qemu_irq *in;
int num_in;
- qemu_irq *out;
int num_out;
QLIST_ENTRY(NamedGPIOList) node;
};
--
2.0.1.1.gfbfc394
- Re: [Qemu-devel] [PATCH v1 03/16] qdev: gpio: Register GPIO outputs as QOM links, (continued)
- [Qemu-devel] [PATCH v1 04/16] qmp: qstring: Handle NULL strings, Peter Crosthwaite, 2014/08/03
- [Qemu-devel] [PATCH v1 05/16] qom: Allow clearing of a Link property, Peter Crosthwaite, 2014/08/03
- [Qemu-devel] [PATCH v1 06/16] qom: Demote already-has-a-parent to a regular error, Peter Crosthwaite, 2014/08/03
- [Qemu-devel] [PATCH v1 07/16] qdev: gpio: Re-impement qdev_connect_gpio QOM style, Peter Crosthwaite, 2014/08/03
- [Qemu-devel] [PATCH v1 08/16] qdev: gpio: Add API for intercepting an IRQ, Peter Crosthwaite, 2014/08/03
- [Qemu-devel] [PATCH v1 09/16] qtest/irq: Rework IRQ interception, Peter Crosthwaite, 2014/08/03
- [Qemu-devel] [PATCH v1 10/16] irq: Remove qemu_irq_intercept_out, Peter Crosthwaite, 2014/08/03
- [Qemu-devel] [PATCH v1 11/16] qdev: gpio: delete NamedGPIOList::out,
Peter Crosthwaite <=
- [Qemu-devel] [PATCH v1 12/16] qdev: gpio: Remove qdev_init_gpio_out x1 restriction, Peter Crosthwaite, 2014/08/03
- [Qemu-devel] [PATCH v1 13/16] qdev: gpio: Define qdev_pass_gpios(), Peter Crosthwaite, 2014/08/03