diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-01-23 09:59:20 -0600 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-02-04 08:55:36 +0100 |
commit | 97e45dd6e82a556e64a81824bb87c2b9bf98ddd3 (patch) | |
tree | 619d66385dd06ba18ea2f138287c8f2026fa511c /drivers/acpi/acpi_video.c | |
parent | 1a9a126b5098160ca934a352617e9e65dbfa679d (diff) | |
download | linux-stable-97e45dd6e82a556e64a81824bb87c2b9bf98ddd3.tar.gz linux-stable-97e45dd6e82a556e64a81824bb87c2b9bf98ddd3.tar.bz2 linux-stable-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/acpi/acpi_video.c')
-rw-r--r-- | drivers/acpi/acpi_video.c | 2 |
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); /* |