On Wed, Dec 9, 2015 at 8:19 PM, Uwe Kleine-König
<u.kleine-koe...@pengutronix.de> wrote:
> On Wed, Dec 09, 2015 at 02:18:37PM +0100, Linus Walleij wrote:
>> This makes the driver use the data pointer added to the gpio_chip
>> to store a pointer to the state container instead of relying on
>> container_of().
>
> I wonder why your patch is an improvement. I imagine that container_of
> is cheaper in instructions and memory/cache accesses.

This is described in patch 000/182.

I'm sorry I couldn't put everyone on direct CC for that, but the mailing lists
complain if I have too many recipients, so damned if I do, damned if I don't :(
http://marc.info/?l=linux-gpio&m=144966662402660&w=2

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to