/* This function is mainly a wrapper around driver_register(). Returns: %0 on success and a negative error value on failure.  */
int ccw_driver_register(struct ccw_driver *cdriver)
/* This function is mainly a wrapper around driver_register(). Returns: %0 on success and a negative error value on failure.  */
int ccw_driver_register(struct ccw_driver *cdriver)
{
	struct device_driver *drv = &cdriver->driver;
	drv->bus = &ccw_bus_type;
	drv->name = cdriver->name;
	drv->owner = cdriver->owner;
	return driver_register(drv);
}