Re: [PATCH RESEND 2/2] hw/riscv/sifive_u: Resolve redundant property accessors

2022-03-01 Thread Alistair Francis
On Wed, Mar 2, 2022 at 8:57 AM Bernhard Beschow wrote: > > The QOM API already provides accessors for uint32 values, so reuse them. > > Signed-off-by: Bernhard Beschow > Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Alistair > --- > hw/riscv/sifive_u.c | 24 -

[PATCH RESEND 2/2] hw/riscv/sifive_u: Resolve redundant property accessors

2022-03-01 Thread Bernhard Beschow
The QOM API already provides accessors for uint32 values, so reuse them. Signed-off-by: Bernhard Beschow Reviewed-by: Philippe Mathieu-Daudé --- hw/riscv/sifive_u.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifiv