[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151217194016.GD1530@katana>
Date: Thu, 17 Dec 2015 20:40:17 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: Arnd Bergmann <arnd@...db.de>
Cc: kbuild test robot <lkp@...el.com>, kbuild-all@...org,
linux-i2c@...r.kernel.org,
Niklas Söderlund
<niklas.soderlund+renesas@...natech.se>, linux-sh@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: allow building emev2 without slave mode again
> > My conclusion for now is:
> >
> > There needs something to be done surely, but currently I don't have the
> > bandwidth to do it or even play around with it. I am not fully happy
> > with your patches as well because __maybe_unused has some kind of "last
> > resort" feeling to me.
>
> I generally like __maybe_unused, but it's a matter of personal preference.
> We could avoid the __maybe_unused if the reg_slave/unreg_slave callback
> pointers are always available in struct i2c_algorithm.
Yes, I was thinking in this direction, looking at how PM does it. Needs
some playing around, though.
> Just for reference, see below for my combined patch, in case you decide
> to use that at a later point.
Thanks a lot!
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists