regmap: i3c: switch to use i3c_xfer from i3c_priv_xfer

Switch to use i3c_xfer instead of i3c_priv_xfer because framework will
update to support HDR mode. i3c_priv_xfer is now an alias of i3c_xfer.

Replace i3c_device_do_priv_xfers() with i3c_device_do_xfers(..., I3C_SDR)
to align with the new API.

Prepare for removal of i3c_priv_xfer and i3c_device_do_priv_xfers().

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20251028-lm75-v1-3-9bf88989c49c@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by Frank Li and committed by Alexandre Belloni 79c3ae7a 57c4011d

+4 -4
+4 -4
drivers/base/regmap/regmap-i3c.c
··· 10 10 { 11 11 struct device *dev = context; 12 12 struct i3c_device *i3c = dev_to_i3cdev(dev); 13 - struct i3c_priv_xfer xfers[] = { 13 + struct i3c_xfer xfers[] = { 14 14 { 15 15 .rnw = false, 16 16 .len = count, ··· 18 18 }, 19 19 }; 20 20 21 - return i3c_device_do_priv_xfers(i3c, xfers, 1); 21 + return i3c_device_do_xfers(i3c, xfers, 1, I3C_SDR); 22 22 } 23 23 24 24 static int regmap_i3c_read(void *context, ··· 27 27 { 28 28 struct device *dev = context; 29 29 struct i3c_device *i3c = dev_to_i3cdev(dev); 30 - struct i3c_priv_xfer xfers[2]; 30 + struct i3c_xfer xfers[2]; 31 31 32 32 xfers[0].rnw = false; 33 33 xfers[0].len = reg_size; ··· 37 37 xfers[1].len = val_size; 38 38 xfers[1].data.in = val; 39 39 40 - return i3c_device_do_priv_xfers(i3c, xfers, 2); 40 + return i3c_device_do_xfers(i3c, xfers, 2, I3C_SDR); 41 41 } 42 42 43 43 static const struct regmap_bus regmap_i3c = {