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

checkpatch.pl signals the following improvement for qmc.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-19-herve.codina@bootlin.com
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/soc/fsl/qe/qmc.c