/*************************************************************************** * Function Name: cleanup_module * Description : Final function that is called if this driver is compiled * as a module. * Returns : None. ***************************************************************************/ void cleanup_module(void) { if (MOD_IN_USE) printk("adsl: cleanup_module failed because module is in use\n"); else adsl_cleanup(); }
static void dispose (GObject *object) { adsl_cleanup (NM_DEVICE_ADSL (object)); nm_clear_g_source (&NM_DEVICE_ADSL_GET_PRIVATE (object)->carrier_poll_id); G_OBJECT_CLASS (nm_device_adsl_parent_class)->dispose (object); }
static void deactivate (NMDevice *device) { adsl_cleanup (NM_DEVICE_ADSL (device)); }