Messages in this thread | | | Date | Wed, 8 Jun 2022 15:54:01 +0100 | From | Daniel Thompson <> | Subject | Re: [PATCH] staging: ftbft: Use backlight helper |
| |
On Tue, Jun 07, 2022 at 08:55:16PM +0200, Stephen Kitt wrote: > backlight_properties.fb_blank is deprecated. The states it represents > are handled by other properties; but instead of accessing those > properties directly, drivers should use the helpers provided by > backlight.h. > > Instead of manually checking the power state in struct > backlight_properties, use backlight_is_blank(). > > Signed-off-by: Stephen Kitt <steve@sk2.org> > Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Cc: "Noralf Trønnes" <noralf@tronnes.org> > Cc: Thomas Zimmermann <tzimmermann@suse.de> > Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> > Cc: Javier Martinez Canillas <javierm@redhat.com> > Cc: Len Baker <len.baker@gmx.com> > Cc: dri-devel@lists.freedesktop.org > Cc: linux-fbdev@vger.kernel.org > Cc: linux-staging@lists.linux.dev
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Daniel.
| |