[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220608145401.qaycvdfc7ks3bbx3@maple.lan>
Date: Wed, 8 Jun 2022 15:54:01 +0100
From: Daniel Thompson <daniel.thompson@...aro.org>
To: Stephen Kitt <steve@....org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Noralf Trønnes <noralf@...nnes.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Javier Martinez Canillas <javierm@...hat.com>,
Len Baker <len.baker@....com>, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-fbdev@...r.kernel.org,
linux-staging@...ts.linux.dev
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@....org>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: "Noralf Trønnes" <noralf@...nnes.org>
> Cc: Thomas Zimmermann <tzimmermann@...e.de>
> Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> Cc: Javier Martinez Canillas <javierm@...hat.com>
> Cc: Len Baker <len.baker@....com>
> Cc: dri-devel@...ts.freedesktop.org
> Cc: linux-fbdev@...r.kernel.org
> Cc: linux-staging@...ts.linux.dev
Reviewed-by: Daniel Thompson <daniel.thompson@...aro.org>
Daniel.
Powered by blists - more mailing lists