[PATCH v1 0/3] regmap: Cleanup and microoptimization
From: Andy Shevchenko
Date: Thu Nov 21 2024 - 05:59:11 EST
Two patches move the code to use BITS_TO_BYTES(), while the last
one otpimizes the code generation on x86 (32- and 64-bit on different
compilers).
Andy Shevchenko (3):
regmap: cache: Use BITS_TO_BYTES()
regmap: Use BITS_TO_BYTES()
regmap: place foo / 8 and foo % 8 closer to each other
drivers/base/regmap/regcache.c | 2 +-
drivers/base/regmap/regmap.c | 9 ++++-----
2 files changed, 5 insertions(+), 6 deletions(-)
--
2.43.0.rc1.1336.g36b5255a03ac