diff options
author | YAMANE Toshiaki <yamanetoshi@gmail.com> | 2012-09-27 22:59:34 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-19 12:12:40 -0700 |
commit | ce833d36c63c6aeb0ab9c271c56cb246f0bb82cd (patch) | |
tree | f8404bc26e9cba5aa22551838b72540f3e257ee6 /drivers/staging/sbe-2t3e3 | |
parent | 1bc7c1c71d7f84baff254868222312bf14915128 (diff) |
staging/sbe-2t3e3: Use netdev_ printks in cpld.c
fixed below checkpatch warning.
- WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ...
Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sbe-2t3e3')
-rw-r--r-- | drivers/staging/sbe-2t3e3/cpld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sbe-2t3e3/cpld.c b/drivers/staging/sbe-2t3e3/cpld.c index cc2b54d52b1b..27365f9bc0b0 100644 --- a/drivers/staging/sbe-2t3e3/cpld.c +++ b/drivers/staging/sbe-2t3e3/cpld.c @@ -338,7 +338,7 @@ void cpld_set_fractional_mode(struct channel *sc, u32 mode, SBE_2T3E3_CPLD_VAL_FRACTIONAL_MODE_2); break; default: - printk(KERN_ERR "wrong mode in set_fractional_mode\n"); + netdev_err(sc->dev, "wrong mode in set_fractional_mode\n"); return; } |