aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/pi433/pi433_if.c
diff options
context:
space:
mode:
authorValentin Vidic <Valentin.Vidic@CARNet.hr>2017-12-19 15:56:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-19 16:05:54 +0100
commitebc1dea21b7fab7066b32d23242086bcdb29f5d1 (patch)
tree29293bbbc47ec5ee18e138ba310ef600e4a425e1 /drivers/staging/pi433/pi433_if.c
parentstaging: pi433: avoid logging ENOMEM messages (diff)
downloadlinux-dev-ebc1dea21b7fab7066b32d23242086bcdb29f5d1.tar.xz
linux-dev-ebc1dea21b7fab7066b32d23242086bcdb29f5d1.zip
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/staging/pi433/pi433_if.c')
-rw-r--r--drivers/staging/pi433/pi433_if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c
index 264d798a1cf2..89c03601ec1f 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.");