/* Registers the passed in @drv, while updating the bus type. Devices with matching function IDs will be automatically probed.  */
int maple_driver_register(struct maple_driver *drv)
/* Registers the passed in @drv, while updating the bus type. Devices with matching function IDs will be automatically probed.  */
int maple_driver_register(struct maple_driver *drv)
{
	if (!drv)
		return -EINVAL;
	drv->drv.bus = &maple_bus_type;
	return driver_register(&drv->drv);
}