Re: [PATCH] drm/drm_panel: fix export of drm_panel_of_backlight, try #3

From: Arnd Bergmann
Date: Wed Jan 08 2020 - 15:17:53 EST


On Wed, Jan 8, 2020 at 5:46 PM Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>
> Hi Arnd.
>
> > > > All of this is just another hack until the backlight config usage is
> > > > fixed for good. Do we really want to make this the example to copy paste
> > > > wherever we hit the issue next?
> > > >
> > > > I'm not naking, but I'm not acking either.
> > >
> > > I will try to take a look at your old BACKLIGHT_CLASS_DEVICE patch this
> > > weekend. I think we need that one fixed - and then we can have this mess
> > > with "drm_panel_of_backlight" fixed in the right way.
> >
> > I had also attempted to fix the larger mess around 'select' statements in DRM/FB
> > around BACKLIGHT_CLASS_DEVICE several times in the past, and even at
> > some point sent a patch that was acked but never merged and later broke because
> > of other changes.
>
> Any chance you have the patch around or can dig up a pointer?
> My google foo did not turn up anything.

I found it now:
https://lore.kernel.org/lkml/20170726135312.2214309-1-arnd@xxxxxxxx/

Arnd