[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y4YNOd0pBUfqxvmC@smile.fi.intel.com>
Date: Tue, 29 Nov 2022 15:46:33 +0200
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH v2 1/2] gpiolib: Provide to_gpio_device() helper
On Tue, Nov 29, 2022 at 01:50:51PM +0100, Bartosz Golaszewski wrote:
> On Mon, Nov 28, 2022 at 8:00 PM Andy Shevchenko
> <andriy.shevchenko@...ux.intel.com> wrote:
...
> > While at it, make sure it becomes no-op at compilation time.
^^^
> > - int id;
>
> Sorry I didn't notice it before but why the churn? This is not needed
> for container_of to work.
> > + int id;
I hope this explains and can be accepted.
> > };
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists