Skip to content

Commit

Permalink
iio: pressure: bmp280: remove unneeded semicolon
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tom Rix authored and Jonathan Cameron committed Nov 1, 2020
1 parent 3a096c2 commit 3516ebc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/iio/pressure/bmp280-regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ static bool bmp180_is_writeable_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
};
}
}

static bool bmp180_is_volatile_reg(struct device *dev, unsigned int reg)
Expand Down Expand Up @@ -51,7 +51,7 @@ static bool bmp280_is_writeable_reg(struct device *dev, unsigned int reg)
return true;
default:
return false;
};
}
}

static bool bmp280_is_volatile_reg(struct device *dev, unsigned int reg)
Expand Down

0 comments on commit 3516ebc

Please sign in to comment.