mt76: usb: use dev_err_ratelimited instead of dev_err in mt76u_complete_rx
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 11 Feb 2019 23:45:55 +0000 (00:45 +0100)
committerFelix Fietkau <nbd@nbd.name>
Mon, 18 Feb 2019 19:01:59 +0000 (20:01 +0100)
commit4bfff1ec2599d737470daa3b80711fbc2e8ccfd2
treea317307d650abe28cd9beb521f793c23b956af26
parentc2908a0dfd7ab13381f09fde636f1429d4bb5eaa
mt76: usb: use dev_err_ratelimited instead of dev_err in mt76u_complete_rx

During device removal the driver can report multiple error messages.
Use dev_err_ratelimited instead of dev_err to display urb errors

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/usb.c