Commit 50c25fff authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

V4L/DVB (3218): Whitespace cleanups


- minor whitespace cleanups
Signed-off-by: default avatarMichael Krufky <mkrufky@m1k.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
parent 41d70c26
...@@ -332,6 +332,7 @@ static int fops_mmap(struct file *file, struct vm_area_struct * vma) ...@@ -332,6 +332,7 @@ static int fops_mmap(struct file *file, struct vm_area_struct * vma)
BUG(); BUG();
return 0; return 0;
} }
return videobuf_mmap_mapper(q,vma); return videobuf_mmap_mapper(q,vma);
} }
......
...@@ -1114,10 +1114,6 @@ int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int ...@@ -1114,10 +1114,6 @@ int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int
return 0; return 0;
} }
case VIDIOC_OVERLAY: case VIDIOC_OVERLAY:
{ {
int on = *(int *)arg; int on = *(int *)arg;
int err = 0; int err = 0;
...@@ -1359,7 +1355,6 @@ static void buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb) ...@@ -1359,7 +1355,6 @@ static void buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb)
saa7146_buffer_queue(fh->dev,&vv->video_q,buf); saa7146_buffer_queue(fh->dev,&vv->video_q,buf);
} }
static void buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb) static void buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb)
{ {
struct file *file = q->priv_data; struct file *file = q->priv_data;
......
...@@ -283,16 +283,17 @@ static int handle_dst_tag(struct dst_state *state, struct ca_msg *p_ca_message, ...@@ -283,16 +283,17 @@ static int handle_dst_tag(struct dst_state *state, struct ca_msg *p_ca_message,
hw_buffer->msg[4] = 0x03; hw_buffer->msg[4] = 0x03;
hw_buffer->msg[5] = length & 0xff; hw_buffer->msg[5] = length & 0xff;
hw_buffer->msg[6] = 0x00; hw_buffer->msg[6] = 0x00;
/* /*
* Need to compute length for EN50221 section 8.3.2, for the time being * Need to compute length for EN50221 section 8.3.2, for the time being
* assuming 8.3.2 is not applicable * assuming 8.3.2 is not applicable
*/ */
memcpy(&hw_buffer->msg[7], &p_ca_message->msg[4], length); memcpy(&hw_buffer->msg[7], &p_ca_message->msg[4], length);
} }
return 0; return 0;
} }
static int write_to_8820(struct dst_state *state, struct ca_msg *hw_buffer, u8 length, u8 reply) static int write_to_8820(struct dst_state *state, struct ca_msg *hw_buffer, u8 length, u8 reply)
{ {
if ((dst_put_ci(state, hw_buffer->msg, length, hw_buffer->msg, reply)) < 0) { if ((dst_put_ci(state, hw_buffer->msg, length, hw_buffer->msg, reply)) < 0) {
......
...@@ -434,7 +434,7 @@ static struct dvb_frontend_ops tda10021_ops = { ...@@ -434,7 +434,7 @@ static struct dvb_frontend_ops tda10021_ops = {
.frequency_max = 858000000, .frequency_max = 858000000,
.symbol_rate_min = (XIN/2)/64, /* SACLK/64 == (XIN/2)/64 */ .symbol_rate_min = (XIN/2)/64, /* SACLK/64 == (XIN/2)/64 */
.symbol_rate_max = (XIN/2)/4, /* SACLK/4 */ .symbol_rate_max = (XIN/2)/4, /* SACLK/4 */
#if 0 #if 0
.frequency_tolerance = ???, .frequency_tolerance = ???,
.symbol_rate_tolerance = ???, /* ppm */ /* == 8% (spec p. 5) */ .symbol_rate_tolerance = ???, /* ppm */ /* == 8% (spec p. 5) */
#endif #endif
......
...@@ -1182,7 +1182,7 @@ static void ttusb_dec_init_tasklet(struct ttusb_dec *dec) ...@@ -1182,7 +1182,7 @@ static void ttusb_dec_init_tasklet(struct ttusb_dec *dec)
(unsigned long)dec); (unsigned long)dec);
} }
static int ttusb_init_rc(struct ttusb_dec *dec) static int ttusb_init_rc( struct ttusb_dec *dec)
{ {
struct input_dev *input_dev; struct input_dev *input_dev;
u8 b[] = { 0x00, 0x01 }; u8 b[] = { 0x00, 0x01 };
...@@ -1209,7 +1209,6 @@ static int ttusb_init_rc(struct ttusb_dec *dec) ...@@ -1209,7 +1209,6 @@ static int ttusb_init_rc(struct ttusb_dec *dec)
if (usb_submit_urb(dec->irq_urb, GFP_KERNEL)) if (usb_submit_urb(dec->irq_urb, GFP_KERNEL))
printk("%s: usb_submit_urb failed\n",__FUNCTION__); printk("%s: usb_submit_urb failed\n",__FUNCTION__);
/* enable irq pipe */ /* enable irq pipe */
ttusb_dec_send_command(dec,0xb0,sizeof(b),b,NULL,NULL); ttusb_dec_send_command(dec,0xb0,sizeof(b),b,NULL,NULL);
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/ioctl.h> #include <linux/ioctl.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment