hw/ssi/aspeed_smc: Rename 'max_slaves' variable as 'max_peripherals'
commit5ade579ba9ae81adcb36b0ff185ce13cc560ed01
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 12 Oct 2020 12:49:53 +0000 (12 14:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Dec 2020 17:15:03 +0000 (10 12:15 -0500)
tree5f05e2c7f32e641ff1f5f86816b616d3586d4b81
parent00b46eccffd3e74f24906e8d251861625fa3222c
hw/ssi/aspeed_smc: Rename 'max_slaves' variable as 'max_peripherals'

In order to use inclusive terminology, rename max_slaves
as max_peripherals.

Patch generated using:

  $ sed -i s/slave/peripheral/ \
        hw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h

One line in aspeed_smc_read() has been manually tweaked
to pass checkpatch.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201012124955.3409127-2-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/ssi/aspeed_smc.c
include/hw/ssi/aspeed_smc.h