summaryrefslogtreecommitdiff
path: root/Documentation/i2c/writing-clients.rst
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-06-27 10:12:36 +0300
committerWolfram Sang <wsa@kernel.org>2023-08-14 18:52:58 +0300
commit0abbf0ac10eeede6e771a1a79342baf5e8466ee3 (patch)
tree2ab46b1cf76a2515d7d316d3eee85d34fb917e52 /Documentation/i2c/writing-clients.rst
parentfff67c1b17ee093947bdcbac6f64d072e644159a (diff)
downloadlinux-0abbf0ac10eeede6e771a1a79342baf5e8466ee3.tar.xz
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>
Diffstat (limited to 'Documentation/i2c/writing-clients.rst')
0 files changed, 0 insertions, 0 deletions