summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-01-23 16:59:20 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-02-04 08:55:36 +0100
commit97e45dd6e82a556e64a81824bb87c2b9bf98ddd3 (patch)
tree619d66385dd06ba18ea2f138287c8f2026fa511c /drivers
parentMerge tag 'acpi-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ra... (diff)
downloadlinux-97e45dd6e82a556e64a81824bb87c2b9bf98ddd3.tar.xz
linux-97e45dd6e82a556e64a81824bb87c2b9bf98ddd3.zip
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')
-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);
/*