Home
last modified time | relevance | path

Searched hist:"0 abbf0ac10eeede6e771a1a79342baf5e8466ee3" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/i2c/busses/
H A Di2c-sun6i-p2wi.cdiff 0abbf0ac10eeede6e771a1a79342baf5e8466ee3 Tue Jun 27 09:12:36 CEST 2023 Dan Carpenter <dan.carpenter@linaro.org> 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 <dan.carpenter@linaro.org>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>