]> git.ipfire.org Git - thirdparty/linux.git/commit
soc: fsl: cpm1: tsa: Use BIT(), GENMASK() and FIELD_PREP() macros
authorHerve Codina <herve.codina@bootlin.com>
Thu, 8 Aug 2024 07:10:57 +0000 (09:10 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 3 Sep 2024 05:49:17 +0000 (07:49 +0200)
commit37dbcd596f9056c5bc6f196873599dca01bc3774
tree42239e5f9d359c2366293a0ee74acf5cdca7a1af
parent47a347bae9a491b467ab3543e4725a3e4fbe30f5
soc: fsl: cpm1: tsa: Use BIT(), GENMASK() and FIELD_PREP() macros

checkpatch.pl signals the following improvement for tsa.c
  CHECK: Prefer using the BIT macro

Follow its suggestion and convert the code to BIT() and related macros.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20240808071132.149251-5-herve.codina@bootlin.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/soc/fsl/qe/tsa.c