diff options
| author | Wentao Liang <[email protected]> | 2025-01-21 08:48:18 +0000 |
|---|---|---|
| committer | Andi Shyti <[email protected]> | 2025-03-22 12:11:53 +0000 |
| commit | 39f8d63804505222dccf265797c2d03de7f2d5b3 (patch) | |
| tree | 67da26396e8885a462385fd2bb162ca9fde2153f /lib/crypto/mpi/mpi-add.c | |
| parent | i2c: qcom-geni: Update i2c frequency table to match hardware guidance (diff) | |
| download | kernel-39f8d63804505222dccf265797c2d03de7f2d5b3.tar.gz kernel-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 <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Acked-by: Ray Jui <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
