summaryrefslogtreecommitdiff
path: root/drivers/mtd/tests/mtd_test.h
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-07-03 19:09:45 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-09-20 11:06:58 +0300
commit054c6b58fc6ca7321dc53d7b64f8422919355cd9 (patch)
tree7bb73def1b50f637ef908264ab600585febc9f3d /drivers/mtd/tests/mtd_test.h
parent7471a53ddce54cee9b7a340dc930eb35b02c9eed (diff)
downloadlinux-054c6b58fc6ca7321dc53d7b64f8422919355cd9.tar.xz
mtd: nand: bbt: Use the bitmap API to allocate bitmaps
Use bitmap_zalloc()/bitmap_free() instead of hand-writing them. It is less verbose and it improves the semantic. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/b18c2b6711b8930f0dfb8318b5d19ef6e41f0f9a.1656864573.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'drivers/mtd/tests/mtd_test.h')
0 files changed, 0 insertions, 0 deletions