Commit 45669874 authored by Corentin Labbe's avatar Corentin Labbe Committed by Herbert Xu

crypto: rockchip - fix style issue

This patch fixes some warning reported by checkpatch
Reviewed-by: default avatarJohn Keeping <john@metanate.com>
Signed-off-by: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 37bc2215
...@@ -336,7 +336,7 @@ static int rk_cra_hash_init(struct crypto_tfm *tfm) ...@@ -336,7 +336,7 @@ static int rk_cra_hash_init(struct crypto_tfm *tfm)
/* for fallback */ /* for fallback */
tctx->fallback_tfm = crypto_alloc_ahash(alg_name, 0, tctx->fallback_tfm = crypto_alloc_ahash(alg_name, 0,
CRYPTO_ALG_NEED_FALLBACK); CRYPTO_ALG_NEED_FALLBACK);
if (IS_ERR(tctx->fallback_tfm)) { if (IS_ERR(tctx->fallback_tfm)) {
dev_err(tctx->dev->dev, "Could not load fallback driver.\n"); dev_err(tctx->dev->dev, "Could not load fallback driver.\n");
return PTR_ERR(tctx->fallback_tfm); return PTR_ERR(tctx->fallback_tfm);
...@@ -394,8 +394,8 @@ struct rk_crypto_tmp rk_ahash_sha1 = { ...@@ -394,8 +394,8 @@ struct rk_crypto_tmp rk_ahash_sha1 = {
.cra_init = rk_cra_hash_init, .cra_init = rk_cra_hash_init,
.cra_exit = rk_cra_hash_exit, .cra_exit = rk_cra_hash_exit,
.cra_module = THIS_MODULE, .cra_module = THIS_MODULE,
} }
} }
} }
}; };
...@@ -424,8 +424,8 @@ struct rk_crypto_tmp rk_ahash_sha256 = { ...@@ -424,8 +424,8 @@ struct rk_crypto_tmp rk_ahash_sha256 = {
.cra_init = rk_cra_hash_init, .cra_init = rk_cra_hash_init,
.cra_exit = rk_cra_hash_exit, .cra_exit = rk_cra_hash_exit,
.cra_module = THIS_MODULE, .cra_module = THIS_MODULE,
} }
} }
} }
}; };
...@@ -454,7 +454,7 @@ struct rk_crypto_tmp rk_ahash_md5 = { ...@@ -454,7 +454,7 @@ struct rk_crypto_tmp rk_ahash_md5 = {
.cra_init = rk_cra_hash_init, .cra_init = rk_cra_hash_init,
.cra_exit = rk_cra_hash_exit, .cra_exit = rk_cra_hash_exit,
.cra_module = THIS_MODULE, .cra_module = THIS_MODULE,
}
} }
}
} }
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment