[media] smiapp: Use I2C adapter ID and address in the sub-device name
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 26 Mar 2014 16:34:29 +0000 (13:34 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 23 Apr 2014 14:11:43 +0000 (11:11 -0300)
commit3c9e7ea37709572755d3aea2ebdd453b187741ab
treec0fe45df106f6d50f3d32c60b3cb3abd86a0062d
parent125a1c069651fd470f457aa95256903e195b176d
[media] smiapp: Use I2C adapter ID and address in the sub-device name

The sub-device names should be unique. Should two identical sensors be
present in the same media device they would be indistinguishable. The names
will change e.g. from "vs6555 pixel array" to "vs6555 1-0010 pixel array".

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/smiapp/smiapp-core.c