iio: as3935: Remove unnecessary semicolons
authorGeorge McCollister <george.mccollister@gmail.com>
Fri, 31 Oct 2014 15:44:23 +0000 (10:44 -0500)
committerJonathan Cameron <jic23@kernel.org>
Wed, 5 Nov 2014 13:47:42 +0000 (13:47 +0000)
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/proximity/as3935.c

index 5e780ef206f3c48774cb3f2d3a587ba0c6be1571..78244e6343f60008a7f2368fe67afd1b73a8cbe7 100644 (file)
@@ -95,7 +95,7 @@ static int as3935_read(struct as3935_state *st, unsigned int reg, int *val)
        *val = ret;
 
        return 0;
-};
+}
 
 static int as3935_write(struct as3935_state *st,
                                unsigned int reg,
@@ -107,7 +107,7 @@ static int as3935_write(struct as3935_state *st,
        buf[1] = val;
 
        return spi_write(st->spi, buf, 2);
-};
+}
 
 static ssize_t as3935_sensor_sensitivity_show(struct device *dev,
                                        struct device_attribute *attr,
@@ -122,7 +122,7 @@ static ssize_t as3935_sensor_sensitivity_show(struct device *dev,
        val = (val & AS3935_AFE_MASK) >> 1;
 
        return sprintf(buf, "%d\n", val);
-};
+}
 
 static ssize_t as3935_sensor_sensitivity_store(struct device *dev,
                                        struct device_attribute *attr,
@@ -142,7 +142,7 @@ static ssize_t as3935_sensor_sensitivity_store(struct device *dev,
        as3935_write(st, AS3935_AFE_GAIN, val << 1);
 
        return len;
-};
+}
 
 static IIO_DEVICE_ATTR(sensor_sensitivity, S_IRUGO | S_IWUSR,
        as3935_sensor_sensitivity_show, as3935_sensor_sensitivity_store, 0);
@@ -214,7 +214,7 @@ err_read:
        iio_trigger_notify_done(indio_dev->trig);
 
        return IRQ_HANDLED;
-};
+}
 
 static const struct iio_trigger_ops iio_interrupt_trigger_ops = {
        .owner = THIS_MODULE,
@@ -238,7 +238,7 @@ static void as3935_event_work(struct work_struct *work)
                dev_warn(&st->spi->dev, "noise level is too high");
                break;
        }
-};
+}
 
 static irqreturn_t as3935_interrupt_handler(int irq, void *private)
 {
@@ -417,7 +417,7 @@ unregister_trigger:
        iio_trigger_unregister(st->trig);
 
        return ret;
-};
+}
 
 static int as3935_remove(struct spi_device *spi)
 {
@@ -429,7 +429,7 @@ static int as3935_remove(struct spi_device *spi)
        iio_trigger_unregister(st->trig);
 
        return 0;
-};
+}
 
 static const struct spi_device_id as3935_id[] = {
        {"as3935", 0},