On Friday 03 July 2015 08:58 PM, Robert Jarzmik wrote:
Vaibhav Hiremath <vaibhav.hirem...@linaro.org> writes:

+       i2c->clk = devm_clk_get(&dev->dev, NULL);
+       if (IS_ERR(i2c->clk)) {
+               dev_err(&dev->dev, "failed to get the clk\n");
+               dev_err(&dev->dev, "failed to get the clk: %ld\n", 
PTR_ERR(i2c->clk));

+               return PTR_ERR(i2c->clk);
+       }
Why is this block moving up ? I can't find the reason in the commit message or
in the code.


Because of obvious reason :)

The clk_rate is being used in i2c_pxa_probe_dt() function.

Although I did not mention in commit description as I felt it is
evident from the patch.
Probably should have been more descriptive here, sorry for that.
I will take care of it in next version.

Thanks,
Vaibhav
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to