summaryrefslogtreecommitdiff
path: root/include/linux/regulator/coupler.h
diff options
context:
space:
mode:
authorKim Seer Paller <kimseer.paller@analog.com>2025-01-17 10:43:07 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2025-01-17 22:31:16 +0100
commit92c71aa1a8942057e228c09d37f8513abbab5fea (patch)
tree6ccaea58b0d9b8685f92b2e3b5ae2b37ecc2c893 /include/linux/regulator/coupler.h
parent260d7c5e5392ac41c94152005d416172ba0a906d (diff)
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 'include/linux/regulator/coupler.h')
0 files changed, 0 insertions, 0 deletions