iio: pressure: bmp280: 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/20201031134506.2134698-1-trix@redhat.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Jonathan Cameron
parent
3a096c2bda
commit
3516ebc8a4
@@ -13,7 +13,7 @@ static bool bmp180_is_writeable_reg(struct device *dev, unsigned int reg)
|
|||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool bmp180_is_volatile_reg(struct device *dev, unsigned int reg)
|
static bool bmp180_is_volatile_reg(struct device *dev, unsigned int reg)
|
||||||
@@ -51,7 +51,7 @@ static bool bmp280_is_writeable_reg(struct device *dev, unsigned int reg)
|
|||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool bmp280_is_volatile_reg(struct device *dev, unsigned int reg)
|
static bool bmp280_is_volatile_reg(struct device *dev, unsigned int reg)
|
||||||
|
|||||||
Reference in New Issue
Block a user