/* vpfe_unregister_ccdc_device. CCDC module calls this to unregister with vpfe capture  */
void vpfe_unregister_ccdc_device(struct ccdc_hw_device *dev)
/* vpfe_unregister_ccdc_device. CCDC module calls this to unregister with vpfe capture  */
void vpfe_unregister_ccdc_device(struct ccdc_hw_device *dev)
{
	if (NULL == dev) {
		printk(KERN_ERR "invalid ccdc device ptr\n");
		return;
	}
	printk(KERN_NOTICE "vpfe_unregister_ccdc_device, dev->name = %s\n",
		dev->name);
	if (strcmp(dev->name, ccdc_cfg->name)) {
		return;
	}
	mutex_lock(&ccdc_lock);
	ccdc_dev = NULL;
	mutex_unlock(&ccdc_lock);
	return;
}