diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-05-17 20:20:39 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-05-20 14:05:18 +0200 |
commit | 202b6151d8737c11e4be0f9bc1f1146c02b9b930 (patch) | |
tree | 97426a2bf860003427069626476b328630121b5c /drivers/i2c | |
parent | c31193cc31a352428c6bee93a013da193cf4c325 (diff) | |
download | barebox-202b6151d8737c11e4be0f9bc1f1146c02b9b930.tar.gz barebox-202b6151d8737c11e4be0f9bc1f1146c02b9b930.tar.xz |
treewide: replace commas with semicolons where appropriate
Found by searching drivers/ arch/ common/ and lib/ for
/^\s+[^."/\*\[\s\{\(A-Z][^\[\{\(]*=[^\{\(]+,$/
Because the comma has the lowest precedence in C,
this shouldn't result in any functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-imx-early.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-imx.c | 2 | ||||
-rw-r--r-- | drivers/i2c/busses/i2c-omap.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-imx-early.c b/drivers/i2c/busses/i2c-imx-early.c index 26922c1044..472e4be83a 100644 --- a/drivers/i2c/busses/i2c-imx-early.c +++ b/drivers/i2c/busses/i2c-imx-early.c @@ -282,7 +282,7 @@ fail0: i2c_fsl_stop(fsl_i2c); /* Disable I2C controller, and force our state to stopped */ - temp = fsl_i2c->i2cr_ien_opcode ^ I2CR_IEN, + temp = fsl_i2c->i2cr_ien_opcode ^ I2CR_IEN; fsl_i2c_write_reg(temp, fsl_i2c, FSL_I2C_I2CR); return (ret < 0) ? ret : num; diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c index 6911f803b2..7d25ed3af5 100644 --- a/drivers/i2c/busses/i2c-imx.c +++ b/drivers/i2c/busses/i2c-imx.c @@ -511,7 +511,7 @@ fail0: i2c_fsl_stop(adapter); /* Disable I2C controller, and force our state to stopped */ - temp = i2c_fsl->hwdata->i2cr_ien_opcode ^ I2CR_IEN, + temp = i2c_fsl->hwdata->i2cr_ien_opcode ^ I2CR_IEN; fsl_i2c_write_reg(temp, i2c_fsl, FSL_I2C_I2CR); return (result < 0) ? result : num; diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index bdb34ca1b4..d3f525f333 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -1176,7 +1176,7 @@ i2c_omap_probe(struct device_d *pdev) omap_i2c_idle(i2c_omap); - i2c_omap->adapter.master_xfer = omap_i2c_xfer, + i2c_omap->adapter.master_xfer = omap_i2c_xfer; i2c_omap->adapter.nr = pdev->id; i2c_omap->adapter.dev.parent = pdev; i2c_omap->adapter.dev.device_node = pdev->device_node; |