aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/at76c50x-usb.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 17:48:52 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 17:48:52 -0400
commit24c0328663623e1d10d7cc325f742b8d93b177ea (patch)
treef53f28de757935cfc623f0bd12a313a40450288c /drivers/net/wireless/at76c50x-usb.c
parent46267f4caa5fdf546a94b99b4c53c9424d2d4291 (diff)
USB: at76c50x-usb.c: remove err() usage
err() was a very old USB-specific macro that I thought had gone away. This patch removes it from being used in the driver and uses dev_err() instead. CC: "John W. Linville" <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/at76c50x-usb.c')
-rw-r--r--drivers/net/wireless/at76c50x-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/at76c50x-usb.c b/drivers/net/wireless/at76c50x-usb.c
index 4045e5ab0555..cc741b3cc024 100644
--- a/drivers/net/wireless/at76c50x-usb.c
+++ b/drivers/net/wireless/at76c50x-usb.c
@@ -1955,7 +1955,7 @@ static int at76_hw_scan(struct ieee80211_hw *hw,
1955 ret = at76_set_card_command(priv->udev, CMD_SCAN, &scan, sizeof(scan)); 1955 ret = at76_set_card_command(priv->udev, CMD_SCAN, &scan, sizeof(scan));
1956 1956
1957 if (ret < 0) { 1957 if (ret < 0) {
1958 err("CMD_SCAN failed: %d", ret); 1958 wiphy_err(priv->hw->wiphy, "CMD_SCAN failed: %d\n", ret);
1959 goto exit; 1959 goto exit;
1960 } 1960 }
1961 1961