Commit 2b21f96d authored by Namrata A Shettar's avatar Namrata A Shettar Committed by Greg Kroah-Hartman

staging: media: lirc: Add space around binary operators

Add space around binary operators to resolve checkpatch issue.
Signed-off-by: default avatarNamrata A Shettar <namrataashettar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3dbab14b
...@@ -163,12 +163,12 @@ static unsigned int init_lirc_timer(void) ...@@ -163,12 +163,12 @@ static unsigned int init_lirc_timer(void)
if (count >= 1000 && timeelapsed > 0) { if (count >= 1000 && timeelapsed > 0) {
if (default_timer == 0) { if (default_timer == 0) {
/* autodetect timer */ /* autodetect timer */
newtimer = (1000000*count)/timeelapsed; newtimer = (1000000 * count) / timeelapsed;
pr_info("%u Hz timer detected\n", newtimer); pr_info("%u Hz timer detected\n", newtimer);
return newtimer; return newtimer;
} }
newtimer = (1000000*count)/timeelapsed; newtimer = (1000000 * count) / timeelapsed;
if (abs(newtimer - default_timer) > default_timer/10) { if (abs(newtimer - default_timer) > default_timer / 10) {
/* bad timer */ /* bad timer */
pr_notice("bad timer: %u Hz\n", newtimer); pr_notice("bad timer: %u Hz\n", newtimer);
pr_notice("using default timer: %u Hz\n", pr_notice("using default timer: %u Hz\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment