diff options
author | Michael Walle <michael@walle.cc> | 2021-03-06 00:45:52 +0100 |
---|---|---|
committer | Tudor Ambarus <tudor.ambarus@microchip.com> | 2021-03-08 08:17:39 +0200 |
commit | 04fc298c7d0877695847e8662d1b5b29a19c2723 (patch) | |
tree | b70a94043723d2fb2151037fdca69331122c34eb /drivers/mtd/spi-nor/controllers/intel-spi.c | |
parent | ff013330fbdb2782e9001787db6c0b6415cdad77 (diff) | |
download | linux-04fc298c7d0877695847e8662d1b5b29a19c2723.tar.bz2 |
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
Diffstat (limited to 'drivers/mtd/spi-nor/controllers/intel-spi.c')
0 files changed, 0 insertions, 0 deletions