diff options
Diffstat (limited to 'drivers/net/irda/tekram-sir.c')
-rw-r--r-- | drivers/net/irda/tekram-sir.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/drivers/net/irda/tekram-sir.c b/drivers/net/irda/tekram-sir.c index 04db4eac9dc3..9dcf0c103b9d 100644 --- a/drivers/net/irda/tekram-sir.c +++ b/drivers/net/irda/tekram-sir.c | |||
@@ -63,8 +63,8 @@ static int __init tekram_sir_init(void) | |||
63 | { | 63 | { |
64 | if (tekram_delay < 1 || tekram_delay > 500) | 64 | if (tekram_delay < 1 || tekram_delay > 500) |
65 | tekram_delay = 200; | 65 | tekram_delay = 200; |
66 | IRDA_DEBUG(1, "%s - using %d ms delay\n", | 66 | pr_debug("%s - using %d ms delay\n", |
67 | tekram.driver_name, tekram_delay); | 67 | tekram.driver_name, tekram_delay); |
68 | return irda_register_dongle(&tekram); | 68 | return irda_register_dongle(&tekram); |
69 | } | 69 | } |
70 | 70 | ||
@@ -77,8 +77,6 @@ static int tekram_open(struct sir_dev *dev) | |||
77 | { | 77 | { |
78 | struct qos_info *qos = &dev->qos; | 78 | struct qos_info *qos = &dev->qos; |
79 | 79 | ||
80 | IRDA_DEBUG(2, "%s()\n", __func__); | ||
81 | |||
82 | sirdev_set_dtr_rts(dev, TRUE, TRUE); | 80 | sirdev_set_dtr_rts(dev, TRUE, TRUE); |
83 | 81 | ||
84 | qos->baud_rate.bits &= IR_9600|IR_19200|IR_38400|IR_57600|IR_115200; | 82 | qos->baud_rate.bits &= IR_9600|IR_19200|IR_38400|IR_57600|IR_115200; |
@@ -92,8 +90,6 @@ static int tekram_open(struct sir_dev *dev) | |||
92 | 90 | ||
93 | static int tekram_close(struct sir_dev *dev) | 91 | static int tekram_close(struct sir_dev *dev) |
94 | { | 92 | { |
95 | IRDA_DEBUG(2, "%s()\n", __func__); | ||
96 | |||
97 | /* Power off dongle */ | 93 | /* Power off dongle */ |
98 | sirdev_set_dtr_rts(dev, FALSE, FALSE); | 94 | sirdev_set_dtr_rts(dev, FALSE, FALSE); |
99 | 95 | ||
@@ -130,8 +126,6 @@ static int tekram_change_speed(struct sir_dev *dev, unsigned speed) | |||
130 | u8 byte; | 126 | u8 byte; |
131 | static int ret = 0; | 127 | static int ret = 0; |
132 | 128 | ||
133 | IRDA_DEBUG(2, "%s()\n", __func__); | ||
134 | |||
135 | switch(state) { | 129 | switch(state) { |
136 | case SIRDEV_STATE_DONGLE_SPEED: | 130 | case SIRDEV_STATE_DONGLE_SPEED: |
137 | 131 | ||
@@ -205,8 +199,6 @@ static int tekram_change_speed(struct sir_dev *dev, unsigned speed) | |||
205 | 199 | ||
206 | static int tekram_reset(struct sir_dev *dev) | 200 | static int tekram_reset(struct sir_dev *dev) |
207 | { | 201 | { |
208 | IRDA_DEBUG(2, "%s()\n", __func__); | ||
209 | |||
210 | /* Clear DTR, Set RTS */ | 202 | /* Clear DTR, Set RTS */ |
211 | sirdev_set_dtr_rts(dev, FALSE, TRUE); | 203 | sirdev_set_dtr_rts(dev, FALSE, TRUE); |
212 | 204 | ||