summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/i2c/busses/i2c-efm32.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/i2c/busses/i2c-efm32.c')
-rw-r--r--kernel/drivers/i2c/busses/i2c-efm32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/i2c/busses/i2c-efm32.c b/kernel/drivers/i2c/busses/i2c-efm32.c
index 8eff62738..e253598d7 100644
--- a/kernel/drivers/i2c/busses/i2c-efm32.c
+++ b/kernel/drivers/i2c/busses/i2c-efm32.c
@@ -433,7 +433,7 @@ static int efm32_i2c_probe(struct platform_device *pdev)
ret = request_irq(ddata->irq, efm32_i2c_irq, 0, DRIVER_NAME, ddata);
if (ret < 0) {
dev_err(&pdev->dev, "failed to request irq (%d)\n", ret);
- return ret;
+ goto err_disable_clk;
}
ret = i2c_add_adapter(&ddata->adapter);