Re: [PATCH] staging: ftbft: Use backlight helper
From: Daniel Thompson <hidden>
Date: 2022-06-08 14:59:52
Also in:
dri-devel, linux-staging, lkml
From: Daniel Thompson <hidden>
Date: 2022-06-08 14:59:52
Also in:
dri-devel, linux-staging, lkml
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 <redacted> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: "Noralf Trønnes" <redacted> Cc: Thomas Zimmermann <tzimmermann@suse.de> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Javier Martinez Canillas <javierm@redhat.com> Cc: Len Baker <redacted> Cc: dri-devel@lists.freedesktop.org Cc: linux-fbdev@vger.kernel.org Cc: linux-staging@lists.linux.dev
Reviewed-by: Daniel Thompson <redacted> Daniel.