diff options
author | Bartosz Golaszewski <[email protected]> | 2020-09-14 17:45:54 +0200 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2020-09-15 10:50:37 +0200 |
commit | f702699c67d315e4a232c64801b2de9af87fd9f4 (patch) | |
tree | 514876f065975bb6710ccc380ec739abf29253f5 /tools/perf/scripts/python | |
parent | 13952c9e35384fd7f63a5ce8261108695491bb56 (diff) |
rtc: rx8010: don't use magic values for time buffer length
The time buffer len is used directly in this driver. For readability
it's better to define it as the difference between the date register
offsets and use sizeof() whenever referencing it.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions