/* waits until all work is done on unit and removes it then from the unit->list of the associated port.  */
static void zfcp_unit_release(struct device *dev)
/* waits until all work is done on unit and removes it then from the unit->list of the associated port.  */
static void zfcp_unit_release(struct device *dev)
{
	struct zfcp_unit *unit = container_of(dev, struct zfcp_unit,
					      sysfs_device);
	put_device(&unit->port->sysfs_device);
	kfree(unit);
}