]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
media: cx231xx: Use semicolon after assignment instead of comma
authorMatthias Schwarzott <zzam@gentoo.org>
Sun, 5 Nov 2017 14:25:05 +0000 (09:25 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Dec 2017 10:52:59 +0000 (05:52 -0500)
End assignments by semicolon instead of comma.

Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/cx231xx/cx231xx-dvb.c

index 716c9e09f462bbd67392d1db9d89af276373654a..fb5654062b1ab4e0769780ab2e7d6d3cd0940b01 100644 (file)
@@ -762,8 +762,8 @@ static int dvb_init(struct cx231xx *dev)
                /* attach demod */
                memset(&si2165_pdata, 0, sizeof(si2165_pdata));
                si2165_pdata.fe = &dev->dvb->frontend;
-               si2165_pdata.chip_mode = SI2165_MODE_PLL_XTAL,
-               si2165_pdata.ref_freq_hz = 16000000,
+               si2165_pdata.chip_mode = SI2165_MODE_PLL_XTAL;
+               si2165_pdata.ref_freq_hz = 16000000;
 
                memset(&info, 0, sizeof(struct i2c_board_info));
                strlcpy(info.type, "si2165", I2C_NAME_SIZE);
@@ -809,8 +809,8 @@ static int dvb_init(struct cx231xx *dev)
                /* attach demod */
                memset(&si2165_pdata, 0, sizeof(si2165_pdata));
                si2165_pdata.fe = &dev->dvb->frontend;
-               si2165_pdata.chip_mode = SI2165_MODE_PLL_EXT,
-               si2165_pdata.ref_freq_hz = 24000000,
+               si2165_pdata.chip_mode = SI2165_MODE_PLL_EXT;
+               si2165_pdata.ref_freq_hz = 24000000;
 
                memset(&info, 0, sizeof(struct i2c_board_info));
                strlcpy(info.type, "si2165", I2C_NAME_SIZE);