Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5398027ybl; Tue, 4 Feb 2020 13:15:57 -0800 (PST) X-Google-Smtp-Source: APXvYqylUs/XBQjFYgEx1ekwvtpCLQOnrVznBWiEjG99SEyd0/CXG5t0ypZiPg0G84DZ42E37LOG X-Received: by 2002:a9d:811:: with SMTP id 17mr24400824oty.369.1580850956938; Tue, 04 Feb 2020 13:15:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580850956; cv=none; d=google.com; s=arc-20160816; b=RzUfOSck2cPqs5EdHP1CmiWy13aUsKR5O8sS52Io2eP8Bh2D5ROBQzVuL90mNtHBpz yboJu7hAibl2T+vEpTDQb/dc6DUWQxlDX6bk2T+aXdgFnm3nBoAGsfBybp1NWXI6iYVX 5ybmzfFy6cU6ziiEp/AZlWQTKzgi8gCa3qxrgGLq5NO/d2rx4lLsp9TtpV/a21a7/NYE zRjfaLSpmKEFEYntBZ9TzXW3gIwZBveZPg5J6yP0EoxhH+grrD/2Rz3pu0jq8zeF22+t SCYbeBA0RnnhZWE8u+a45Hd5/T0FYq9Kxah25J9YgJPlCfa6FFE2UePTDQlX2vGKH8Fq Rf4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sJ6dt4IAx4lLUXsNXyTvXPa3oissv4BK7c1F70A7bh8=; b=T1oK5e5mEtfPMhHJYdXfCHdQS2lnzCOIOre6ULICCljX0wYw7duytLvlJV97yGgCt5 laNNz/hzWgDRlgVVXeQHflLZXSk2K01gZQTzX7fzTuX3nIIfgnzxHPdzISMqveKzf3dR z0xQFFQJ9ucWD8HghYx1lbwetMLaTlvDgK3SBC3MszXONagKEviO9nNrc6tzBTMivO24 vNx6J0s3CghsdKzIr9QP2PW3X9rZXuyXIDJvOBjJ2vTOiyovYDim4auGG+rwBk9lZL4C BL5FQ2kRH/JqJJU+I1YqkBb3oSDf/YNn1bYzpxgvVaxdRyL+06AWoloBOTpEXJAaivcw HMng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oRSdIwhJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b5si1788743ots.78.2020.02.04.13.15.43; Tue, 04 Feb 2020 13:15:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=oRSdIwhJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727522AbgBDVOo (ORCPT + 99 others); Tue, 4 Feb 2020 16:14:44 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:36620 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727451AbgBDVOo (ORCPT ); Tue, 4 Feb 2020 16:14:44 -0500 Received: by mail-pl1-f195.google.com with SMTP id a6so7805675plm.3 for ; Tue, 04 Feb 2020 13:14:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sJ6dt4IAx4lLUXsNXyTvXPa3oissv4BK7c1F70A7bh8=; b=oRSdIwhJN0CghtS9RntV6TwOsdvFrxSFJjT6YQdAQnM2F+VX+syfEAu3ehPlGD1jWf BRSf1W4q4aBPpwq14CYmdOrmUNcI4nkmCgB/IHekGeVgTR/XKpWfVyoo7nO1MoauhY/3 UoqObmqt9o+bSi8pbgkIT7OQF2qPX2omMb1FvlHsasHZU1S8yRbs+AVgeD3fr/1+lzKt t9cEQd9Gud35qSLkVw5cogBK30lPAUZ2dWD1a/3a9ZTE0VIoFYwSu7/wItIUMyaGXOZb os2Y2ITzMrVQics/jxxFQHM55f70Y/ISAv+mvHEz9jJ7m1JLJ9BJIyRU+qrwIqkkvajG Z3jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sJ6dt4IAx4lLUXsNXyTvXPa3oissv4BK7c1F70A7bh8=; b=p2qWlhf/vlbBcjvkeIvcjVfDEr5aAqlvlr9igmN/M0UOs7eiOte/oMGc0KdcVTKvV3 eGiQGAiCAukf+cEDYmt6DCDhdcDYZ79rKB3sxPgrb96h4BJGgbpP0SBlStxKttI7BGUT zSMT7cDRKg6QjormoUgWJycgLLCAsiWP2c13nmGeAdeI/dRJANXQnrTJawNnPQQ1NNeh e4eLmHOxWtdX4NsUJ7oZ0WIgfjdptl/7BChQEojdwZbVt8cD89TL+mMIKXPSD1xsLpZf dRDsnEB3i8ozzm+QWCyUgjoSCiljavxoA/1mjuyM7FN0NUrwR5OLj4gsrFVz3SP3fjAs ZTHA== X-Gm-Message-State: APjAAAXlCWN9au+0PPBHMvHaHxwcX6RBEEvQsQ9FmsTBxkSS5L1rZ+Ys s5FTa0sbh2aAbwuEgtUNn33nGBfA3X+taYyK4V2Wzn7zyFIR5A== X-Received: by 2002:a17:90a:c390:: with SMTP id h16mr1318164pjt.131.1580850883761; Tue, 04 Feb 2020 13:14:43 -0800 (PST) MIME-Version: 1.0 References: <20200204193152.124980-1-swboyd@chromium.org> <20200204193152.124980-3-swboyd@chromium.org> In-Reply-To: <20200204193152.124980-3-swboyd@chromium.org> From: Brendan Higgins Date: Tue, 4 Feb 2020 13:14:31 -0800 Message-ID: Subject: Re: [PATCH 2/3] i2c: qcom-geni: Grow a dev pointer to simplify code To: Stephen Boyd Cc: Wolfram Sang , Linux Kernel Mailing List , Andy Gross , Bjorn Andersson , linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, Girish Mahadevan , Dilip Kota , Alok Chauhan , Douglas Anderson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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