[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211114163838.41015ae2@jic23-huawei>
Date: Sun, 14 Nov 2021 16:38:38 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Andrea Merello <andrea.merello@...il.com>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
linux-iio <linux-iio@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
devicetree <devicetree@...r.kernel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh+dt@...nel.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
Matt Ranostay <matt.ranostay@...sulko.com>,
Alexandru Ardelean <ardeleanalex@...il.com>,
Jacopo Mondi <jacopo@...ndi.org>,
Andrea Merello <andrea.merello@....it>
Subject: Re: [v2 10/10] iio: imu: add BNO055 I2C driver
On Thu, 11 Nov 2021 11:12:58 +0100
Andrea Merello <andrea.merello@...il.com> wrote:
> Just an inline comment; OK for the rest.
> > > +#include <linux/i2c.h>
> >
> > Why? I'm not seeing an i2c specific calls in here.
>
> Because of the definition of struct i2c_client, that is being accessed
> in lines like this
> dev_err(&client->dev, "Unable to init register map");
doh. I was clearly being a bit unobservant that day.
Powered by blists - more mailing lists