/* cx_driver_remove - Remove driver from device struct. @dev: device  */
static int cx_driver_remove(struct device *dev)
/* cx_driver_remove - Remove driver from device struct. @dev: device  */
static int cx_driver_remove(struct device *dev)
{
	struct cx_dev *cx_dev = to_cx_dev(dev);
	struct cx_drv *cx_drv = cx_dev->driver;
	if (cx_drv->remove)
		cx_drv->remove(cx_dev);
	cx_dev->driver = NULL;
	return 0;
}