]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: mipi-i3c-hci: Switch DAT bitmap allocation to devm_bitmap_zalloc()
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 13 Jan 2026 07:26:46 +0000 (09:26 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 14 Jan 2026 16:21:09 +0000 (17:21 +0100)
commitf64c1a46ea7c40bbab57a0cb1665a1c1e11da6af
tree53c1b9570af9ff8440724e6563a1f471c7cec0af
parent471895799c2f46688792e175ced936ffeb6cdf01
i3c: mipi-i3c-hci: Switch DAT bitmap allocation to devm_bitmap_zalloc()

The driver already uses managed resources, so convert the Device Address
Table (DAT) bitmap allocation to use devm_bitmap_zalloc().  Remove the
manual cleanup routine.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260113072702.16268-6-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/core.c
drivers/i3c/master/mipi-i3c-hci/dat.h
drivers/i3c/master/mipi-i3c-hci/dat_v1.c