Message ID | b42b5119-55af-88b2-055b-ce5d6a25a8d8@users.sourceforge.net |
---|---|
State | Deferred |
Headers | show |
Series | GPU-DRM-Tegra: Fine-tuning for tegra_output_probe() | expand |
diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c index 1e0915e213b4..a9b458f22de6 100644 --- a/drivers/gpu/drm/tegra/output.c +++ b/drivers/gpu/drm/tegra/output.c @@ -115,9 +115,8 @@ int tegra_output_probe(struct tegra_output *output) if (ddc) { output->ddc = of_find_i2c_adapter_by_node(ddc); if (!output->ddc) { - err = -EPROBE_DEFER; of_node_put(ddc); - return err; + return -EPROBE_DEFER; } of_node_put(ddc);