Re: [PATCH 7/8] fbdev: rework backlight dependencies

2020-04-20 Thread Jani Nikula
On Fri, 17 Apr 2020, Sam Ravnborg wrote: > Hi Arnd. > > On Fri, Apr 17, 2020 at 05:55:52PM +0200, Arnd Bergmann wrote: >> Rather than having CONFIG_FB_BACKLIGHT select CONFIG_BACKLIGHT_CLASS_DEVICE, >> make any driver that needs it have a dependency on the class device >> being available, to preve

Re: [PATCH 7/8] fbdev: rework backlight dependencies

2020-04-17 Thread Arnd Bergmann
On Fri, Apr 17, 2020 at 7:04 PM Sam Ravnborg wrote: > > Hi Arnd. > > On Fri, Apr 17, 2020 at 05:55:52PM +0200, Arnd Bergmann wrote: > > Rather than having CONFIG_FB_BACKLIGHT select CONFIG_BACKLIGHT_CLASS_DEVICE, > > make any driver that needs it have a dependency on the class device > > being ava

Re: [PATCH 7/8] fbdev: rework backlight dependencies

2020-04-17 Thread Sam Ravnborg
Hi Arnd. On Fri, Apr 17, 2020 at 05:55:52PM +0200, Arnd Bergmann wrote: > Rather than having CONFIG_FB_BACKLIGHT select CONFIG_BACKLIGHT_CLASS_DEVICE, > make any driver that needs it have a dependency on the class device > being available, to prevent circular dependencies. > > This is the same wa

[PATCH 7/8] fbdev: rework backlight dependencies

2020-04-17 Thread Arnd Bergmann
Rather than having CONFIG_FB_BACKLIGHT select CONFIG_BACKLIGHT_CLASS_DEVICE, make any driver that needs it have a dependency on the class device being available, to prevent circular dependencies. This is the same way that the backlight is already treated for the DRM subsystem. Signed-off-by: Arnd