Skip to content

regmap: Cleanup and microoptimization

Andy Shevchenko lkml llvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3regmap: cache: Use BITS_TO_BYTES()drivers/base/regmap/regcache.c+1 -10 replies
2/3regmap: Use BITS_TO_BYTES()drivers/base/regmap/regmap.c+3 -40 replies
3/3regmap: place foo / 8 and foo % 8 closer to each otherdrivers/base/regmap/regmap.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/3] regmap: Cleanup and microoptimization

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(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac