[PATCH 0/5] m48t59: remove legacy init functions

Mark Cave-Ayland posted 5 patches 3 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201016182739.22875-1-mark.cave-ayland@ilande.co.uk
Maintainers: David Gibson <david@gibson.dropbear.id.au>, "Hervé Poussineau" <hpoussin@reactos.org>, Artyom Tarasenko <atar4qemu@gmail.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
There is a newer version of this series
hw/ppc/ppc405_boards.c  | 10 +++++++++-
hw/rtc/m48t59-isa.c     | 25 -------------------------
hw/rtc/m48t59.c         | 35 -----------------------------------
hw/sparc/sun4m.c        |  8 +++++++-
hw/sparc64/sun4u.c      |  7 +++++--
include/hw/rtc/m48t59.h |  6 ------
6 files changed, 21 insertions(+), 70 deletions(-)
[PATCH 0/5] m48t59: remove legacy init functions
Posted by Mark Cave-Ayland 3 years, 6 months ago
This patchset is inspired by Philippe's "hw/rtc/m48t59: Simplify m48t59_init()"
patchset at https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg04493.html
but goes further: rather than tidy-up the legacy init functions, convert the
callers to use qdev properties directly so they can simply be removed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


Mark Cave-Ayland (5):
  m48t59-isa: remove legacy m48t59_init_isa() function
  sun4m: use qdev properties instead of legacy m48t59_init() function
  sun4u: use qdev properties instead of legacy m48t59_init() function
  ppc405_boards: use qdev properties instead of legacy m48t59_init()
    function
  m48t59: remove legacy m48t59_init() function

 hw/ppc/ppc405_boards.c  | 10 +++++++++-
 hw/rtc/m48t59-isa.c     | 25 -------------------------
 hw/rtc/m48t59.c         | 35 -----------------------------------
 hw/sparc/sun4m.c        |  8 +++++++-
 hw/sparc64/sun4u.c      |  7 +++++--
 include/hw/rtc/m48t59.h |  6 ------
 6 files changed, 21 insertions(+), 70 deletions(-)

-- 
2.20.1


Re: [PATCH 0/5] m48t59: remove legacy init functions
Posted by Hervé Poussineau 3 years, 6 months ago
Le 16/10/2020 à 20:27, Mark Cave-Ayland a écrit :
> This patchset is inspired by Philippe's "hw/rtc/m48t59: Simplify m48t59_init()"
> patchset at https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg04493.html
> but goes further: rather than tidy-up the legacy init functions, convert the
> callers to use qdev properties directly so they can simply be removed.
> 
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> 
> 
> Mark Cave-Ayland (5):
>    m48t59-isa: remove legacy m48t59_init_isa() function
>    sun4m: use qdev properties instead of legacy m48t59_init() function
>    sun4u: use qdev properties instead of legacy m48t59_init() function
>    ppc405_boards: use qdev properties instead of legacy m48t59_init()
>      function
>    m48t59: remove legacy m48t59_init() function
> 
>   hw/ppc/ppc405_boards.c  | 10 +++++++++-
>   hw/rtc/m48t59-isa.c     | 25 -------------------------
>   hw/rtc/m48t59.c         | 35 -----------------------------------
>   hw/sparc/sun4m.c        |  8 +++++++-
>   hw/sparc64/sun4u.c      |  7 +++++--
>   include/hw/rtc/m48t59.h |  6 ------
>   6 files changed, 21 insertions(+), 70 deletions(-)
> 

Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>