summaryrefslogtreecommitdiff
path: root/firmware/drivers/generic_i2c.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-03-04 18:15:06 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-03-04 18:15:06 +0000
commit4f87abf90af67d23582156343ef7dbd66cd18aa8 (patch)
tree68109cb9147d7767f64e2ee5de150f609fea82fa /firmware/drivers/generic_i2c.c
parent23e28f2b0c871912f9f23993e754db3637b92f0e (diff)
downloadrockbox-4f87abf90af67d23582156343ef7dbd66cd18aa8.zip
rockbox-4f87abf90af67d23582156343ef7dbd66cd18aa8.tar.gz
rockbox-4f87abf90af67d23582156343ef7dbd66cd18aa8.tar.bz2
rockbox-4f87abf90af67d23582156343ef7dbd66cd18aa8.tar.xz
Cosmetic fix: remove duplicate semicolons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/generic_i2c.c')
-rw-r--r--firmware/drivers/generic_i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/generic_i2c.c b/firmware/drivers/generic_i2c.c
index 206ded9..dd5312d 100644
--- a/firmware/drivers/generic_i2c.c
+++ b/firmware/drivers/generic_i2c.c
@@ -136,7 +136,7 @@ int i2c_write_data(int bus_index, int bus_address, int address,
{
int i;
int ret = 0;
- const struct i2c_interface *iface = i2c_if[bus_index];;
+ const struct i2c_interface *iface = i2c_if[bus_index];
i2c_start(iface);
if (!i2c_outb(iface, bus_address & 0xfe))
@@ -173,7 +173,7 @@ int i2c_read_data(int bus_index, int bus_address, int address,
{
int i;
int ret = 0;
- const struct i2c_interface *iface = i2c_if[bus_index];;
+ const struct i2c_interface *iface = i2c_if[bus_index];
if (address != -1)
{