Kaynağa Gözat

crypto: caam - fix indentation of close braces

The kernel's coding style suggests that closing braces for initialisers
should not be aligned to the open brace column.  The CodingStyle doc
shows how this should be done.  Remove the additional tab.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Russell King 9 yıl önce
ebeveyn
işleme
659f313dcf
1 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  1. 6 6
      drivers/crypto/caam/caamhash.c

+ 6 - 6
drivers/crypto/caam/caamhash.c

@@ -1632,8 +1632,8 @@ static struct caam_hash_template driver_hash[] = {
 			.halg = {
 			.halg = {
 				.digestsize = SHA1_DIGEST_SIZE,
 				.digestsize = SHA1_DIGEST_SIZE,
 				.statesize = sizeof(struct caam_export_state),
 				.statesize = sizeof(struct caam_export_state),
-				},
 			},
 			},
+		},
 		.alg_type = OP_ALG_ALGSEL_SHA1,
 		.alg_type = OP_ALG_ALGSEL_SHA1,
 		.alg_op = OP_ALG_ALGSEL_SHA1 | OP_ALG_AAI_HMAC,
 		.alg_op = OP_ALG_ALGSEL_SHA1 | OP_ALG_AAI_HMAC,
 	}, {
 	}, {
@@ -1654,8 +1654,8 @@ static struct caam_hash_template driver_hash[] = {
 			.halg = {
 			.halg = {
 				.digestsize = SHA224_DIGEST_SIZE,
 				.digestsize = SHA224_DIGEST_SIZE,
 				.statesize = sizeof(struct caam_export_state),
 				.statesize = sizeof(struct caam_export_state),
-				},
 			},
 			},
+		},
 		.alg_type = OP_ALG_ALGSEL_SHA224,
 		.alg_type = OP_ALG_ALGSEL_SHA224,
 		.alg_op = OP_ALG_ALGSEL_SHA224 | OP_ALG_AAI_HMAC,
 		.alg_op = OP_ALG_ALGSEL_SHA224 | OP_ALG_AAI_HMAC,
 	}, {
 	}, {
@@ -1676,8 +1676,8 @@ static struct caam_hash_template driver_hash[] = {
 			.halg = {
 			.halg = {
 				.digestsize = SHA256_DIGEST_SIZE,
 				.digestsize = SHA256_DIGEST_SIZE,
 				.statesize = sizeof(struct caam_export_state),
 				.statesize = sizeof(struct caam_export_state),
-				},
 			},
 			},
+		},
 		.alg_type = OP_ALG_ALGSEL_SHA256,
 		.alg_type = OP_ALG_ALGSEL_SHA256,
 		.alg_op = OP_ALG_ALGSEL_SHA256 | OP_ALG_AAI_HMAC,
 		.alg_op = OP_ALG_ALGSEL_SHA256 | OP_ALG_AAI_HMAC,
 	}, {
 	}, {
@@ -1698,8 +1698,8 @@ static struct caam_hash_template driver_hash[] = {
 			.halg = {
 			.halg = {
 				.digestsize = SHA384_DIGEST_SIZE,
 				.digestsize = SHA384_DIGEST_SIZE,
 				.statesize = sizeof(struct caam_export_state),
 				.statesize = sizeof(struct caam_export_state),
-				},
 			},
 			},
+		},
 		.alg_type = OP_ALG_ALGSEL_SHA384,
 		.alg_type = OP_ALG_ALGSEL_SHA384,
 		.alg_op = OP_ALG_ALGSEL_SHA384 | OP_ALG_AAI_HMAC,
 		.alg_op = OP_ALG_ALGSEL_SHA384 | OP_ALG_AAI_HMAC,
 	}, {
 	}, {
@@ -1720,8 +1720,8 @@ static struct caam_hash_template driver_hash[] = {
 			.halg = {
 			.halg = {
 				.digestsize = SHA512_DIGEST_SIZE,
 				.digestsize = SHA512_DIGEST_SIZE,
 				.statesize = sizeof(struct caam_export_state),
 				.statesize = sizeof(struct caam_export_state),
-				},
 			},
 			},
+		},
 		.alg_type = OP_ALG_ALGSEL_SHA512,
 		.alg_type = OP_ALG_ALGSEL_SHA512,
 		.alg_op = OP_ALG_ALGSEL_SHA512 | OP_ALG_AAI_HMAC,
 		.alg_op = OP_ALG_ALGSEL_SHA512 | OP_ALG_AAI_HMAC,
 	}, {
 	}, {
@@ -1742,8 +1742,8 @@ static struct caam_hash_template driver_hash[] = {
 			.halg = {
 			.halg = {
 				.digestsize = MD5_DIGEST_SIZE,
 				.digestsize = MD5_DIGEST_SIZE,
 				.statesize = sizeof(struct caam_export_state),
 				.statesize = sizeof(struct caam_export_state),
-				},
 			},
 			},
+		},
 		.alg_type = OP_ALG_ALGSEL_MD5,
 		.alg_type = OP_ALG_ALGSEL_MD5,
 		.alg_op = OP_ALG_ALGSEL_MD5 | OP_ALG_AAI_HMAC,
 		.alg_op = OP_ALG_ALGSEL_MD5 | OP_ALG_AAI_HMAC,
 	},
 	},