summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-14 17:45:57 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-09-15 10:50:37 +0200
commit666f21413b881e159efaf862f119d4d058fa2c4a (patch)
tree2abd90d99c7657b23d781369a3de486ceb7b6d1c /tools/perf/scripts/python/exported-sql-viewer.py
parent955a123c14906e3adc43d43281f8fde91f631f7f (diff)
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions