summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-14 18:45:54 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-09-15 11:50:37 +0300
commitf702699c67d315e4a232c64801b2de9af87fd9f4 (patch)
tree514876f065975bb6710ccc380ec739abf29253f5 /tools/perf/scripts/python/export-to-postgresql.py
parent13952c9e35384fd7f63a5ce8261108695491bb56 (diff)
downloadlinux-f702699c67d315e4a232c64801b2de9af87fd9f4.tar.xz
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 <bgolaszewski@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20200914154601.32245-8-brgl@bgdev.pl
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions