summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/intel-spi.h
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2021-03-06 02:45:52 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2021-03-08 09:17:39 +0300
commit04fc298c7d0877695847e8662d1b5b29a19c2723 (patch)
treeb70a94043723d2fb2151037fdca69331122c34eb /include/linux/platform_data/intel-spi.h
parentff013330fbdb2782e9001787db6c0b6415cdad77 (diff)
downloadlinux-04fc298c7d0877695847e8662d1b5b29a19c2723.tar.xz
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 'include/linux/platform_data/intel-spi.h')
0 files changed, 0 insertions, 0 deletions