Michael Walle 04fc298c7d mtd: spi-nor: use is_power_of_2()
There is already a function to check if an integer is a power of 2. Use
it.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20210305234552.19204-1-michael@walle.cc
2021-03-08 08:17:39 +02:00
..
2021-02-01 18:58:38 +01:00
2021-02-21 13:54:33 -08:00
2021-02-10 10:21:13 +01:00
2021-03-08 08:17:39 +02:00
2021-02-12 21:53:22 +01:00
2020-10-28 11:58:11 +01:00
2020-12-01 14:53:39 -07:00