/* Drivers for RIO devices should normally record such references in their probe() methods, when they bind to a device, and release them by calling rio_dev_put(), in their disconnect() methods.  */
struct rio_dev* rio_dev_get(struct rio_dev *rdev)
/* Drivers for RIO devices should normally record such references in their probe() methods, when they bind to a device, and release them by calling rio_dev_put(), in their disconnect() methods.  */
struct rio_dev* rio_dev_get(struct rio_dev *rdev)
{
	if (rdev)
		get_device(&rdev->dev);
	return rdev;
}