Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 001fab49 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Jiri Kosina
Browse files

HID: hid-multitouch: Use true and false for boolean values



Assign true or false to boolean variables instead of an integer value.

This issue was detected with the help of Coccinelle.

Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 04230f46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -722,7 +722,7 @@ static void mt_complete_slot(struct mt_device *td, struct input_dev *input)
		}

		if (!(td->mtclass.quirks & MT_QUIRK_CONFIDENCE))
			s->confidence_state = 1;
			s->confidence_state = true;
		active = (s->touch_state || s->inrange_state) &&
							s->confidence_state;