summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-27 23:14:36 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-10-31 18:02:35 +0300
commit691f453951c4af9a5dd3a4f75f4860b997e73c3a (patch)
tree412f20e989b016bbfe2382c3dcc01471c2dc83ab /drivers/iio
parent675cb4ad1b9e431800bf2ffc49547ca048670257 (diff)
downloadlinux-691f453951c4af9a5dd3a4f75f4860b997e73c3a.tar.xz
iio: light: apds9960: remove unneeded semicolon
A semicolon is not needed after a switch statement. Signed-off-by: Tom Rix <trix@redhat.com> Acked-by: Matt Ranostay <matt.ranostay@konsulko.com> Link: https://lore.kernel.org/r/20201027201436.1597726-1-trix@redhat.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/light/apds9960.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c
index 9afb3fcc74e6..547e7f9d6920 100644
--- a/drivers/iio/light/apds9960.c
+++ b/drivers/iio/light/apds9960.c
@@ -561,7 +561,7 @@ static int apds9960_write_raw(struct iio_dev *indio_dev,
}
default:
return -EINVAL;
- };
+ }
return 0;
}