mbox series

[v2,0/6] Trivial cleanups

Message ID 20230521123049.312349-1-shentey@gmail.com (mailing list archive)
Headers show
Series Trivial cleanups | expand

Message

Bernhard Beschow May 21, 2023, 12:30 p.m. UTC
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