projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a096c2
)
iio: pressure: bmp280: remove unneeded semicolon
author
Tom Rix
<trix@redhat.com>
Sat, 31 Oct 2020 13:45:06 +0000
(06:45 -0700)
committer
Jonathan Cameron
<Jonathan.Cameron@huawei.com>
Sun, 1 Nov 2020 14:58:54 +0000
(14:58 +0000)
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>
drivers/iio/pressure/bmp280-regmap.c
patch
|
blob
|
history
diff --git
a/drivers/iio/pressure/bmp280-regmap.c
b/drivers/iio/pressure/bmp280-regmap.c
index
08c00ac
..
da136db
100644
(file)
--- a/
drivers/iio/pressure/bmp280-regmap.c
+++ b/
drivers/iio/pressure/bmp280-regmap.c
@@
-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)
@@
-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)