static void __exit cfag12864b_exit(void) { cfag12864b_disable(); cfag12864b_off(); destroy_workqueue(cfag12864b_workqueue); kfree(cfag12864b_cache); free_page((unsigned long) cfag12864b_buffer); }
static void __exit cfag12864bfb_exit(void) { platform_device_unregister(cfag12864bfb_device); platform_driver_unregister(&cfag12864bfb_driver); cfag12864b_disable(); }