|
@@ -913,7 +913,6 @@ static int spear_smi_probe(struct platform_device *pdev)
|
|
|
if (np) {
|
|
|
pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL);
|
|
|
if (!pdata) {
|
|
|
- pr_err("%s: ERROR: no memory", __func__);
|
|
|
ret = -ENOMEM;
|
|
|
goto err;
|
|
|
}
|
|
@@ -943,7 +942,6 @@ static int spear_smi_probe(struct platform_device *pdev)
|
|
|
dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_ATOMIC);
|
|
|
if (!dev) {
|
|
|
ret = -ENOMEM;
|
|
|
- dev_err(&pdev->dev, "mem alloc fail\n");
|
|
|
goto err;
|
|
|
}
|
|
|
|