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>
This commit is contained in:
parent
57fa80f5b0
commit
ebc1dea21b
|
@ -718,7 +718,7 @@ pi433_tx_thread(void *data)
|
||||||
retval = wait_event_interruptible(device->fifo_wait_queue,
|
retval = wait_event_interruptible(device->fifo_wait_queue,
|
||||||
device->free_in_fifo > 0);
|
device->free_in_fifo > 0);
|
||||||
if (retval) {
|
if (retval) {
|
||||||
printk("ABORT\n");
|
dev_dbg(device->dev, "ABORT\n");
|
||||||
goto abort;
|
goto abort;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -729,7 +729,7 @@ pi433_tx_thread(void *data)
|
||||||
device->free_in_fifo == FIFO_SIZE ||
|
device->free_in_fifo == FIFO_SIZE ||
|
||||||
kthread_should_stop());
|
kthread_should_stop());
|
||||||
if (kthread_should_stop())
|
if (kthread_should_stop())
|
||||||
printk("ABORT\n");
|
dev_dbg(device->dev, "ABORT\n");
|
||||||
|
|
||||||
/* STOP_TRANSMISSION */
|
/* STOP_TRANSMISSION */
|
||||||
dev_dbg(device->dev, "thread: Packet sent. Set mode to stby.");
|
dev_dbg(device->dev, "thread: Packet sent. Set mode to stby.");
|
||||||
|
|
Loading…
Reference in New Issue