diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-01-23 18:59:20 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-02-04 10:55:36 +0300 |
commit | 97e45dd6e82a556e64a81824bb87c2b9bf98ddd3 (patch) | |
tree | 619d66385dd06ba18ea2f138287c8f2026fa511c /drivers | |
parent | 1a9a126b5098160ca934a352617e9e65dbfa679d (diff) | |
download | linux-97e45dd6e82a556e64a81824bb87c2b9bf98ddd3.tar.xz |
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.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); /* |