[media] media: i2c: ths7303: remove unnecessary function ths7303_setup()
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Sat, 25 May 2013 16:39:35 +0000 (13:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Jun 2013 14:41:47 +0000 (11:41 -0300)
commit8524ce558a0111762efa1a6b5ba9ce5e092b4707
treebb4935607cf3aa0ad088e5f8ebf6d3db6c8f1ba5
parentd97ada97ae7b29a83bc04fc3a05ef7b75c88e335
[media] media: i2c: ths7303: remove unnecessary function ths7303_setup()

the ths7303_setup() was doing the same thing as ths7303_setval()
except that ths7303_setval() sets it to some particular mode.
This patch removes ths7303_setup() function and calls ths7303_setval()
in the probe setting the device to 480I_576I filter mode in the probe.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/ths7303.c