Messages in this thread | | | Date | Wed, 8 Jun 2022 16:07:06 +0100 | From | Daniel Thompson <> | Subject | Re: [PATCH 4/4] platform/x86: thinkpad_acpi: Use backlight helper |
| |
On Tue, Jun 07, 2022 at 08:46:35PM +0200, Stephen Kitt wrote: > Instead of retrieving the backlight brightness in struct > backlight_properties manually, and then checking whether the backlight > should be on at all, use backlight_get_brightness() which does all > this and insulates this from future changes. > > Signed-off-by: Stephen Kitt <steve@sk2.org> > Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br> > Cc: Hans de Goede <hdegoede@redhat.com> > Cc: Mark Gross <markgross@kernel.org> > Cc: ibm-acpi-devel@lists.sourceforge.net > Cc: platform-driver-x86@vger.kernel.org
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Daniel.
| |