summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio
diff options
context:
space:
mode:
authorTobias Lorenz <tobias.lorenz@gmx.net>2009-06-21 00:14:50 +0200
committerTobias Lorenz <tobias.lorenz@gmx.net>2009-06-21 00:14:50 +0200
commit98c1432a2113aa0c3aa68dcd754f61527375b7f8 (patch)
treec53dd5e5c90564f82f95956a58e1240428387b9d /linux/drivers/media/radio
parent010bc93a2744240c769f474f024d8e6e6c385536 (diff)
downloadmediapointer-dvb-s2-98c1432a2113aa0c3aa68dcd754f61527375b7f8.tar.gz
mediapointer-dvb-s2-98c1432a2113aa0c3aa68dcd754f61527375b7f8.tar.bz2
Cleanup
- Remove user count log messages - Comments adopted to general style Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Diffstat (limited to 'linux/drivers/media/radio')
-rw-r--r--linux/drivers/media/radio/radio-si470x.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/linux/drivers/media/radio/radio-si470x.c b/linux/drivers/media/radio/radio-si470x.c
index 1358ee2bb..a40c8f355 100644
--- a/linux/drivers/media/radio/radio-si470x.c
+++ b/linux/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)