static void __exit cleanup_mtdchar(void)
{
  unregister_mtd_user(&notifier);
  class_destroy(mtd_class);
  unregister_chrdev(MTD_CHAR_MAJOR, "mtd");
}