Hi Dan. On Wed, Sep 11, 2019 at 01:49:28PM +0300, Dan Carpenter wrote: > The "lvds->backlight" pointer could be NULL in situations where > of_parse_phandle() returns NULL. This code is cleaner if we use the > managed devm_of_find_backlight() so the clean up is automatic. > > Fixes: 7c9dff5bd643 ("drm: panels: Add LVDS panel driver") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > v3: Use devm_of_find_backlight(). This version is quite a bit more > ambitious, and I haven't tested it so please review carefully. Looks good. Applied and pushed to drm-misc-next. It will hit upstream not at this but next merge window. Sam _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel