diff options
author | Emmanuil Chatzipetru <chatzi.emanuel@gmail.com> | 2016-12-22 16:22:03 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-03 16:47:52 +0100 |
commit | 62730c957164007b2b6e9d0d4a0b7c6b742815e5 (patch) | |
tree | 4c672680a4b4e18f4833357189b4a44de06b7b49 /drivers/staging/greybus | |
parent | 28cf203524de9fef49b39f2a922d5206b206b665 (diff) | |
download | linux-stable-62730c957164007b2b6e9d0d4a0b7c6b742815e5.tar.gz linux-stable-62730c957164007b2b6e9d0d4a0b7c6b742815e5.tar.bz2 linux-stable-62730c957164007b2b6e9d0d4a0b7c6b742815e5.zip |
staging: greybus: svc_watchdog: replace printk() with pr_err()
Fix coding style issue caught by checkpatch.pl related to the following
warning:
- "WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev, ... then
dev_err(dev, ... then pr_err(... to printk(KERN_ERR ."
Signed-off-by: Emmanuil Chatzipetru <chatzi.emanuel@gmail.com>
Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r-- | drivers/staging/greybus/svc_watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/svc_watchdog.c b/drivers/staging/greybus/svc_watchdog.c index 5edff71f0773..d8af2d5d0025 100644 --- a/drivers/staging/greybus/svc_watchdog.c +++ b/drivers/staging/greybus/svc_watchdog.c @@ -56,7 +56,7 @@ static void greybus_reset(struct work_struct *work) NULL, }; - printk(KERN_ERR "svc_watchdog: calling \"%s %s\" to reset greybus network!\n", + pr_err("svc_watchdog: calling \"%s %s\" to reset greybus network!\n", argv[0], argv[1]); call_usermodehelper(start_path, argv, envp, UMH_WAIT_EXEC); } |