Re: [PATCH v11 15/21] V4L2: add a device pointer to struct v4l2_subdev

2013-06-16 Thread Prabhakar Lad
Hi Guennadi, Thanks for the patch. On Sat, Jun 15, 2013 at 12:38 AM, Guennadi Liakhovetski wrote: > It is often useful to have simple means to get from a subdevice to the > underlying physical device. This patch adds such a pointer to struct > v4l2_subdev and sets it accordingly in the I2C and S

[PATCH v11 15/21] V4L2: add a device pointer to struct v4l2_subdev

2013-06-14 Thread Guennadi Liakhovetski
It is often useful to have simple means to get from a subdevice to the underlying physical device. This patch adds such a pointer to struct v4l2_subdev and sets it accordingly in the I2C and SPI cases. Signed-off-by: Guennadi Liakhovetski --- v11: extended a comment drivers/media/v4l2-core/v4l