Hi, On 2024/3/20 17:34, Thomas Zimmermann wrote:
Replace kzalloc() with drmm_kzalloc() and thereby put the release of the I2C instance into a separate action. Avoids explicit error roll- back in ast_i2c_chan_create(). No functional changes. Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
Reviewed-by: Sui Jingfeng <sui.jingfeng@xxxxxxxxx> -- Best regards, Sui