[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 4/6] hw/input/lasips2: Fix typos in function names
From: |
Laurent Vivier |
Subject: |
[PULL 4/6] hw/input/lasips2: Fix typos in function names |
Date: |
Mon, 1 Nov 2021 09:27:45 +0100 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Artist is another device, this one is the Lasi PS/2.
Rename the functions accordingly.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Message-Id: <20210920064048.2729397-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
hw/input/lasips2.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/input/lasips2.c b/hw/input/lasips2.c
index e7faf24058b4..68d741d34215 100644
--- a/hw/input/lasips2.c
+++ b/hw/input/lasips2.c
@@ -96,7 +96,7 @@ typedef enum {
LASIPS2_STATUS_CLKSHD = 0x80,
} lasips2_status_reg_t;
-static const char *artist_read_reg_name(uint64_t addr)
+static const char *lasips2_read_reg_name(uint64_t addr)
{
switch (addr & 0xc) {
case REG_PS2_ID:
@@ -116,7 +116,7 @@ static const char *artist_read_reg_name(uint64_t addr)
}
}
-static const char *artist_write_reg_name(uint64_t addr)
+static const char *lasips2_write_reg_name(uint64_t addr)
{
switch (addr & 0x0c) {
case REG_PS2_RESET:
@@ -145,7 +145,7 @@ static void lasips2_reg_write(void *opaque, hwaddr addr,
uint64_t val,
LASIPS2Port *port = opaque;
trace_lasips2_reg_write(size, port->id, addr,
- artist_write_reg_name(addr), val);
+ lasips2_write_reg_name(addr), val);
switch (addr & 0xc) {
case REG_PS2_CONTROL:
@@ -239,7 +239,7 @@ static uint64_t lasips2_reg_read(void *opaque, hwaddr addr,
unsigned size)
break;
}
trace_lasips2_reg_read(size, port->id, addr,
- artist_read_reg_name(addr), ret);
+ lasips2_read_reg_name(addr), ret);
return ret;
}
--
2.31.1
- [PULL 0/6] Trivial branch for 6.2 patches, Laurent Vivier, 2021/11/01
- [PULL 1/6] monitor: Trim some trailing space from human-readable output, Laurent Vivier, 2021/11/01
- [PULL 3/6] MAINTAINERS: Split HPPA TCG vs HPPA machines/hardware, Laurent Vivier, 2021/11/01
- [PULL 5/6] hw/input/lasips2: Move LASIPS2State declaration to 'hw/input/lasips2.h', Laurent Vivier, 2021/11/01
- [PULL 2/6] hw/core/machine: Add the missing delimiter in cpu_slot_to_string(), Laurent Vivier, 2021/11/01
- [PULL 4/6] hw/input/lasips2: Fix typos in function names,
Laurent Vivier <=
- [PULL 6/6] hw/input/lasips2: QOM'ify the Lasi PS/2, Laurent Vivier, 2021/11/01
- [PULL 0/6] Trivial branch for 6.2 patches, Laurent Vivier, 2021/11/09
- [PULL 1/6] hmp: Add shortcut to stop command to match cont, Laurent Vivier, 2021/11/09
- [PULL 2/6] hw/m68k: Fix typo in SPDX tag, Laurent Vivier, 2021/11/09
- [PULL 4/6] meson: Fix 'interpretor' typo, Laurent Vivier, 2021/11/09
- [PULL 5/6] tests/qtest/virtio-net: fix hotplug test case, Laurent Vivier, 2021/11/09
- [PULL 3/6] .mailmap: Fix more contributor entries, Laurent Vivier, 2021/11/09