summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-01-23 09:59:20 -0600
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-02-04 08:55:36 +0100
commit97e45dd6e82a556e64a81824bb87c2b9bf98ddd3 (patch)
tree619d66385dd06ba18ea2f138287c8f2026fa511c /drivers/acpi
parent1a9a126b5098160ca934a352617e9e65dbfa679d (diff)
downloadlinux-97e45dd6e82a556e64a81824bb87c2b9bf98ddd3.tar.bz2
ACPI / video: Use true for boolean value
Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpi_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_video.c b/drivers/acpi/acpi_video.c
index f53ccc680238..76fb96966f7b 100644
--- a/drivers/acpi/acpi_video.c
+++ b/drivers/acpi/acpi_video.c
@@ -53,7 +53,7 @@ MODULE_AUTHOR("Bruno Ducrot");
MODULE_DESCRIPTION("ACPI Video Driver");
MODULE_LICENSE("GPL");
-static bool brightness_switch_enabled = 1;
+static bool brightness_switch_enabled = true;
module_param(brightness_switch_enabled, bool, 0644);
/*