summaryrefslogtreecommitdiff
path: root/drivers/net/irda/act200l-sir.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/act200l-sir.c')
-rw-r--r--drivers/net/irda/act200l-sir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/irda/act200l-sir.c b/drivers/net/irda/act200l-sir.c
index 8ff084f1d236..a9116456bc9a 100644
--- a/drivers/net/irda/act200l-sir.c
+++ b/drivers/net/irda/act200l-sir.c
@@ -240,7 +240,8 @@ static int act200l_reset(struct sir_dev *dev)
dev->speed = 9600;
break;
default:
- IRDA_ERROR("%s(), unknown state %d\n", __func__, state);
+ net_err_ratelimited("%s(), unknown state %d\n",
+ __func__, state);
ret = -1;
break;
}