diff mbox series

spi: spi-au1550: pr_err instead of printk

Message ID 20210123030344.15999-1-corentin.noel56@gmail.com (mailing list archive)
State New
Headers show
Series spi: spi-au1550: pr_err instead of printk | expand

Commit Message

corentin noel Jan. 23, 2021, 3:03 a.m. UTC
Signed-off-by: corentin noel <corentin.noel56@gmail.com>
---
 drivers/spi/spi-au1550.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Mark Brown Jan. 25, 2021, 1:02 p.m. UTC | #1
On Sat, Jan 23, 2021 at 04:03:44AM +0100, corentin noel wrote:
> Signed-off-by: corentin noel <corentin.noel56@gmail.com>

This doesn't apply against current code, please check and resend.  It
should apply against my tree which already has your previous patches
including the one which 

>  		if (!ddma_memid)
> -			printk(KERN_ERR "au1550-spi: cannot add memory"
> -					"dbdma device\n");
> +			pr_err("au1550-spi: cannot add memory dbdma device\n");

merged this onto a single line.
diff mbox series

Patch

diff --git a/drivers/spi/spi-au1550.c b/drivers/spi/spi-au1550.c
index dfb7196f4caf..8f92bbdf391b 100644
--- a/drivers/spi/spi-au1550.c
+++ b/drivers/spi/spi-au1550.c
@@ -972,8 +972,7 @@  static int __init au1550_spi_init(void)
 	if (usedma) {
 		ddma_memid = au1xxx_ddma_add_device(&au1550_spi_mem_dbdev);
 		if (!ddma_memid)
-			printk(KERN_ERR "au1550-spi: cannot add memory"
-					"dbdma device\n");
+			pr_err("au1550-spi: cannot add memory dbdma device\n");
 	}
 	return platform_driver_register(&au1550_spi_drv);
 }