You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
staging: media: lirc: Add space around binary operators
Add space around binary operators to resolve checkpatch issue. Signed-off-by: Namrata A Shettar <namrataashettar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3dbab14b85
commit
2b21f96d6b
@@ -163,12 +163,12 @@ static unsigned int init_lirc_timer(void)
|
||||
if (count >= 1000 && timeelapsed > 0) {
|
||||
if (default_timer == 0) {
|
||||
/* autodetect timer */
|
||||
newtimer = (1000000*count)/timeelapsed;
|
||||
newtimer = (1000000 * count) / timeelapsed;
|
||||
pr_info("%u Hz timer detected\n", newtimer);
|
||||
return newtimer;
|
||||
}
|
||||
newtimer = (1000000*count)/timeelapsed;
|
||||
if (abs(newtimer - default_timer) > default_timer/10) {
|
||||
newtimer = (1000000 * count) / timeelapsed;
|
||||
if (abs(newtimer - default_timer) > default_timer / 10) {
|
||||
/* bad timer */
|
||||
pr_notice("bad timer: %u Hz\n", newtimer);
|
||||
pr_notice("using default timer: %u Hz\n",
|
||||
|
||||
Reference in New Issue
Block a user