From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBGop-0008U6-7w for barebox@lists.infradead.org; Wed, 25 Apr 2018 09:34:44 +0000 Date: Wed, 25 Apr 2018 11:34:19 +0200 From: Sascha Hauer Message-ID: <20180425093419.yblvipqpui3awyrv@pengutronix.de> References: <20180420103541.26772-1-l.stach@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180420103541.26772-1-l.stach@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] video: tc358767: don't link AUX i2c adapter to parent OF node To: Lucas Stach Cc: barebox@lists.infradead.org On Fri, Apr 20, 2018 at 12:35:41PM +0200, Lucas Stach wrote: > Otherwise the i2c core will try to populate the TC358767 child nodes > as i2c devices, which is wrong. > > Signed-off-by: Lucas Stach > --- > drivers/video/tc358767.c | 1 - > 1 file changed, 1 deletion(-) Applied, thanks Sascha > > diff --git a/drivers/video/tc358767.c b/drivers/video/tc358767.c > index d4749b15c7a1..125e8236c153 100644 > --- a/drivers/video/tc358767.c > +++ b/drivers/video/tc358767.c > @@ -1413,7 +1413,6 @@ static int tc_probe(struct device_d *dev) > tc->adapter.master_xfer = tc_aux_i2c_xfer; > tc->adapter.nr = -1; /* any free */ > tc->adapter.dev.parent = dev; > - tc->adapter.dev.device_node = dev->device_node; > /* Add I2C adapter */ > ret = i2c_add_numbered_adapter(&tc->adapter); > if (ret < 0) { > -- > 2.16.3 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox