units: Add BYTES_PER_*BIT
authorDamian Muszynski <damian.muszynski@intel.com>
Fri, 20 Oct 2023 13:49:25 +0000 (15:49 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Oct 2023 10:04:28 +0000 (18:04 +0800)
commite8eed5f7366f1f5decb694168bd06fb59ef6b12c
treeb6758e77b6450cbec847c2e37f2b30733179285d
parent8e6857f76dafba874593107f9e5c20030c5956ed
units: Add BYTES_PER_*BIT

There is going to be a new user of the BYTES_PER_[K/M/G]BIT definition
besides possibly existing ones. Add them to the header.

Signed-off-by: Damian Muszynski <damian.muszynski@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Tero Kristo <tero.kristo@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/linux/units.h