V4L/DVB (13021): go7007: Fix whitespace and line lengths

Trailing whitespace is removed.
Source lines wrap at 80 columns.

Signed-off-by: Pete Eberlein <pete@sensoray.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Pete Eberlein 2009-09-18 21:28:59 -03:00 committed by Mauro Carvalho Chehab
parent c24db7065e
commit f4a7d6e4ef

View file

@ -33,7 +33,8 @@
static unsigned int assume_endura; static unsigned int assume_endura;
module_param(assume_endura, int, 0644); module_param(assume_endura, int, 0644);
MODULE_PARM_DESC(assume_endura, "when probing fails, hardware is a Pelco Endura"); MODULE_PARM_DESC(assume_endura, "when probing fails, "
"hardware is a Pelco Endura");
/* #define GO7007_USB_DEBUG */ /* #define GO7007_USB_DEBUG */
/* #define GO7007_I2C_DEBUG */ /* for debugging the EZ-USB I2C adapter */ /* #define GO7007_I2C_DEBUG */ /* for debugging the EZ-USB I2C adapter */
@ -741,7 +742,8 @@ static void go7007_usb_read_video_pipe_complete(struct urb *urb)
return; return;
} }
if (status) { if (status) {
printk(KERN_ERR "go7007-usb: error in video pipe: %d\n", status); printk(KERN_ERR "go7007-usb: error in video pipe: %d\n",
status);
return; return;
} }
if (urb->actual_length != urb->transfer_buffer_length) { if (urb->actual_length != urb->transfer_buffer_length) {
@ -762,7 +764,8 @@ static void go7007_usb_read_audio_pipe_complete(struct urb *urb)
if (!go->streaming) if (!go->streaming)
return; return;
if (status) { if (status) {
printk(KERN_ERR "go7007-usb: error in audio pipe: %d\n", status); printk(KERN_ERR "go7007-usb: error in audio pipe: %d\n",
status);
return; return;
} }
if (urb->actual_length != urb->transfer_buffer_length) { if (urb->actual_length != urb->transfer_buffer_length) {
@ -1017,7 +1020,7 @@ static int go7007_usb_probe(struct usb_interface *intf,
break; break;
case GO7007_BOARDID_SENSORAY_2250: case GO7007_BOARDID_SENSORAY_2250:
printk(KERN_INFO "Sensoray 2250 found\n"); printk(KERN_INFO "Sensoray 2250 found\n");
name = "Sensoray 2250/2251\n"; name = "Sensoray 2250/2251";
board = &board_sensoray_2250; board = &board_sensoray_2250;
break; break;
default: default:
@ -1154,8 +1157,7 @@ static int go7007_usb_probe(struct usb_interface *intf,
* to the EZ-USB GPIO output pins */ * to the EZ-USB GPIO output pins */
if (go7007_usb_vendor_request(go, 0x40, 0x7f02, 0, if (go7007_usb_vendor_request(go, 0x40, 0x7f02, 0,
NULL, 0, 0) < 0) { NULL, 0, 0) < 0) {
printk(KERN_ERR printk(KERN_ERR "go7007-usb: GPIO write failed!\n");
"go7007-usb: GPIO write failed!\n");
goto initfail; goto initfail;
} }
} }