projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
102fb77
)
media: cx24110: clean up some coding style issues
author
XueBing Chen
<chenxb_99091@126.com>
Thu, 11 Jan 2024 10:58:56 +0000
(11:58 +0100)
committer
Mauro Carvalho Chehab
<mchehab@kernel.org>
Wed, 7 Feb 2024 04:40:07 +0000
(
05:40
+0100)
Fix the following errors reported by checkpatch:
ERROR: "foo* bar" should be "foo *bar"
ERROR: spaces required around that '=' (ctx:VxV)
ERROR: space required after that ',' (ctx:VxV)
Link:
https://lore.kernel.org/linux-media/20240111105856.14655-1-chenxb_99091@126.com
Signed-off-by: XueBing Chen <chenxb_99091@126.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/dvb-frontends/cx24110.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb-frontends/cx24110.c
b/drivers/media/dvb-frontends/cx24110.c
index 9aeea089756fe1c9dbb0073a0fec8540d8a9383e..65dd9b72ea55556782eff0d7748948bfa417f8a0 100644
(file)
--- a/
drivers/media/dvb-frontends/cx24110.c
+++ b/
drivers/media/dvb-frontends/cx24110.c
@@
-224,13
+224,13
@@
static enum fe_code_rate cx24110_get_fec(struct cx24110_state *state)
}
}
-static int cx24110_set_symbolrate (struct cx24110_state
*
state, u32 srate)
+static int cx24110_set_symbolrate (struct cx24110_state
*
state, u32 srate)
{
/* fixme (low): add error handling */
u32 ratio;
u32 tmp, fclk, BDRI;
- static const u32 bands[]
={5000000UL,15000000UL,
90999000UL/2};
+ static const u32 bands[]
= {5000000UL, 15000000UL,
90999000UL/2};
int i;
dprintk("cx24110 debug: entering %s(%d)\n",__func__,srate);