From: Guennadi Liakhovetski Date: Wed, 28 Aug 2013 13:28:27 +0000 (-0300) Subject: [media] V4L2: add a v4l2-clk helper macro to produce an I2C device ID X-Git-Tag: v3.13-rc1~47^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=774cc4c289152bfb77806ccae722a9ae2d29dd02;p=pandora-kernel.git [media] V4L2: add a v4l2-clk helper macro to produce an I2C device ID To obtain a clock reference consumers supply their device object to the V4L2 clock framework. The latter then uses the consumer device name to find a matching clock. For that to work V4L2 clock providers have to provide the same device name, when registering clocks. This patch adds a helper macro to generate a suitable device name for I2C devices. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed