Replace prefix 'libsys' with 'syscommon' 68/296268/3
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 24 Jul 2023 11:47:34 +0000 (20:47 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Tue, 25 Jul 2023 01:38:47 +0000 (10:38 +0900)
Change-Id: I10e88e888da3a8a9c5cfed8640ac2aaceecf3565
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
plugins/iot-headless/input/input-config.c
src/battery/battery-parser.c
src/input/input-parser.c
src/power/power-boot.c
src/usb-gadget/usb-gadget-ops.c

index 4a8715d..2848af7 100644 (file)
@@ -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);
 }
index 52932d5..91f8b50 100644 (file)
@@ -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)
index 7ce482c..d94b586 100644 (file)
@@ -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
+}
index b9b1fc7..c8a81d1 100644 (file)
@@ -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);
 }
index cfc29cb..1c91f59 100644 (file)
@@ -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;