diff options
author | Niklas Söderlund <[email protected]> | 2017-03-29 20:43:52 +0200 |
---|---|---|
committer | Eduardo Valentin <[email protected]> | 2017-03-30 21:41:48 -0700 |
commit | d51546c0db975a4750161d17eef62dfcf9eedc90 (patch) | |
tree | 86f6a3a865e2851724e78285249567ff7934e194 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 100cfbcf2580b0605f50af32fefd9c8d1d8357fb (diff) |
thermal: rcar_gen3_thermal: check that TSC exists before memory allocation
Move the check for a TSC resource before allocating memory for a new
TSC. If no TSC is found there is little point in allocating memory for
it.
Signed-off-by: Niklas Söderlund <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Wolfram Sang <[email protected]>
Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions