Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

platform/x86: Rename wmaa-backlight-wmi to nvidia-wmi-ec-backlight

Rename the wmaa-backlight-wmi driver and associated KConfig option to
remove the remaining references to the "WMAA" ACPI handle which was
used in the previous name. The driver has already been updated to
remove internal references to "WMAA". As part of the renaming, the
components in the name have been rearranged to reflect the standard
vendor_wmi_feature pattern.

Signed-off-by: Daniel Dadap <ddadap@nvidia.com>
Link: https://lore.kernel.org/r/20210927202359.13684-2-ddadap@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>

authored by

Daniel Dadap and committed by
Hans de Goede
ca16d33b a499f93f

+14 -15
+6 -6
MAINTAINERS
··· 13389 13389 F: drivers/video/fbdev/nvidia/ 13390 13390 F: drivers/video/fbdev/riva/ 13391 13391 13392 + NVIDIA WMI EC BACKLIGHT DRIVER 13393 + M: Daniel Dadap <ddadap@nvidia.com> 13394 + L: platform-driver-x86@vger.kernel.org 13395 + S: Supported 13396 + F: drivers/platform/x86/nvidia-wmi-ec-backlight.c 13397 + 13392 13398 NVM EXPRESS DRIVER 13393 13399 M: Keith Busch <kbusch@kernel.org> 13394 13400 M: Jens Axboe <axboe@fb.com> ··· 20257 20251 L: linux-wireless@vger.kernel.org 20258 20252 S: Odd fixes 20259 20253 F: drivers/net/wireless/wl3501* 20260 - 20261 - WMAA BACKLIGHT DRIVER 20262 - M: Daniel Dadap <ddadap@nvidia.com> 20263 - L: platform-driver-x86@vger.kernel.org 20264 - S: Supported 20265 - F: drivers/platform/x86/wmaa-backlight-wmi.c 20266 20254 20267 20255 WOLFSON MICROELECTRONICS DRIVERS 20268 20256 L: patches@opensource.cirrus.com
+7 -8
drivers/platform/x86/Kconfig
··· 91 91 help 92 92 Say Y here if you want to support WMI-based hotkeys on PEAQ 2-in-1s. 93 93 94 - config WMAA_BACKLIGHT_WMI 95 - tristate "ACPI WMAA Backlight Driver" 94 + config NVIDIA_WMI_EC_BACKLIGHT 95 + tristate "EC Backlight Driver for Hybrid Graphics Notebook Systems" 96 96 depends on ACPI_WMI 97 97 depends on BACKLIGHT_CLASS_DEVICE 98 98 help 99 - This driver provides a sysfs backlight interface for notebook 100 - systems which expose the WMAA ACPI method and an associated WMI 101 - wrapper to drive LCD backlight levels through the Embedded Controller 102 - (EC). 99 + This driver provides a sysfs backlight interface for notebook systems 100 + which are equipped with NVIDIA hybrid graphics and drive LCD backlight 101 + levels through the Embedded Controller (EC). 103 102 104 103 Say Y or M here if you want to control the backlight on a notebook 105 - system with an EC-driven backlight using the ACPI WMAA method. 104 + system with an EC-driven backlight. 106 105 107 106 If you choose to compile this driver as a module the module will be 108 - called wmaa-backlight-wmi. 107 + called nvidia-wmi-ec-backlight. 109 108 110 109 config XIAOMI_WMI 111 110 tristate "Xiaomi WMI key driver"
+1 -1
drivers/platform/x86/Makefile
··· 11 11 # WMI drivers 12 12 obj-$(CONFIG_HUAWEI_WMI) += huawei-wmi.o 13 13 obj-$(CONFIG_MXM_WMI) += mxm-wmi.o 14 + obj-$(CONFIG_NVIDIA_WMI_EC_BACKLIGHT) += nvidia-wmi-ec-backlight.o 14 15 obj-$(CONFIG_PEAQ_WMI) += peaq-wmi.o 15 - obj-$(CONFIG_WMAA_BACKLIGHT_WMI) += wmaa-backlight-wmi.o 16 16 obj-$(CONFIG_XIAOMI_WMI) += xiaomi-wmi.o 17 17 obj-$(CONFIG_GIGABYTE_WMI) += gigabyte-wmi.o 18 18
drivers/platform/x86/wmaa-backlight-wmi.c drivers/platform/x86/nvidia-wmi-ec-backlight.c