chardev: ChardevClass: consistent naming for handlers

Most handlers have name prefixed with "chr_". That's a good practice
which helps to grep them. Convert the rest: .parse, .open,
get/set_msgfds.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20260115144606.233252-4-vsementsov@yandex-team.ru>
This commit is contained in:
Vladimir Sementsov-Ogievskiy
2026-01-15 17:45:57 +03:00
committed by Marc-André Lureau
parent 2a545fd851
commit 6b4f8e7488
29 changed files with 62 additions and 62 deletions

View File

@@ -244,7 +244,7 @@ static void char_gdb_class_init(ObjectClass *oc, const void *data)
ChardevClass *cc = CHARDEV_CLASS(oc);
cc->internal = true;
cc->open = gdb_monitor_open;
cc->chr_open = gdb_monitor_open;
cc->chr_write = gdb_monitor_write;
}