def close(self):
        """Release libpci resources."""
        if self._access is not None:
            _logger.debug("Cleaning up")
            pci_cleanup(self._access)
        self._access = None
Release libpci resources.