diff options
author | Kim Seer Paller <kimseer.paller@analog.com> | 2025-01-17 05:43:07 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-01-18 00:31:16 +0300 |
commit | 92c71aa1a8942057e228c09d37f8513abbab5fea (patch) | |
tree | 6ccaea58b0d9b8685f92b2e3b5ae2b37ecc2c893 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 260d7c5e5392ac41c94152005d416172ba0a906d (diff) | |
download | linux-92c71aa1a8942057e228c09d37f8513abbab5fea.tar.xz |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions