diff options
author | 2020-11-06 10:45:12 +0800 | |
---|---|---|
committer | 2021-10-15 13:26:34 -0700 | |
commit | 39b14bb5915f5c68585161339d75d2f47d2a7e20 (patch) | |
tree | 58693392c18d910aec15ad2c68d0f6c5f47e6fe8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm: msm: adreno: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe() (diff) | |
download | wireguard-linux-39b14bb5915f5c68585161339d75d2f47d2a7e20.tar.xz wireguard-linux-39b14bb5915f5c68585161339d75d2f47d2a7e20.zip |
drm: Use IS_ERR() instead of IS_ERR_OR_NULL()
dev_pm_opp_find_freq_exact never return null but ERR_PTR(),so we
should use IS_ERR() to clarify and avoid compilation warnings.
Signed-off-by: Wang Qing <wangqing@vivo.com>
Link: https://lore.kernel.org/r/1604630714-6163-1-git-send-email-wangqing@vivo.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions