提交 5d20b927 编写于 作者: G Guenter Roeck 提交者: Dmitry Torokhov

Input: atmel-wm97xx - drop unnecessary error messages

Error messages after memory allocation failures are unnecessary and
can be dropped, especially give that they were emitted as dev_dbg() so
noone except person actively debugging the driver would see them.
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 a8e90be1
...@@ -339,10 +339,8 @@ static int __init atmel_wm97xx_probe(struct platform_device *pdev) ...@@ -339,10 +339,8 @@ static int __init atmel_wm97xx_probe(struct platform_device *pdev)
int ret; int ret;
atmel_wm97xx = kzalloc(sizeof(struct atmel_wm97xx), GFP_KERNEL); atmel_wm97xx = kzalloc(sizeof(struct atmel_wm97xx), GFP_KERNEL);
if (!atmel_wm97xx) { if (!atmel_wm97xx)
dev_dbg(&pdev->dev, "out of memory\n");
return -ENOMEM; return -ENOMEM;
}
atmel_wm97xx->wm = wm; atmel_wm97xx->wm = wm;
atmel_wm97xx->regs = (void *)ATMEL_WM97XX_AC97C_IOMEM; atmel_wm97xx->regs = (void *)ATMEL_WM97XX_AC97C_IOMEM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册