commit | b3b3ef6a082fceeab38d2a28f69bc7e69ef80f92 | [log] [tgz] |
---|---|---|
author | Tom Rix <trix@redhat.com> | Sat Oct 31 06:43:19 2020 -0700 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Nov 01 14:59:46 2020 +0000 |
tree | 35ec10040cc2fb3307afb8ad110d3320da16dc82 | |
parent | 3516ebc8a400fc77957059ecc369850b4e04eacf [diff] |
iio: magnetometer: bmc150: remove unneeded semicolon A semicolon is not needed after a switch statement. Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20201031134319.2134314-1-trix@redhat.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
diff --git a/drivers/iio/magnetometer/bmc150_magn.c b/drivers/iio/magnetometer/bmc150_magn.c index fc6840f..73e55ec 100644 --- a/drivers/iio/magnetometer/bmc150_magn.c +++ b/drivers/iio/magnetometer/bmc150_magn.c
@@ -190,7 +190,7 @@ static bool bmc150_magn_is_writeable_reg(struct device *dev, unsigned int reg) return true; default: return false; - }; + } } static bool bmc150_magn_is_volatile_reg(struct device *dev, unsigned int reg)