From 3d615de344d2acb3bd2d155ea33248544cb6827b Mon Sep 17 00:00:00 2001 From: Youngjae Cho Date: Mon, 24 Jul 2023 20:47:34 +0900 Subject: [PATCH] Replace prefix 'libsys' with 'syscommon' Change-Id: I10e88e888da3a8a9c5cfed8640ac2aaceecf3565 Signed-off-by: Youngjae Cho --- plugins/iot-headless/input/input-config.c | 2 +- src/battery/battery-parser.c | 2 +- src/input/input-parser.c | 4 ++-- src/power/power-boot.c | 2 +- src/usb-gadget/usb-gadget-ops.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/iot-headless/input/input-config.c b/plugins/iot-headless/input/input-config.c index 4a8715d..2848af7 100644 --- a/plugins/iot-headless/input/input-config.c +++ b/plugins/iot-headless/input/input-config.c @@ -289,5 +289,5 @@ int check_input_event_condition(const struct input_event_unit *ieu) void init_input_config(void) { - libsys_config_parse_by_section(INPUT_CONF_PATH, parse_event_action, NULL); + syscommon_config_parse_by_section(INPUT_CONF_PATH, parse_event_action, NULL); } diff --git a/src/battery/battery-parser.c b/src/battery/battery-parser.c index 52932d5..91f8b50 100644 --- a/src/battery/battery-parser.c +++ b/src/battery/battery-parser.c @@ -154,7 +154,7 @@ static void load_battery_charger_event(struct battery_config_info *info) info->event_handlers = NULL; info->event_handler_number = 0; - libsys_config_parse_by_section(BAT_CONF_FILE, parse_event_action, info); + syscommon_config_parse_by_section(BAT_CONF_FILE, parse_event_action, info); } void battery_parser_load_config(struct battery_config_info *info) diff --git a/src/input/input-parser.c b/src/input/input-parser.c index 7ce482c..d94b586 100644 --- a/src/input/input-parser.c +++ b/src/input/input-parser.c @@ -146,7 +146,7 @@ int input_parser_init(void) if (access(INPUT_CONF_PATH, F_OK) == -1) return 0; - ret = libsys_config_parse_by_section(INPUT_CONF_PATH, parse_input_device_section, NULL); + ret = syscommon_config_parse_by_section(INPUT_CONF_PATH, parse_input_device_section, NULL); if (g_hash_table_to_check_default_duplicated) { g_hash_table_destroy(g_steal_pointer(&g_hash_table_to_check_default_duplicated)); @@ -156,4 +156,4 @@ int input_parser_init(void) return ret; return 0; -} \ No newline at end of file +} diff --git a/src/power/power-boot.c b/src/power/power-boot.c index b9b1fc7..c8a81d1 100644 --- a/src/power/power-boot.c +++ b/src/power/power-boot.c @@ -186,7 +186,7 @@ void initial_transition_by_boot_condition(void) _I("Failed to get BootMode, %d", retval); CRITICAL_LOG("BootReason=%s, BootMode=%s", bc.reason, bc.mode); - libsys_config_parse_by_section(INIT_CONF_PATH, parse_matching_boot_condition, NULL); + syscommon_config_parse_by_section(INIT_CONF_PATH, parse_matching_boot_condition, NULL); power_request_change_state_strict(init_ti.curr, init_ti.next, init_ti.reason, NULL); } diff --git a/src/usb-gadget/usb-gadget-ops.c b/src/usb-gadget/usb-gadget-ops.c index cfc29cb..1c91f59 100644 --- a/src/usb-gadget/usb-gadget-ops.c +++ b/src/usb-gadget/usb-gadget-ops.c @@ -492,7 +492,7 @@ int usb_gadget_ops_init(void) int ret; int retval; - libsys_config_parse_by_section(PATH_USB_GADGET_CONF, load_usb_gadget_config, NULL); + syscommon_config_parse_by_section(PATH_USB_GADGET_CONF, load_usb_gadget_config, NULL); if (is_emulator()) { __usb_gadget_open = dummy_usb_gadget_open; -- 2.7.4