diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-01-23 16:59:20 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-02-04 08:55:36 +0100 |
commit | 97e45dd6e82a556e64a81824bb87c2b9bf98ddd3 (patch) | |
tree | 619d66385dd06ba18ea2f138287c8f2026fa511c /drivers/acpi | |
parent | Merge tag 'acpi-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ra... (diff) | |
download | linux-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/acpi')
-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); /* |