/* This function must be called with @dev->sem held.  */
int device_bind_driver(struct device *dev)
/* This function must be called with @dev->sem held.  */
int device_bind_driver(struct device *dev)
{
	int ret;
	ret = driver_sysfs_add(dev);
	if (!ret)
		driver_bound(dev);
	return ret;
}