summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorTobias Lorenz <tobias.lorenz@gmx.net>2009-06-20 19:14:50 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 12:17:11 -0300
commit9817dc3133b8f75812b8b2c9e7a52c7c34f715d9 (patch)
treed95c129ba80a702b74ec3357944314a9b4613b76 /drivers/media/radio
parent721f59ed612477a9f83f3f3a222a14d16505c1a4 (diff)
downloadop-kernel-dev-9817dc3133b8f75812b8b2c9e7a52c7c34f715d9.zip
op-kernel-dev-9817dc3133b8f75812b8b2c9e7a52c7c34f715d9.tar.gz
V4L/DVB (12143): radio-si470x: cleanups
- Remove user count log messages - Comments adopted to general style Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r--drivers/media/radio/radio-si470x.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/media/radio/radio-si470x.c b/drivers/media/radio/radio-si470x.c
index 41f3043..179ee86 100644
--- a/drivers/media/radio/radio-si470x.c
+++ b/drivers/media/radio/radio-si470x.c
@@ -1141,9 +1141,6 @@ static int si470x_fops_open(struct file *file)
goto done;
}
- printk(KERN_INFO DRIVER_NAME
- ": Opened radio (users now: %i)\n", radio->users);
-
if (radio->users == 1) {
/* start radio */
retval = si470x_start(radio);
@@ -1151,7 +1148,8 @@ static int si470x_fops_open(struct file *file)
usb_autopm_put_interface(radio->intf);
goto done;
}
- /* Initialize interrupt URB. */
+
+ /* initialize interrupt urb */
usb_fill_int_urb(radio->int_in_urb, radio->usbdev,
usb_rcvintpipe(radio->usbdev,
radio->int_in_endpoint->bEndpointAddress),
@@ -1171,7 +1169,6 @@ static int si470x_fops_open(struct file *file)
radio->int_in_running = 0;
usb_autopm_put_interface(radio->intf);
}
-
}
done:
@@ -1196,11 +1193,8 @@ static int si470x_fops_release(struct file *file)
mutex_lock(&radio->disconnect_lock);
radio->users--;
- printk(KERN_INFO DRIVER_NAME
- ": Closed radio (remaining users:%i)\n", radio->users);
if (radio->users == 0) {
-
- /* Shutdown Interrupt handler */
+ /* shutdown interrupt handler */
if (radio->int_in_running) {
radio->int_in_running = 0;
if (radio->int_in_urb)
OpenPOWER on IntegriCloud