[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/6] Trivial cleanups
From: |
Bernhard Beschow |
Subject: |
[PATCH v2 0/6] Trivial cleanups |
Date: |
Sun, 21 May 2023 14:30:43 +0200 |
This series:
* Removes dead code from omap_uart and i82378
* Resolves redundant code in the i8254 timer devices
* Exports ParallelState and ISAParallelState in order to replac string literals
by TYPE_ISA_PARALLEL macro usage
v2:
* Export ParallelState and ISAParallelState (Mark)
Testing done:
* `make check`
Bernhard Beschow (6):
hw/timer/i8254_common: Share "iobase" property via base class
hw/arm/omap: Remove unused omap_uart_attach()
hw/isa/i82378: Remove unused "io" attribute
hw/char/parallel: Export ParallelState
hw/char/parallel-isa: Export ISAParallelState
hw/char/parallel: Replace string literals by TYPE_ISA_PARALLEL macro
include/hw/arm/omap.h | 1 -
include/hw/char/parallel-isa.h | 46 ++++++++++++++++++++++++++++
include/hw/char/parallel.h | 44 +++++++++++++++++++++++++++
hw/char/omap_uart.c | 9 ------
hw/char/parallel-isa.c | 3 +-
hw/char/parallel.c | 55 +---------------------------------
hw/i386/kvm/i8254.c | 1 -
hw/isa/i82378.c | 1 -
hw/isa/isa-superio.c | 3 +-
hw/timer/i8254.c | 6 ----
hw/timer/i8254_common.c | 6 ++++
11 files changed, 101 insertions(+), 74 deletions(-)
create mode 100644 include/hw/char/parallel-isa.h
--
2.40.1
- [PATCH v2 0/6] Trivial cleanups,
Bernhard Beschow <=
- [PATCH v2 2/6] hw/arm/omap: Remove unused omap_uart_attach(), Bernhard Beschow, 2023/05/21
- [PATCH v2 1/6] hw/timer/i8254_common: Share "iobase" property via base class, Bernhard Beschow, 2023/05/21
- [PATCH v2 4/6] hw/char/parallel: Export ParallelState, Bernhard Beschow, 2023/05/21
- [PATCH v2 3/6] hw/isa/i82378: Remove unused "io" attribute, Bernhard Beschow, 2023/05/21
- [PATCH v2 5/6] hw/char/parallel-isa: Export ISAParallelState, Bernhard Beschow, 2023/05/21
- [PATCH v2 6/6] hw/char/parallel: Replace string literals by TYPE_ISA_PARALLEL macro, Bernhard Beschow, 2023/05/21