[lkml]   [2020]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/3] i2c: qcom-geni: Grow a dev pointer to simplify code
On Tue, Feb 4, 2020 at 11:32 AM Stephen Boyd <> wrote:
> Some lines are long here. Use a struct dev pointer to shorten lines and
> simplify code. The clk_get() call can fail because of EPROBE_DEFER
> problems too, so just remove the error print message because it isn't
> useful.
> Cc: Girish Mahadevan <>
> Cc: Dilip Kota <>
> Cc: Alok Chauhan <>
> Cc: Douglas Anderson <>
> Signed-off-by: Stephen Boyd <>

I personally am indifferent to &pdev->dev vs. just dev, but not
printing an error in the case of a defer is a definite improvement.

Reviewed-by: Brendan Higgins <>

 \ /
  Last update: 2020-02-04 22:15    [W:0.061 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site