Home
last modified time | relevance | path

Searched refs:dasd_eer_dev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/s390/block/
H A Ddasd_eer.c698 dasd_eer_dev = kzalloc(sizeof(*dasd_eer_dev), GFP_KERNEL); in dasd_eer_init()
699 if (!dasd_eer_dev) in dasd_eer_init()
703 dasd_eer_dev->name = "dasd_eer"; in dasd_eer_init()
704 dasd_eer_dev->fops = &dasd_eer_fops; in dasd_eer_init()
706 rc = misc_register(dasd_eer_dev); in dasd_eer_init()
708 kfree(dasd_eer_dev); in dasd_eer_init()
709 dasd_eer_dev = NULL; in dasd_eer_init()
720 if (dasd_eer_dev) { in dasd_eer_exit()
721 misc_deregister(dasd_eer_dev); in dasd_eer_exit()
722 kfree(dasd_eer_dev); in dasd_eer_exit()
[all …]