[v5, 04/13] drm/ast: Allocate instance of struct ast_i2c_chan with managed helpers

Sui Jingfeng sui.jingfeng at linux.dev
Wed Mar 20 17:19:21 UTC 2024


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 at suse.de>


Reviewed-by: Sui Jingfeng <sui.jingfeng at linux.dev>

-- 
Best regards,
Sui



More information about the dri-devel mailing list