aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXueBing Chen <[email protected]>2024-01-11 11:58:56 +0100
committerMauro Carvalho Chehab <[email protected]>2024-02-07 05:40:07 +0100
commitb1d47b27110438282f0b56738628347d9b915f53 (patch)
tree76e12ee0de9106b3b8bb54260923acdbc2ac6c3b
parent102fb77c2deb0df3683ef8ff7a6f4cf91dc456e2 (diff)
media: cx24110: clean up some coding style issues
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/[email protected] Signed-off-by: XueBing Chen <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
-rw-r--r--drivers/media/dvb-frontends/cx24110.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/cx24110.c b/drivers/media/dvb-frontends/cx24110.c
index 9aeea089756f..65dd9b72ea55 100644
--- 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);