On Sat, Sep 07, 2024 at 03:13:05PM GMT, He Lugang wrote: > Use devm_add_action_or_reset() to release resources in case of failure, > because the cleanup function will be automatically called. > > Signed-off-by: He Lugang <helug...@uniontech.com> > --- > drivers/gpu/drm/i2c/tda9950.c | 12 +++--------- > 1 file changed, 3 insertions(+), 9 deletions(-) >
Reviewed-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org> -- With best wishes Dmitry