diff options
author | Leo Kim | 2016-02-22 05:41:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-02-22 20:48:19 +0100 |
commit | e974b537c0e2c23632c8a366e9dc2d15ff856d3d (patch) | |
tree | 149c9fe65ef3ca7e623cd53d761fecacd50d732b /drivers/staging/wilc1000/wilc_wlan.c | |
parent | staging: wilc1000: removes wilc_dbg() (diff) | |
download | kernel-qcow2-linux-e974b537c0e2c23632c8a366e9dc2d15ff856d3d.tar.gz kernel-qcow2-linux-e974b537c0e2c23632c8a366e9dc2d15ff856d3d.tar.xz kernel-qcow2-linux-e974b537c0e2c23632c8a366e9dc2d15ff856d3d.zip |
staging: wilc1000: replaces wilc_debug with netdev_err
This patches replaces wilc_debug with netdev_err.
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_wlan.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_wlan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c index 90b6528dc7c8..0843ccf47422 100644 --- a/drivers/staging/wilc1000/wilc_wlan.c +++ b/drivers/staging/wilc1000/wilc_wlan.c @@ -1389,18 +1389,18 @@ static u32 init_chip(struct net_device *dev) if ((chipid & 0xfff) != 0xa0) { ret = wilc->hif_func->hif_read_reg(wilc, 0x1118, ®); if (!ret) { - wilc_debug(N_ERR, "[wilc start]: fail read reg 0x1118 ...\n"); + netdev_err(dev, "fail read reg 0x1118\n"); return ret; } reg |= BIT(0); ret = wilc->hif_func->hif_write_reg(wilc, 0x1118, reg); if (!ret) { - wilc_debug(N_ERR, "[wilc start]: fail write reg 0x1118 ...\n"); + netdev_err(dev, "fail write reg 0x1118\n"); return ret; } ret = wilc->hif_func->hif_write_reg(wilc, 0xc0000, 0x71); if (!ret) { - wilc_debug(N_ERR, "[wilc start]: fail write reg 0xc0000 ...\n"); + netdev_err(dev, "fail write reg 0xc0000\n"); return ret; } } |