[media] au0828: simplify i2c_gate_ctrl
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 11 Mar 2013 19:10:33 +0000 (16:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 18:10:32 +0000 (15:10 -0300)
commitfa09cb9a992be135fa6f3ac8a0841c478f29d844
tree16c2889c95f3f6ef5ff49af982d272431a5cd5d6
parent823beb7e22d04ed545e7adfcd5ec8db934218872
[media] au0828: simplify i2c_gate_ctrl

Turn it into a simple function.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/au0828/au0828-video.c