diff options
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | 2017-12-19 15:56:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-19 16:05:54 +0100 |
commit | ebc1dea21b7fab7066b32d23242086bcdb29f5d1 (patch) | |
tree | 29293bbbc47ec5ee18e138ba310ef600e4a425e1 /drivers | |
parent | 57fa80f5b0c97d319811a0dfa3d7b29ea8103c59 (diff) | |
download | op-kernel-dev-ebc1dea21b7fab7066b32d23242086bcdb29f5d1.zip op-kernel-dev-ebc1dea21b7fab7066b32d23242086bcdb29f5d1.tar.gz |
staging: pi433: replace printk calls with dev_dbg
Fixes checkpatch warning:
WARNING: printk() should include KERN_<LEVEL> facility level
Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/pi433/pi433_if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index 264d798..89c0360 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -718,7 +718,7 @@ pi433_tx_thread(void *data) retval = wait_event_interruptible(device->fifo_wait_queue, device->free_in_fifo > 0); if (retval) { - printk("ABORT\n"); + dev_dbg(device->dev, "ABORT\n"); goto abort; } } @@ -729,7 +729,7 @@ pi433_tx_thread(void *data) device->free_in_fifo == FIFO_SIZE || kthread_should_stop()); if (kthread_should_stop()) - printk("ABORT\n"); + dev_dbg(device->dev, "ABORT\n"); /* STOP_TRANSMISSION */ dev_dbg(device->dev, "thread: Packet sent. Set mode to stby."); |