diff options
| author | Dan Carpenter <[email protected]> | 2023-06-27 07:12:36 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2023-08-14 15:52:58 +0000 |
| commit | 0abbf0ac10eeede6e771a1a79342baf5e8466ee3 (patch) | |
| tree | 2ab46b1cf76a2515d7d316d3eee85d34fb917e52 /tools/perf/scripts/python/sctop.py | |
| parent | i2c: hisi: Only handle the interrupt of the driver's transfer (diff) | |
| download | kernel-0abbf0ac10eeede6e771a1a79342baf5e8466ee3.tar.gz kernel-0abbf0ac10eeede6e771a1a79342baf5e8466ee3.zip | |
i2c: sun6i-p2wi: Fix an error message in probe()
The "ret" variable is uninitialized. It was the "p2wi->rstc" variable
that was intended. We can also use the %pe string format to print the
error code name instead of just the number.
Fixes: 75ff8a340a81 ("i2c: sun6i-p2wi: Use devm_clk_get_enabled()")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
