On 02/02/2015 02:36 PM, Mauro Carvalho Chehab wrote:
Em Fri, 23 Jan 2015 16:52:22 +0100
Lars-Peter Clausen escreveu:
Use a inline function instead of a macro for the container_of helper for
getting the driver's state struct from a control. A inline function has the
advantage that it is more ty
On 02/02/2015 02:36 PM, Mauro Carvalho Chehab wrote:
> Em Fri, 23 Jan 2015 16:52:22 +0100
> Lars-Peter Clausen escreveu:
>
>> Use a inline function instead of a macro for the container_of helper for
>> getting the driver's state struct from a control. A inline function has the
>> advantage that i
Em Fri, 23 Jan 2015 16:52:22 +0100
Lars-Peter Clausen escreveu:
> Use a inline function instead of a macro for the container_of helper for
> getting the driver's state struct from a control. A inline function has the
> advantage that it is more typesafe and nicer in general.
I don't see any adva
Use a inline function instead of a macro for the container_of helper for
getting the driver's state struct from a control. A inline function has the
advantage that it is more typesafe and nicer in general.
Signed-off-by: Lars-Peter Clausen
Acked-by: Hans Verkuil
---
drivers/media/i2c/adv7180.c