projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Use fallthrough pseudo-keyword
[linux-block.git]
/
drivers
/
rtc
/
rtc-stmp3xxx.c
diff --git
a/drivers/rtc/rtc-stmp3xxx.c
b/drivers/rtc/rtc-stmp3xxx.c
index c9bc3d4a1e66c40a8897244b7063998c351d2d44..0a969af80af7c0ae96485df94b11190d650e12b8 100644
(file)
--- a/
drivers/rtc/rtc-stmp3xxx.c
+++ b/
drivers/rtc/rtc-stmp3xxx.c
@@
-331,7
+331,7
@@
static int stmp3xxx_rtc_probe(struct platform_device *pdev)
default:
dev_warn(&pdev->dev,
"invalid crystal-freq specified in device-tree. Assuming no crystal\n");
- /* fall-through */
+ fallthrough;
case 0:
/* keep XTAL on in low-power mode */
pers0_set = STMP3XXX_RTC_PERSISTENT0_XTAL24MHZ_PWRUP;