aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/au0828/au0828-core.c
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-04-17 21:41:28 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:09:43 -0300
commita9c36aad59a06df199cdbb365d0b05663f8008f1 (patch)
tree505cceb8d6842bf3ff7624de1d619deea98fc8cc /drivers/media/video/au0828/au0828-core.c
parentV4L/DVB (7633): au8522: consolidate mse2snr_lookup functions (diff)
downloadlinux-dev-a9c36aad59a06df199cdbb365d0b05663f8008f1.tar.xz
linux-dev-a9c36aad59a06df199cdbb365d0b05663f8008f1.zip
V4L/DVB (7634): au0828: Cleanup
au0828: Cleanup Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/au0828/au0828-core.c')
-rw-r--r--drivers/media/video/au0828/au0828-core.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/media/video/au0828/au0828-core.c b/drivers/media/video/au0828/au0828-core.c
index efecac3979ae..530c675e53a4 100644
--- a/drivers/media/video/au0828/au0828-core.c
+++ b/drivers/media/video/au0828/au0828-core.c
@@ -143,6 +143,7 @@ static int recv_control_msg(struct au0828_dev *dev, u16 request, u32 value,
mutex_unlock(&dev->mutex);
return status;
}
+
static void au0828_usb_disconnect(struct usb_interface *interface)
{
struct au0828_dev *dev = usb_get_intfdata(interface);
@@ -177,7 +178,7 @@ static int au0828_usb_probe (struct usb_interface *interface,
if (ifnum != 0)
return -ENODEV;
- dprintk(1,"%s() vendor id 0x%x device id 0x%x ifnum:%d\n", __func__,
+ dprintk(1, "%s() vendor id 0x%x device id 0x%x ifnum:%d\n", __func__,
le16_to_cpu(usbdev->descriptor.idVendor),
le16_to_cpu(usbdev->descriptor.idProduct),
ifnum);
@@ -228,20 +229,20 @@ static int __init au0828_init(void)
{
int ret;
- if(debug)
+ if (debug)
printk(KERN_INFO "%s() Debugging is enabled\n", __func__);
- if(usb_debug) {
+ if (usb_debug) {
printk(KERN_INFO "%s() USB Debugging is enabled\n", __func__);
debug |= 2;
}
- if(i2c_debug) {
+ if (i2c_debug) {
printk(KERN_INFO "%s() I2C Debugging is enabled\n", __func__);
debug |= 4;
}
- if(bridge_debug) {
+ if (bridge_debug) {
printk(KERN_INFO "%s() Bridge Debugging is enabled\n",
__func__);
debug |= 8;