Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7050618ybi; Thu, 13 Jun 2019 08:44:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5feAhne75RaxRjBzhQtVX3KHri45Ti3JRJ7lWTYmqnc1Momc9lKdQBXlzdMqQ/lk24qI9 X-Received: by 2002:a17:902:a5ca:: with SMTP id t10mr82257646plq.98.1560440679928; Thu, 13 Jun 2019 08:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560440679; cv=none; d=google.com; s=arc-20160816; b=MjEUJ71ZfpeoEwanClW2B16gI+Khi6vrTaShxWHszolW2eIr+AXAvDWjbhgMEjyzWc T6ei7O/Nshh9eHcY68WtsBDE5r4C2i4WQSfIF2vmNYJjd+McPWx7VuwDyHmcSKwFSDqC vRVAALUPuhANOeRV+5nx3JqCSh79t2QTqVntuMkC0SQ6tUesLeYuIbzHhvbM8m5D+Rup rcfP+DO8FzUTGwqJy+pa0lr6EYHoZIJWS/FVkLmdLBjeCa3EZdy14li9wg1UGkBzIiLL CCtToWfLJRrhcl+gsEljT01rYqoi9mK/tzjC4OYVjQLP8T7RnffKC/iS5vILYKT5+IC1 rWgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organisation:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=X10a6LLAHZVgBL2Qq9Y8hyPjPaUuMXhU8bpt+peVMSw=; b=mDboPS0oB3qVK2n+Uxv3pOjpe+E8cG/d+s/MSTz8N63ggkHy3erXPXOIfWErInd6VV oX2L6VcTFr8BtTelTwJ1IuxEnrTl5hl+YQlsQ2lcTZKWDTP2zYNJiaqGvFu/FqyGd4Jh HOvvtnvLO8WHeABEZ8FqzqbGB4N/C/O43UXOPCu+ZFnjgH/ftqLnGoPtsq3bSinMZY9H OhgEF34UikSOL/cWx95BFIcnrIILTmgwPD53jYBOYHw0aPE+0F5A/acTaeir3mRNrBy0 xdfdvwgUZT+4XSQZP9lGZm3x/vo2OAILukS1LJv0HBlZQwTXnKq+KmX6Ga4JDlfbsLlP dJig== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s19si66035pgj.573.2019.06.13.08.44.25; Thu, 13 Jun 2019 08:44:39 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731881AbfFMPns (ORCPT + 99 others); Thu, 13 Jun 2019 11:43:48 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:40438 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731832AbfFMJp5 (ORCPT ); Thu, 13 Jun 2019 05:45:57 -0400 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 6274225B7FA; Thu, 13 Jun 2019 19:45:55 +1000 (AEST) Received: by reginn.horms.nl (Postfix, from userid 7100) id 5CE8B940483; Thu, 13 Jun 2019 11:45:53 +0200 (CEST) Date: Thu, 13 Jun 2019 11:45:53 +0200 From: Simon Horman To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, Max Filippov , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 01/34] clk: clk-cdce706: simplify getting the adapter of a client Message-ID: <20190613094553.k7shy2w32cdkkfrb@verge.net.au> References: <20190608105619.593-1-wsa+renesas@sang-engineering.com> <20190608105619.593-2-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190608105619.593-2-wsa+renesas@sang-engineering.com> Organisation: Horms Solutions BV User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 08, 2019 at 12:55:40PM +0200, Wolfram Sang wrote: > We have a dedicated pointer for that, so use it. Much easier to read and > less computation involved. > > Signed-off-by: Wolfram Sang Reviewed-by: Simon Horman > --- > > Please apply to your subsystem tree. > > drivers/clk/clk-cdce706.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/clk-cdce706.c b/drivers/clk/clk-cdce706.c > index f21d9092564f..476d29c013e5 100644 > --- a/drivers/clk/clk-cdce706.c > +++ b/drivers/clk/clk-cdce706.c > @@ -633,7 +633,7 @@ of_clk_cdce_get(struct of_phandle_args *clkspec, void *data) > static int cdce706_probe(struct i2c_client *client, > const struct i2c_device_id *id) > { > - struct i2c_adapter *adapter = to_i2c_adapter(client->dev.parent); > + struct i2c_adapter *adapter = client->adapter; > struct cdce706_dev_data *cdce; > int ret; > > -- > 2.19.1 >