/* Given a radio controller descriptor, validate and refcount it */
struct uwb_rc* __uwb_rc_try_get(struct uwb_rc *target_rc)
/* Given a radio controller descriptor, validate and refcount it */
struct uwb_rc* __uwb_rc_try_get(struct uwb_rc *target_rc)
{
	struct device *dev;
	struct uwb_rc *rc = NULL;
	dev = class_find_device(&uwb_rc_class, NULL, target_rc,
				find_rc_try_get);
	if (dev) {
		rc = dev_get_drvdata(dev);
		__uwb_rc_get(rc);
	}
	return rc;
}