[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210123030344.15999-1-corentin.noel56@gmail.com>
Date: Sat, 23 Jan 2021 04:03:44 +0100
From: corentin noel <corentin.noel56@...il.com>
To: broonie@...nel.org
Cc: linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
corentin noel <corentin.noel56@...il.com>
Subject: [PATCH] spi: spi-au1550: pr_err instead of printk
Signed-off-by: corentin noel <corentin.noel56@...il.com>
---
drivers/spi/spi-au1550.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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);
}
--
2.25.1
Powered by blists - more mailing lists