diff options
author | 2025-01-17 10:43:07 +0800 | |
---|---|---|
committer | 2025-01-17 22:31:16 +0100 | |
commit | 92c71aa1a8942057e228c09d37f8513abbab5fea (patch) | |
tree | 6ccaea58b0d9b8685f92b2e3b5ae2b37ecc2c893 /scripts/lib/kdoc/kdoc_files.py | |
parent | power: supply: max17042: add max77705 fuel gauge support (diff) | |
download | linux-rng-92c71aa1a8942057e228c09d37f8513abbab5fea.tar.xz linux-rng-92c71aa1a8942057e228c09d37f8513abbab5fea.zip |
power: supply: ltc4162l: Use GENMASK macro in bitmask operation
Replace the bitmask operation BIT(6) - 1 with GENMASK(5, 0) to make the
code clearer and readable.
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com>
Link: https://lore.kernel.org/r/20250117024307.4119-1-kimseer.paller@analog.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions