V4L/DVB (10933): zoran: Pass zoran_fh pointers instead of file pointers
authorTrent Piepho <xyzzy@speakeasy.org>
Wed, 11 Mar 2009 02:28:31 +0000 (23:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:17 +0000 (12:43 -0300)
commite5ee3f643dd6d25c73cfd1e943abc9b529d63697
treed475feef3e937b6b0fd3cc56faeb10c5b93ea49c
parentee9a9d661d96e29d93859d20125bc7e4cc75309b
V4L/DVB (10933): zoran: Pass zoran_fh pointers instead of file pointers

Many functions had a struct file pointer argument, but all they wants is
the struct zoran_fh pointer from the file's private data.  Since every
caller of those functions already has the zoran_fh, just pass the that
instead.  This saves a dereference in each function change.

While I'm at it, change the code formatting of affected functions to be
kernel standard style.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zoran/zoran_device.c
drivers/media/video/zoran/zoran_device.h
drivers/media/video/zoran/zoran_driver.c