/* Adds the driver structure to the list of registered drivers Returns zero or a negative error value.  */
int dio_register_driver(struct dio_driver *drv)
/* Adds the driver structure to the list of registered drivers Returns zero or a negative error value.  */
int dio_register_driver(struct dio_driver *drv)
{
	drv->driver.name = drv->name;
	drv->driver.bus = &dio_bus_type;
	return driver_register(&drv->driver);
}