Hi Linus,

2015-12-09 22:33 GMT+09:00 Linus Walleij <[email protected]>:
> 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 always thought container_of() was preferred because of higher type
safety than void *data pointers. Is there any reason for mandating the
(IMHO worse) new method of accessing data, even though the one
currently used seems to be still valid?

Best regards,
Tomasz
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to