diff options
author | 2025-01-21 16:48:18 +0800 | |
---|---|---|
committer | 2025-03-22 13:11:53 +0100 | |
commit | 39f8d63804505222dccf265797c2d03de7f2d5b3 (patch) | |
tree | 67da26396e8885a462385fd2bb162ca9fde2153f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: qcom-geni: Update i2c frequency table to match hardware guidance (diff) | |
download | linux-rng-39f8d63804505222dccf265797c2d03de7f2d5b3.tar.xz linux-rng-39f8d63804505222dccf265797c2d03de7f2d5b3.zip |
i2c: iproc: Refactor prototype and remove redundant error checks
The bcm_iproc_i2c_init() always returns 0. As a result, there
is no need to check its return value or handle errors.
This patch changes the prototype of bcm_iproc_i2c_init() to
return void and removes the redundant error handling code after
calls to bcm_iproc_i2c_init() in both the bcm_iproc_i2c_probe()
and bcm_iproc_i2c_resume().
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Acked-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Acked-by: Ray Jui <ray.jui@broadcom.com>
Link: https://lore.kernel.org/r/20250121084818.2719-1-vulab@iscas.ac.cn
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions