Searched refs:hsc_dev (Results 1 – 1 of 1) sorted by relevance
695 dev_t hsc_dev; in hsc_probe() local705 ret = alloc_chrdev_region(&hsc_dev, hsc_baseminor, in hsc_probe()708 hsc_major = MAJOR(hsc_dev); in hsc_probe()710 hsc_dev = MKDEV(hsc_major, hsc_baseminor); in hsc_probe()711 ret = register_chrdev_region(hsc_dev, HSC_DEVS, devname); in hsc_probe()731 ret = cdev_add(&cl_data->cdev, hsc_dev, HSC_DEVS); in hsc_probe()739 unregister_chrdev_region(hsc_dev, HSC_DEVS); in hsc_probe()750 dev_t hsc_dev = cl_data->cdev.dev; in hsc_remove() local753 unregister_chrdev_region(hsc_dev, HSC_DEVS); in hsc_remove()