diff options
author | Chen Ni <nichen@iscas.ac.cn> | 2024-05-10 16:31:56 +0800 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-05-27 11:49:05 -0500 |
commit | 0780c836673b25f5aad306630afcb1172d694cb4 (patch) | |
tree | 7493a49dc2165160d2359706c4719cdfab41180f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f63f815fc2a5ca9d57beba0286aaa82bc3277353 (diff) |
soc: qcom: pmic_glink: Handle the return value of pmic_glink_init
As platform_driver_register() and register_rpmsg_driver() can return
error numbers, it should be better to check the return value and deal
with the exception.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Fixes: 58ef4ece1e41 ("soc: qcom: pmic_glink: Introduce base PMIC GLINK driver")
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20240510083156.1996783-1-nichen@iscas.ac.cn
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions