mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
HID: pidff: Move else if statements to follow closing braces
Fixes checkpatch.pl errors Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
parent
61ea33ded9
commit
703e55aacb
|
|
@ -976,13 +976,11 @@ static int pidff_find_fields(struct pidff_usage *usage, const u8 *table,
|
|||
pr_debug("Delay field not found, but that's OK\n");
|
||||
pr_debug("Setting MISSING_DELAY quirk\n");
|
||||
return_value |= HID_PIDFF_QUIRK_MISSING_DELAY;
|
||||
}
|
||||
else if (!found && table[k] == pidff_set_condition[PID_PARAM_BLOCK_OFFSET]) {
|
||||
} else if (!found && table[k] == pidff_set_condition[PID_PARAM_BLOCK_OFFSET]) {
|
||||
pr_debug("PBO field not found, but that's OK\n");
|
||||
pr_debug("Setting MISSING_PBO quirk\n");
|
||||
return_value |= HID_PIDFF_QUIRK_MISSING_PBO;
|
||||
}
|
||||
else if (!found && strict) {
|
||||
} else if (!found && strict) {
|
||||
pr_debug("failed to locate %d\n", k);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user