[media] mt9p031: Identify color/mono models using I2C device name
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 9 Mar 2012 13:42:52 +0000 (10:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 16:32:22 +0000 (13:32 -0300)
commit1c542ba85461f4f4f456eeee4fa7e90a3d138c6a
tree987d4a258766c779fe124b9d76268166e407f8ab
parentd281c1f1443b36890c35de71d9fdaa5cd3899003
[media] mt9p031: Identify color/mono models using I2C device name

Instead of passing a color/monochrome flag through platform data, rely
on the I2C device name to identify the chip model.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9p031.c
include/media/mt9p031.h