static void __exit cpu_core_voltage__exit(void) { struct cpu_core_voltage *pcore = &cpu_core_vol; destroy_workqueue(pcore->down_wq); jz_notifier_unregister(&pcore->clkgate_change, NOTEFY_PROI_HIGH); jz_notifier_unregister(&pcore->clk_prechange, NOTEFY_PROI_HIGH); }
static int ricoh61x_unregister_reset_notifier(struct jz_notifier *nb) { return jz_notifier_unregister(nb, NOTEFY_PROI_HIGH); }