]> git.ipfire.org Git - thirdparty/linux.git/commit
regmap: i3c: Add non-devm regmap_init_i3c() helper
authorPei Xiao <xiaopei01@kylinos.cn>
Fri, 10 Apr 2026 02:29:24 +0000 (10:29 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 10 Apr 2026 10:46:15 +0000 (11:46 +0100)
commit8ad7f3b265a87cd4e5052677545f90f14c855b10
tree82e13b278970a9999282eb2a5e54858109bdac17
parent7d696210cf36ed31c7c37f6eff17cb7147e83367
regmap: i3c: Add non-devm regmap_init_i3c() helper

Add __regmap_init_i3c() and the corresponding regmap_init_i3c() macro to
allow creating a regmap for I3C devices without using the device-managed
version. This mirrors the pattern already established for other buses
such as I2C, SPI and so on, giving drivers more flexibility when
the regmap lifetime is not directly tied to the device.

Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Link: https://patch.msgid.link/a81256a8866b163979a20406abf01df7d7440104.1775788105.git.xiaopei01@kylinos.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-i3c.c
include/linux/regmap.h