Commit 1dc6e418 authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

staging: easycap: drop redunant backslashes from the code

remove \ from the code where C syntex doesnt require it
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2a9a05c4
...@@ -384,9 +384,9 @@ int video_eof; ...@@ -384,9 +384,9 @@ int video_eof;
int video_junk; int video_junk;
struct data_buffer video_isoc_buffer[VIDEO_ISOC_BUFFER_MANY]; struct data_buffer video_isoc_buffer[VIDEO_ISOC_BUFFER_MANY];
struct data_buffer \ struct data_buffer
field_buffer[FIELD_BUFFER_MANY][(FIELD_BUFFER_SIZE/PAGE_SIZE)]; field_buffer[FIELD_BUFFER_MANY][(FIELD_BUFFER_SIZE/PAGE_SIZE)];
struct data_buffer \ struct data_buffer
frame_buffer[FRAME_BUFFER_MANY][(FRAME_BUFFER_SIZE/PAGE_SIZE)]; frame_buffer[FRAME_BUFFER_MANY][(FRAME_BUFFER_SIZE/PAGE_SIZE)];
struct list_head urb_video_head; struct list_head urb_video_head;
...@@ -518,9 +518,9 @@ struct data_buffer audio_buffer[]; ...@@ -518,9 +518,9 @@ struct data_buffer audio_buffer[];
void easycap_complete(struct urb *); void easycap_complete(struct urb *);
int easycap_open(struct inode *, struct file *); int easycap_open(struct inode *, struct file *);
int easycap_release(struct inode *, struct file *); int easycap_release(struct inode *, struct file *);
long easycap_ioctl_noinode(struct file *, unsigned int, \ long easycap_ioctl_noinode(struct file *, unsigned int,
unsigned long); unsigned long);
int easycap_ioctl(struct inode *, struct file *, unsigned int, \ int easycap_ioctl(struct inode *, struct file *, unsigned int,
unsigned long); unsigned long);
/*vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv*/ /*vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv*/
#if defined(EASYCAP_IS_VIDEODEV_CLIENT) #if defined(EASYCAP_IS_VIDEODEV_CLIENT)
...@@ -532,7 +532,7 @@ int videodev_release(struct video_device *); ...@@ -532,7 +532,7 @@ int videodev_release(struct video_device *);
unsigned int easycap_poll(struct file *, poll_table *); unsigned int easycap_poll(struct file *, poll_table *);
int easycap_mmap(struct file *, struct vm_area_struct *); int easycap_mmap(struct file *, struct vm_area_struct *);
int easycap_usb_probe(struct usb_interface *, \ int easycap_usb_probe(struct usb_interface *,
const struct usb_device_id *); const struct usb_device_id *);
void easycap_usb_disconnect(struct usb_interface *); void easycap_usb_disconnect(struct usb_interface *);
void easycap_delete(struct kref *); void easycap_delete(struct kref *);
...@@ -544,14 +544,14 @@ int easycap_dqbuf(struct easycap *, int); ...@@ -544,14 +544,14 @@ int easycap_dqbuf(struct easycap *, int);
int submit_video_urbs(struct easycap *); int submit_video_urbs(struct easycap *);
int kill_video_urbs(struct easycap *); int kill_video_urbs(struct easycap *);
int field2frame(struct easycap *); int field2frame(struct easycap *);
int redaub(struct easycap *, void *, void *, \ int redaub(struct easycap *, void *, void *,
int, int, __u8, __u8, bool); int, int, __u8, __u8, bool);
void easycap_testcard(struct easycap *, int); void easycap_testcard(struct easycap *, int);
int fillin_formats(void); int fillin_formats(void);
int reset(struct easycap *); int reset(struct easycap *);
int newinput(struct easycap *, int); int newinput(struct easycap *, int);
int adjust_standard(struct easycap *, v4l2_std_id); int adjust_standard(struct easycap *, v4l2_std_id);
int adjust_format(struct easycap *, __u32, __u32, __u32, \ int adjust_format(struct easycap *, __u32, __u32, __u32,
int, bool); int, bool);
int adjust_brightness(struct easycap *, int); int adjust_brightness(struct easycap *, int);
int adjust_contrast(struct easycap *, int); int adjust_contrast(struct easycap *, int);
...@@ -569,15 +569,14 @@ int easycap_alsa_probe(struct easycap *); ...@@ -569,15 +569,14 @@ int easycap_alsa_probe(struct easycap *);
void easycap_alsa_complete(struct urb *); void easycap_alsa_complete(struct urb *);
int easycap_alsa_open(struct snd_pcm_substream *); int easycap_alsa_open(struct snd_pcm_substream *);
int easycap_alsa_close(struct snd_pcm_substream *); int easycap_alsa_close(struct snd_pcm_substream *);
int easycap_alsa_hw_params(struct snd_pcm_substream *, \ int easycap_alsa_hw_params(struct snd_pcm_substream *,
struct snd_pcm_hw_params *); struct snd_pcm_hw_params *);
int easycap_alsa_vmalloc(struct snd_pcm_substream *, size_t); int easycap_alsa_vmalloc(struct snd_pcm_substream *, size_t);
int easycap_alsa_hw_free(struct snd_pcm_substream *); int easycap_alsa_hw_free(struct snd_pcm_substream *);
int easycap_alsa_prepare(struct snd_pcm_substream *); int easycap_alsa_prepare(struct snd_pcm_substream *);
int easycap_alsa_ack(struct snd_pcm_substream *); int easycap_alsa_ack(struct snd_pcm_substream *);
int easycap_alsa_trigger(struct snd_pcm_substream *, int); int easycap_alsa_trigger(struct snd_pcm_substream *, int);
snd_pcm_uframes_t \ snd_pcm_uframes_t easycap_alsa_pointer(struct snd_pcm_substream *);
easycap_alsa_pointer(struct snd_pcm_substream *);
struct page *easycap_alsa_page(struct snd_pcm_substream *, unsigned long); struct page *easycap_alsa_page(struct snd_pcm_substream *, unsigned long);
#else #else
...@@ -585,9 +584,9 @@ void easyoss_complete(struct urb *); ...@@ -585,9 +584,9 @@ void easyoss_complete(struct urb *);
ssize_t easyoss_read(struct file *, char __user *, size_t, loff_t *); ssize_t easyoss_read(struct file *, char __user *, size_t, loff_t *);
int easyoss_open(struct inode *, struct file *); int easyoss_open(struct inode *, struct file *);
int easyoss_release(struct inode *, struct file *); int easyoss_release(struct inode *, struct file *);
long easyoss_ioctl_noinode(struct file *, unsigned int, \ long easyoss_ioctl_noinode(struct file *, unsigned int,
unsigned long); unsigned long);
int easyoss_ioctl(struct inode *, struct file *, unsigned int, \ int easyoss_ioctl(struct inode *, struct file *, unsigned int,
unsigned long); unsigned long);
unsigned int easyoss_poll(struct file *, poll_table *); unsigned int easyoss_poll(struct file *, poll_table *);
void easyoss_delete(struct kref *); void easyoss_delete(struct kref *);
...@@ -619,7 +618,7 @@ int ready_saa(struct usb_device *); ...@@ -619,7 +618,7 @@ int ready_saa(struct usb_device *);
int merit_saa(struct usb_device *); int merit_saa(struct usb_device *);
int check_vt(struct usb_device *); int check_vt(struct usb_device *);
int select_input(struct usb_device *, int, int); int select_input(struct usb_device *, int, int);
int set_resolution(struct usb_device *, \ int set_resolution(struct usb_device *,
__u16, __u16, __u16, __u16); __u16, __u16, __u16, __u16);
int read_saa(struct usb_device *, __u16); int read_saa(struct usb_device *, __u16);
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -44,7 +44,7 @@ const struct easycap_standard easycap_standard[] = { ...@@ -44,7 +44,7 @@ const struct easycap_standard easycap_standard[] = {
.mask = 0x00FF & PAL_BGHIN , .mask = 0x00FF & PAL_BGHIN ,
.v4l2_standard = { .v4l2_standard = {
.index = PAL_BGHIN, .index = PAL_BGHIN,
.id = (V4L2_STD_PAL_B | V4L2_STD_PAL_G | V4L2_STD_PAL_H | \ .id = (V4L2_STD_PAL_B | V4L2_STD_PAL_G | V4L2_STD_PAL_H |
V4L2_STD_PAL_I | V4L2_STD_PAL_N), V4L2_STD_PAL_I | V4L2_STD_PAL_N),
.name = "PAL_BGHIN", .name = "PAL_BGHIN",
.frameperiod = {1, 25}, .frameperiod = {1, 25},
...@@ -165,8 +165,8 @@ const struct easycap_standard easycap_standard[] = { ...@@ -165,8 +165,8 @@ const struct easycap_standard easycap_standard[] = {
.mask = 0x8000 | (0x00FF & PAL_BGHIN_SLOW), .mask = 0x8000 | (0x00FF & PAL_BGHIN_SLOW),
.v4l2_standard = { .v4l2_standard = {
.index = PAL_BGHIN_SLOW, .index = PAL_BGHIN_SLOW,
.id = (V4L2_STD_PAL_B | V4L2_STD_PAL_G | V4L2_STD_PAL_H | \ .id = (V4L2_STD_PAL_B | V4L2_STD_PAL_G | V4L2_STD_PAL_H |
V4L2_STD_PAL_I | V4L2_STD_PAL_N | \ V4L2_STD_PAL_I | V4L2_STD_PAL_N |
(((v4l2_std_id)0x01) << 32)), (((v4l2_std_id)0x01) << 32)),
.name = "PAL_BGHIN_SLOW", .name = "PAL_BGHIN_SLOW",
.frameperiod = {1, 5}, .frameperiod = {1, 5},
...@@ -573,25 +573,25 @@ for (i = 0, n = 0; i < STANDARD_MANY; i++) { ...@@ -573,25 +573,25 @@ for (i = 0, n = 0; i < STANDARD_MANY; i++) {
strcat(&easycap_format[n].name[0], &name2[0]); strcat(&easycap_format[n].name[0], &name2[0]);
strcat(&easycap_format[n].name[0], &name3[0]); strcat(&easycap_format[n].name[0], &name3[0]);
strcat(&easycap_format[n].name[0], &name4[0]); strcat(&easycap_format[n].name[0], &name4[0]);
easycap_format[n].mask = \ easycap_format[n].mask =
mask1 | mask2 | mask3 | mask4; mask1 | mask2 | mask3 | mask4;
easycap_format[n].v4l2_format\ easycap_format[n].v4l2_format
.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; .type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
easycap_format[n].v4l2_format\ easycap_format[n].v4l2_format
.fmt.pix.width = width; .fmt.pix.width = width;
easycap_format[n].v4l2_format\ easycap_format[n].v4l2_format
.fmt.pix.height = height; .fmt.pix.height = height;
easycap_format[n].v4l2_format\ easycap_format[n].v4l2_format
.fmt.pix.pixelformat = pixelformat; .fmt.pix.pixelformat = pixelformat;
easycap_format[n].v4l2_format\ easycap_format[n].v4l2_format
.fmt.pix.field = field; .fmt.pix.field = field;
easycap_format[n].v4l2_format\ easycap_format[n].v4l2_format
.fmt.pix.bytesperline = bytesperline; .fmt.pix.bytesperline = bytesperline;
easycap_format[n].v4l2_format\ easycap_format[n].v4l2_format
.fmt.pix.sizeimage = sizeimage; .fmt.pix.sizeimage = sizeimage;
easycap_format[n].v4l2_format\ easycap_format[n].v4l2_format
.fmt.pix.colorspace = colorspace; .fmt.pix.colorspace = colorspace;
easycap_format[n].v4l2_format\ easycap_format[n].v4l2_format
.fmt.pix.priv = 0; .fmt.pix.priv = 0;
n++; n++;
} }
...@@ -604,7 +604,7 @@ easycap_format[n].mask = 0xFFFF; ...@@ -604,7 +604,7 @@ easycap_format[n].mask = 0xFFFF;
return n; return n;
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
struct v4l2_queryctrl easycap_control[] = \ struct v4l2_queryctrl easycap_control[] =
{{ {{
.id = V4L2_CID_BRIGHTNESS, .id = V4L2_CID_BRIGHTNESS,
.type = V4L2_CTRL_TYPE_INTEGER, .type = V4L2_CTRL_TYPE_INTEGER,
......
This diff is collapsed.
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