aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/girbil-sir.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-11-11 17:44:57 -0500
committerDavid S. Miller <davem@davemloft.net>2014-11-12 13:56:41 -0500
commit955a9d202f470019f42979f0d1caec98843e39ce (patch)
treefff6124b339bc33e3b5c67668bfcc13098be865c /drivers/net/irda/girbil-sir.c
parent8d326d818a2a8fc80c7df85dd88cb214804d1499 (diff)
irda: Convert IRDA_DEBUG to pr_debug
Use the normal kernel debugging mechanism which also enables dynamic_debug at the same time. Other miscellanea: o Remove sysctl for irda_debug o Remove function tracing like uses (use ftrace instead) o Coalesce formats o Realign arguments o Remove unnecessary OOM messages Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/girbil-sir.c')
-rw-r--r--drivers/net/irda/girbil-sir.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/irda/girbil-sir.c b/drivers/net/irda/girbil-sir.c
index f0512ad7dae7..7e0a5b8c6d53 100644
--- a/drivers/net/irda/girbil-sir.c
+++ b/drivers/net/irda/girbil-sir.c
@@ -86,8 +86,6 @@ static int girbil_open(struct sir_dev *dev)
86{ 86{
87 struct qos_info *qos = &dev->qos; 87 struct qos_info *qos = &dev->qos;
88 88
89 IRDA_DEBUG(2, "%s()\n", __func__);
90
91 /* Power on dongle */ 89 /* Power on dongle */
92 sirdev_set_dtr_rts(dev, TRUE, TRUE); 90 sirdev_set_dtr_rts(dev, TRUE, TRUE);
93 91
@@ -102,8 +100,6 @@ static int girbil_open(struct sir_dev *dev)
102 100
103static int girbil_close(struct sir_dev *dev) 101static int girbil_close(struct sir_dev *dev)
104{ 102{
105 IRDA_DEBUG(2, "%s()\n", __func__);
106
107 /* Power off dongle */ 103 /* Power off dongle */
108 sirdev_set_dtr_rts(dev, FALSE, FALSE); 104 sirdev_set_dtr_rts(dev, FALSE, FALSE);
109 105
@@ -126,8 +122,6 @@ static int girbil_change_speed(struct sir_dev *dev, unsigned speed)
126 u8 control[2]; 122 u8 control[2];
127 static int ret = 0; 123 static int ret = 0;
128 124
129 IRDA_DEBUG(2, "%s()\n", __func__);
130
131 /* dongle alread reset - port and dongle at default speed */ 125 /* dongle alread reset - port and dongle at default speed */
132 126
133 switch(state) { 127 switch(state) {
@@ -210,8 +204,6 @@ static int girbil_reset(struct sir_dev *dev)
210 u8 control = GIRBIL_TXEN | GIRBIL_RXEN; 204 u8 control = GIRBIL_TXEN | GIRBIL_RXEN;
211 int ret = 0; 205 int ret = 0;
212 206
213 IRDA_DEBUG(2, "%s()\n", __func__);
214
215 switch (state) { 207 switch (state) {
216 case SIRDEV_STATE_DONGLE_RESET: 208 case SIRDEV_STATE_DONGLE_RESET:
217 /* Reset dongle */ 209 /* Reset dongle */