From: Joerg Roedel Date: Tue, 24 Nov 2009 16:19:23 +0000 (+0100) Subject: x86/amd-iommu: Use get_device_id and check_device where appropriate X-Git-Tag: v2.6.33-rc1~409^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98fc5a693bbdda498a556654c70d1e31a186c988;p=pandora-kernel.git x86/amd-iommu: Use get_device_id and check_device where appropriate The logic of these two functions is reimplemented (at least in parts) in places in the code. This patch removes these code duplications and uses the functions instead. As a side effect it moves check_device() to the helper function code section. Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed