i2c: rcar: fix error code in probe()
Return an error code if devm_reset_control_get_exclusive() fails. The current code returns success. Fixes: 0e864b55 ("i2c: rcar: reset controller is mandatory for Gen3+") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Showing
Please register or sign in to comment