diff options
author | 2020-05-25 09:39:47 +0800 | |
---|---|---|
committer | 2020-05-30 04:12:34 +0200 | |
commit | f4c29a09cccb954f027bf0793877fdd42e5db88f (patch) | |
tree | ffa9b5134ef875ab737a88aa6762da3de40d5781 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | rtc: snvs: Add necessary clock operations for RTC APIs (diff) | |
download | linux-dev-f4c29a09cccb954f027bf0793877fdd42e5db88f.tar.xz linux-dev-f4c29a09cccb954f027bf0793877fdd42e5db88f.zip |
rtc: goldfish: Use correct return value for goldfish_rtc_probe()
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1590370788-15136-1-git-send-email-yangtiezhu@loongson.cn
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions