]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ACPI: video: Do not initialise device_id_scheme directly
authorJean-Ralph Aviles <jeanralph.aviles@gmail.com>
Sun, 10 May 2026 02:47:20 +0000 (19:47 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 27 May 2026 11:41:29 +0000 (13:41 +0200)
Drop the unnecessary initialization of device_id_scheme to false.

Signed-off-by: Jean-Ralph Aviles <jeanralph.aviles@gmail.com>
[ rjw: Subject and changelog edits ]
Link: https://patch.msgid.link/39d1c5567a2c0c6454a0c10a32d2dd853349d303.1778378939.git.jeanralph.aviles@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_video.c

index 05793ddef7875f6ecc0bd6253a8d8338565d57a2..e8880a2113cbb432cf4148d25bfaf96eabb9f2b1 100644 (file)
@@ -63,7 +63,7 @@ MODULE_PARM_DESC(hw_changes_brightness,
  * Whether the struct acpi_video_device_attrib::device_id_scheme bit should be
  * assumed even if not actually set.
  */
-static bool device_id_scheme = false;
+static bool device_id_scheme;
 module_param(device_id_scheme, bool, 0444);
 
 static int only_lcd;