diff options
author | Michael Walle <[email protected]> | 2021-03-06 00:45:52 +0100 |
---|---|---|
committer | Tudor Ambarus <[email protected]> | 2021-03-08 08:17:39 +0200 |
commit | 04fc298c7d0877695847e8662d1b5b29a19c2723 (patch) | |
tree | b70a94043723d2fb2151037fdca69331122c34eb /scripts/gdb/linux/utils.py | |
parent | ff013330fbdb2782e9001787db6c0b6415cdad77 (diff) |
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 <[email protected]>
Signed-off-by: Tudor Ambarus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions