void g_module_unload(GModule *module) { (void)module; xconnman_quit(); /* Remove triggers/filters from datapipes */ remove_output_trigger_from_datapipe(&master_radio_pipe, master_radio_trigger); return; }
void g_module_unload(GModule *module) { (void)module; /* Remove gconf notifications */ mce_gconf_notifier_remove(use_ps_conf_id), use_ps_conf_id = 0; /* Remove triggers/filters from datapipes */ remove_output_trigger_from_datapipe(&display_state_pipe, display_state_trigger); remove_input_trigger_from_datapipe(&alarm_ui_state_pipe, alarm_ui_state_trigger); remove_input_trigger_from_datapipe(&call_state_pipe, call_state_trigger); remove_output_trigger_from_datapipe(&submode_pipe, submode_trigger); /* Disable proximity monitoring to remove callbacks * to unloaded module */ disable_proximity_monitor(); return; }
/** * Exit function for the mce-dsme component * * @todo D-Bus unregistration * @todo trigger unregistration */ void mce_dsme_exit(void) { if (dsme_conn != NULL) { dsme_exit_processwd(); close_dsmesock(); } /* Remove triggers/filters from datapipes */ remove_output_trigger_from_datapipe(&charger_state_pipe, charger_state_trigger); /* Remove all timer sources */ cancel_state_transition_timeout(); return; }
void g_module_unload(GModule *module) { (void)module; /* Remove triggers/filters from datapipes */ remove_output_trigger_from_datapipe(&display_state_pipe, display_state_trigger); remove_filter_from_datapipe(&key_backlight_pipe, key_backlight_filter); remove_filter_from_datapipe(&led_brightness_pipe, led_brightness_filter); remove_filter_from_datapipe(&display_brightness_pipe, display_brightness_filter); quit_color_profiles(); /* Remove callbacks pointing to unloaded module */ mce_sensorfw_als_set_notify(0); return; }