]> git.itanic.dy.fi Git - linux-stable/commit
carl9170: replace bitmap_zalloc with devm_bitmap_zalloc
authorChristian Lamparter <chunkeey@gmail.com>
Wed, 2 Mar 2022 19:51:37 +0000 (20:51 +0100)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 10 Mar 2022 15:54:20 +0000 (17:54 +0200)
commita8da65f901fa45745123d665e80d1151d1bc7134
treebb24d807140feb3a5f94195fea43ca4a9c435c61
parent87ddb2fc29f10cf689ff0dfb88a19b7d3687006b
carl9170: replace bitmap_zalloc with devm_bitmap_zalloc

the mem_bitmap is kept around for the lifetime of the
driver device. This is a perfect candidate for devm.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/0a79221aa5477501c3def032e95ef8018973a514.1646250537.git.chunkeey@gmail.com
drivers/net/wireless/ath/carl9170/main.c