summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-07-09 17:24:45 +0300
committerJakub Kicinski <kuba@kernel.org>2022-07-12 05:49:20 +0300
commite7bde1c581e41e396ab14275793f193ffbd5b2b1 (patch)
tree47dd7e60ac5d47fd355b5e67f1ba13555fa9f61c /include
parent1c151feddaf555e3af7a5cafb5481926f4f0489e (diff)
downloadlinux-e7bde1c581e41e396ab14275793f193ffbd5b2b1.tar.xz
net: dsa: hellcreek: Use the bitmap API to allocate bitmaps
Use devm_bitmap_zalloc() instead of hand-writing them. It is less verbose and it improves the semantic. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Kurt Kanzenbach <kurt@linutronix.de> Link: https://lore.kernel.org/r/8306e2ae69a5d8553691f5d10a86a4390daf594b.1657376651.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions