summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-i2c.c
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@gmail.com>2023-01-13 08:47:15 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-01-20 11:29:31 +0100
commitb0f4f74631979afaff6b5b7b8e54eb1cf2bd5cfa (patch)
tree890e2309fb479df21238a8758f73826b063a2c7e /drivers/crypto/atmel-i2c.c
parentcrypto: qat - fix spelling mistakes from 'bufer' to 'buffer' (diff)
downloadlinux-b0f4f74631979afaff6b5b7b8e54eb1cf2bd5cfa.tar.xz
linux-b0f4f74631979afaff6b5b7b8e54eb1cf2bd5cfa.zip
crypto: atmel-i2c - avoid defines prefixed with CONFIG
Defines prefixed with "CONFIG" should be limited to proper Kconfig options, that are introduced in a Kconfig file. Here, a definition for the driver's configuration zone is named CONFIG_ZONE. Rename this local definition to CONFIGURATION_ZONE to avoid defines prefixed with "CONFIG". No functional change. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-i2c.c')
-rw-r--r--drivers/crypto/atmel-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-i2c.c b/drivers/crypto/atmel-i2c.c
index 81ce09bedda8..e0896224513a 100644
--- a/drivers/crypto/atmel-i2c.c
+++ b/drivers/crypto/atmel-i2c.c
@@ -59,7 +59,7 @@ void atmel_i2c_init_read_cmd(struct atmel_i2c_cmd *cmd)
* Read the word from Configuration zone that contains the lock bytes
* (UserExtra, Selector, LockValue, LockConfig).
*/
- cmd->param1 = CONFIG_ZONE;
+ cmd->param1 = CONFIGURATION_ZONE;
cmd->param2 = cpu_to_le16(DEVICE_LOCK_ADDR);
cmd->count = READ_COUNT;