spi: spi-au1550: pr_err instead of printk
PATCH 1/1 spi: spi-au1550: pr_err instead of printk
Signed-off-by corentin noel <[email protected]>
--- drivers/spi/spi-au1550.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/spi/spi-au1550.c +1 -2
@@ -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); }
Signature · 1 line
2.25.1
Mark Brown
maintainerQuoted 1 line · corentin noel
Signed-off-by corentin noel <[email protected]>
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
drivers/spi/spi-au1550.c static int __init au1550_spi_init(void) · line 975
Quoted 4 lines
drivers/spi/spi-au1550.c +1
-2if (!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.