Message ID | 2f694a65-218a-48cc-b0e6-fcca6aaf646f@web.de (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | dmaengine: Use seq_putc() in two functions | expand |
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c index c380a4dda77a..d098de909b1e 100644 --- a/drivers/dma/dmaengine.c +++ b/drivers/dma/dmaengine.c @@ -94,7 +94,7 @@ static void dmaengine_dbg_summary_show(struct seq_file *s, seq_printf(s, " (via router: %s)\n", dev_name(chan->router->dev)); else - seq_puts(s, "\n"); + seq_putc(s, '\n'); } } } @@ -115,7 +115,7 @@ static int dmaengine_summary_show(struct seq_file *s, void *data) dmaengine_dbg_summary_show(s, dma_dev); if (!list_is_last(&dma_dev->global_node, &dma_device_list)) - seq_puts(s, "\n"); + seq_putc(s, '\n'); } mutex_unlock(&dma_list_mutex);