[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZIdXe3Vp4uHEGeRr@carbian>
Date: Mon, 12 Jun 2023 19:35:55 +0200
From: Mehdi Djait <mehdi.djait.k@...il.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: jic23@...nel.org, mazziesaccount@...il.com,
krzysztof.kozlowski+dt@...aro.org, robh+dt@...nel.org,
lars@...afoo.de, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [PATCH v5 5/7] iio: accel: kionix-kx022a: Refactor driver and
add chip_info structure
Hello Andy,
On Mon, Jun 12, 2023 at 08:13:31PM +0300, Andy Shevchenko wrote:
> On Mon, Jun 12, 2023 at 06:31:54PM +0200, Mehdi Djait wrote:
> > On Mon, Jun 12, 2023 at 06:54:34PM +0300, Andy Shevchenko wrote:
> > > On Mon, Jun 12, 2023 at 04:22:08PM +0200, Mehdi Djait wrote:
>
> ...
>
> > > > struct kx022a_data {
> > > > + const struct kx022a_chip_info *chip_info;
> > > > struct regmap *regmap;
> > >
> > > I would suggest to run bloat-o-meter with this version and if you place
> > > chip_info after regmap. Does it gain us some memory?
> >
> > I used the bloat-o-meter on the two .ko files (this version and the the
> > one where chip_info after regamp) Is this what you asked for ?
>
> Yes. I assume the old one is the current as in this patch?
Yes
> If so, you know what to do in the next version :-)
Yes, I will change it in the next version :)
--
Kind Regards
Mehdi Djait
Powered by blists - more mailing lists