Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i3c: drop i3c_priv_xfer and i3c_device_do_priv_xfers()

Drop i3c_priv_xfer and i3c_device_do_priv_xfers() after all driver switch
to use new API.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251215172405.2982801-1-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Frank Li and committed by
Alexandre Belloni
9904232a de28e002

+1 -11
+1 -11
include/linux/i3c/device.h
··· 25 25 * @I3C_ERROR_M2: M2 error 26 26 * 27 27 * These are the standard error codes as defined by the I3C specification. 28 - * When -EIO is returned by the i3c_device_do_priv_xfers() or 28 + * When -EIO is returned by the i3c_device_do_i3c_xfers() or 29 29 * i3c_device_send_hdr_cmds() one can check the error code in 30 30 * &struct_i3c_xfer.err or &struct i3c_hdr_cmd.err to get a better idea of 31 31 * what went wrong. ··· 78 78 } data; 79 79 enum i3c_error_code err; 80 80 }; 81 - 82 - /* keep back compatible */ 83 - #define i3c_priv_xfer i3c_xfer 84 81 85 82 /** 86 83 * enum i3c_dcr - I3C DCR values ··· 307 310 308 311 int i3c_device_do_xfers(struct i3c_device *dev, struct i3c_xfer *xfers, 309 312 int nxfers, enum i3c_xfer_mode mode); 310 - 311 - static inline int i3c_device_do_priv_xfers(struct i3c_device *dev, 312 - struct i3c_xfer *xfers, 313 - int nxfers) 314 - { 315 - return i3c_device_do_xfers(dev, xfers, nxfers, I3C_SDR); 316 - } 317 313 318 314 int i3c_device_do_setdasa(struct i3c_device *dev); 319 315