diff options
author | 2018-09-19 13:35:00 +0300 | |
---|---|---|
committer | 2018-10-22 17:38:24 -0700 | |
commit | d1d2c290b3c04b65fa6132eeebe50a070746d8f6 (patch) | |
tree | aada788a9a6c3f3fb429a45e5d9da0f1730c14a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | thermal: imx: handle error path in one place to save duplicated code (diff) | |
download | linux-rng-d1d2c290b3c04b65fa6132eeebe50a070746d8f6.tar.xz linux-rng-d1d2c290b3c04b65fa6132eeebe50a070746d8f6.zip |
thermal: armada: fix a test in probe()
The platform_get_resource() function doesn't return error pointers, it
returns NULL on error.
Fixes: 3d4e51844a4e ("thermal: armada: convert driver to syscon register accesses")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions