Message ID | 20240303192040.8116-8-bergh.jonathan@gmail.com |
---|---|
State | New |
Headers | show |
Series | staging: media: av7110: These patches address various code style and formatting issues in the av7110 driver | expand |
diff --git a/drivers/staging/media/av7110/sp8870.c b/drivers/staging/media/av7110/sp8870.c index a5a652c0b363..8afddf61e52b 100644 --- a/drivers/staging/media/av7110/sp8870.c +++ b/drivers/staging/media/av7110/sp8870.c @@ -67,7 +67,7 @@ static int sp8870_writereg(struct sp8870_state *state, u16 reg, u16 data) static int sp8870_readreg(struct sp8870_state *state, u16 reg) { int ret; - u8 b0[] = { reg >> 8 , reg & 0xff }; + u8 b0[] = { reg >> 8, reg & 0xff }; u8 b1[] = { 0, 0 }; struct i2c_msg msg[] = { { .addr = state->config->demod_address, .flags = 0, .buf = b0, .len = 2 }, { .addr = state->config->demod_address, .flags = I2C_M_RD, .buf = b1, .len = 2 } };
This patch fixes the following code style issue: * Removes extra whitespace before comma ',' in parameter list Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com> --- drivers/staging/media/av7110/sp8870.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)