Home
last modified time | relevance | path

Searched hist:d059ed1ba27bf0606471ac407008ddd1f65c4be4 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/misc/eeprom/
H A Dat25.cdiff d059ed1ba27bf0606471ac407008ddd1f65c4be4 Thu Nov 25 15:31:59 CST 2021 Andy Shevchenko <andriy.shevchenko@linux.intel.com> misc: at25: Switch to use BIT() instead of custom approaches

It's obvious that custom approach of getting power of 2 number with
int_pow() kinda interesting. Replace it and some others approaches
by using a simple BIT() operation.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211125213203.86693-7-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>