HID: pidff: Rework pidff_set_time() to fix warnings
Fixes blank line warning from checkpatch.pl script Signed-off-by: Tomasz Pakuła <tomasz.pakula.oficjalny@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
committed by
Jiri Kosina
parent
a0ea54654d
commit
bed72bd240
@@ -273,8 +273,8 @@ static void pidff_set_signed(struct pidff_usage *usage, s16 value)
|
||||
|
||||
static void pidff_set_time(struct pidff_usage *usage, u16 time)
|
||||
{
|
||||
u32 modified_time = pidff_rescale_time(time, usage->field);
|
||||
usage->value[0] = pidff_clamp(modified_time, usage->field);
|
||||
usage->value[0] = pidff_clamp(
|
||||
pidff_rescale_time(time, usage->field), usage->field);
|
||||
}
|
||||
|
||||
static void pidff_set_duration(struct pidff_usage *usage, u16 duration)
|
||||
|
||||
Reference in New Issue
Block a user