iio: magnetometer: bmc150: remove unneeded semicolon
authorTom Rix <trix@redhat.com>
Sat, 31 Oct 2020 13:43:19 +0000 (06:43 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 1 Nov 2020 14:59:46 +0000 (14:59 +0000)
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>
drivers/iio/magnetometer/bmc150_magn.c

index fc6840f..73e55ec 100644 (file)
@@ -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)