crypto: qat - fix get instance function
authorTadeusz Struk <tadeusz.struk@intel.com>
Thu, 22 Oct 2015 13:30:36 +0000 (06:30 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 17 Nov 2015 13:58:36 +0000 (21:58 +0800)
commitd956fed7b68fa1713b7ad0d8e100824cc55afce8
treebc6ff7bf6ee0af82feb93295dd69c16321db883b
parent16f56e8b751f72e0e105abc1d8f5912c340a5623
crypto: qat - fix get instance function

Fix the logic in case we have found a device on a given node.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_crypto.c