/* This is mainly a wrapper around driver_register that sets name and bus_type in the embedded struct device_driver correctly.  */
int css_driver_register(struct css_driver *cdrv)
/* This is mainly a wrapper around driver_register that sets name and bus_type in the embedded struct device_driver correctly.  */
int css_driver_register(struct css_driver *cdrv)
{
	cdrv->drv.name = cdrv->name;
	cdrv->drv.bus = &css_bus_type;
	cdrv->drv.owner = cdrv->owner;
	return driver_register(&cdrv->drv);
}