diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 21:48:52 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 21:48:52 (GMT) |
commit | 24c0328663623e1d10d7cc325f742b8d93b177ea (patch) | |
tree | f53f28de757935cfc623f0bd12a313a40450288c /drivers/net/wireless/at76c50x-usb.c | |
parent | 46267f4caa5fdf546a94b99b4c53c9424d2d4291 (diff) | |
download | linux-24c0328663623e1d10d7cc325f742b8d93b177ea.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/at76c50x-usb.c b/drivers/net/wireless/at76c50x-usb.c index 4045e5a..cc741b3 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, ret = at76_set_card_command(priv->udev, CMD_SCAN, &scan, sizeof(scan)); if (ret < 0) { - err("CMD_SCAN failed: %d", ret); + wiphy_err(priv->hw->wiphy, "CMD_SCAN failed: %d\n", ret); goto exit; } |