summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-09-21 18:29:15 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-10-01 23:17:45 +0300
commit5738d49fa47e0046050f5e62e4921d667b7ee3c3 (patch)
tree9ef810cfe83ce564e401e511d1d827566f8872ab /tools/perf/scripts/python/export-to-postgresql.py
parentfe259a2155b43dff59be1e1e3c59ac72cfeab630 (diff)
downloadlinux-5738d49fa47e0046050f5e62e4921d667b7ee3c3.tar.xz
power: supply: mt6370: Fix return value check in mt6370_chg_probe()
If create_singlethread_workqueue() fails, it returns a null pointer, replace IS_ERR() check with NULL pointer check. Fixes: 233cb8a47d65 ("power: supply: mt6370: Add MediaTek MT6370 charger driver") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: ChiaEn Wu <chiaen_wu@richtek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions