Skip to content

Commit

Permalink
Fix checkpatch error on 1018
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaGarg8 authored Aug 20, 2024
1 parent a2e4cce commit 3059e60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ index 442c4d884..6465c6b4c 100644
+
+static void reset_inactivity_timer(struct appletb_kbd *kbd)
+{
+ if ((kbd -> has_dimmed || kbd -> has_turned_off) && kbd->backlight_dev) {
+ if ((kbd->has_dimmed || kbd->has_turned_off) && kbd->backlight_dev) {
+ backlight_device_set_brightness(kbd->backlight_dev, 2);
+ kbd->has_dimmed = false;
+ kbd->has_turned_off = false;
Expand Down

0 comments on commit 3059e60

Please sign in to comment.