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