[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZEWcx9lQXFY/CkNp@carbian>
Date: Sun, 23 Apr 2023 23:01:59 +0200
From: Mehdi Djait <mehdi.djait.k@...il.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Matti Vaittinen <mazziesaccount@...il.com>,
krzysztof.kozlowski+dt@...aro.org,
andriy.shevchenko@...ux.intel.com, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v2 3/5] iio: accel: kionix-kx022a: Refactor driver and
add chip_info structure
Hello Matti and Jonathan,
On Sat, Apr 22, 2023 at 06:32:46PM +0100, Jonathan Cameron wrote:
> On Fri, 21 Apr 2023 09:19:32 +0300
> Matti Vaittinen <mazziesaccount@...il.com> wrote:
>
> > Hi Mehdi,
> >
> > Thanks for working on this driver :) Much appreciated!
> >
> > On 4/20/23 23:22, Mehdi Djait wrote:
> > > Refactor the kx022a driver implementation to make it more generic and
> > > extensible.
> > > Introduce an i2c_device_id table.
> > > Add the chip_info structure to the driver's private data to hold all
> > > the device specific infos.
> > >
> > > Signed-off-by: Mehdi Djait <mehdi.djait.k@...il.com>
> > > ---
> > > v2:
> > > - mentioned the introduction of the i2c_device_id table in the commit
> >
> > Maybe adding the i2c_device_id table could be done in a separate patch
> > with a Fixes tag? That would help backporting (and I think changes like
> > this are worth it).
>
> Is it technically a fix? I thought it was but turned out my reasoning only
> applied to spi. Agreed it would be nice as a separate patch though.
> It's not directly related to the rest of what is happening here.
I will make it a separate patch in the v3
--
Kind Regard
Mehdi Djait
Powered by blists - more mailing lists