diff options
author | 2021-03-06 00:45:52 +0100 | |
---|---|---|
committer | 2021-03-08 08:17:39 +0200 | |
commit | 04fc298c7d0877695847e8662d1b5b29a19c2723 (patch) | |
tree | b70a94043723d2fb2151037fdca69331122c34eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: spi-nor: winbond: Add support for w25q512jvq (diff) | |
download | wireguard-linux-04fc298c7d0877695847e8662d1b5b29a19c2723.tar.xz wireguard-linux-04fc298c7d0877695847e8662d1b5b29a19c2723.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions