staging: speakup: Add spaces around operators
Add spaces around math operators to get rid of checkpatch warning Signed-off-by: Daniela Mormocea <daniela.mormocea@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>hifive-unleashed-5.2
parent
a57250582a
commit
d33fe112c9
|
@ -233,7 +233,7 @@ static void do_catch_up(struct spk_synth *synth)
|
||||||
delay_time_val = delay_time->u.n.value;
|
delay_time_val = delay_time->u.n.value;
|
||||||
spin_unlock_irqrestore(&speakup_info.spinlock, flags);
|
spin_unlock_irqrestore(&speakup_info.spinlock, flags);
|
||||||
schedule_timeout(msecs_to_jiffies(delay_time_val));
|
schedule_timeout(msecs_to_jiffies(delay_time_val));
|
||||||
jiff_max = jiffies+jiffy_delta_val;
|
jiff_max = jiffies + jiffy_delta_val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
timeout = 1000;
|
timeout = 1000;
|
||||||
|
@ -261,7 +261,7 @@ static int synth_probe(struct spk_synth *synth)
|
||||||
synth_port = port_forced;
|
synth_port = port_forced;
|
||||||
pr_info("probe forced to %x by kernel command line\n",
|
pr_info("probe forced to %x by kernel command line\n",
|
||||||
synth_port);
|
synth_port);
|
||||||
if (synth_request_region(synth_port-1, SYNTH_IO_EXTENT)) {
|
if (synth_request_region(synth_port - 1, SYNTH_IO_EXTENT)) {
|
||||||
pr_warn("sorry, port already reserved\n");
|
pr_warn("sorry, port already reserved\n");
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
}
|
}
|
||||||
|
@ -289,7 +289,7 @@ static int synth_probe(struct spk_synth *synth)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
pr_info("%s: %03x-%03x, driver version %s,\n", synth->long_name,
|
pr_info("%s: %03x-%03x, driver version %s,\n", synth->long_name,
|
||||||
synth_port, synth_port+SYNTH_IO_EXTENT-1,
|
synth_port, synth_port + SYNTH_IO_EXTENT - 1,
|
||||||
synth->version);
|
synth->version);
|
||||||
synth->alive = 1;
|
synth->alive = 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue