/* release_resource - release a previously reserved resource @old: resource pointer  */
int release_resource(struct resource *old)
/* release_resource - release a previously reserved resource @old: resource pointer  */
int release_resource(struct resource *old)
{
	int retval;
	write_lock(&resource_lock);
	retval = __release_resource(old);
	write_unlock(&resource_lock);
	return retval;
}