Commit 692f983
rtc: rzn1: drop superfluous wday calculation
The week register simply counts from 0 to 6 where the numbers do not
even represent a specific weekday. So we can adopt 'tm_wday' numbering
of the RTC core without converting it.
Signed-off-by: Wolfram Sang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>1 parent 1ec371b commit 692f983
1 file changed
+0
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 78 | | |
92 | 79 | | |
93 | 80 | | |
| |||
109 | 96 | | |
110 | 97 | | |
111 | 98 | | |
112 | | - | |
113 | 99 | | |
114 | 100 | | |
115 | 101 | | |
| |||
126 | 112 | | |
127 | 113 | | |
128 | 114 | | |
129 | | - | |
130 | 115 | | |
131 | 116 | | |
132 | 117 | | |
| |||
0 commit comments