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:57 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-09-15 11:50:37 +0300
commit666f21413b881e159efaf862f119d4d058fa2c4a (patch)
tree2abd90d99c7657b23d781369a3de486ceb7b6d1c /tools/perf/scripts/python/export-to-postgresql.py
parent955a123c14906e3adc43d43281f8fde91f631f7f (diff)
downloadlinux-666f21413b881e159efaf862f119d4d058fa2c4a.tar.xz
rtc: rx8010: prefer sizeof(*val) over sizeof(struct type_of_val)
Using the size of the variable is preferred over using the size of its type when allocating memory. Convert the call to devm_kzalloc() in probe(). 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-11-brgl@bgdev.pl
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions