[media] smiapp: Pass struct sensor to register writing commands instead of i2c_client
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Sun, 22 Apr 2012 11:55:10 +0000 (08:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 15:45:01 +0000 (12:45 -0300)
commit1e73eea781bc302ba7f35da89d627bd355a7814a
tree8a618353b8530b6cf4a97c35c1a06fd85bd3a38d
parent2547428de05d5bc45d3144a0ebc51e3f249a2bc0
[media] smiapp: Pass struct sensor to register writing commands instead of i2c_client

Pass struct sensor to register access commands. This allows taking quirks
into account in register access.

Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/smiapp/smiapp-core.c
drivers/media/video/smiapp/smiapp-quirk.c
drivers/media/video/smiapp/smiapp-regs.c
drivers/media/video/smiapp/smiapp-regs.h