memory: emif: Silence platform_get_irq() error in driver
The platform_get_irq() already prints error message so there is no need to do it again in the driver. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
@ -1561,11 +1561,8 @@ static int __init_or_module emif_probe(struct platform_device *pdev)
|
|||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
irq = platform_get_irq(pdev, 0);
|
irq = platform_get_irq(pdev, 0);
|
||||||
if (irq < 0) {
|
if (irq < 0)
|
||||||
dev_err(emif->dev, "%s: error getting IRQ resource - %d\n",
|
|
||||||
__func__, irq);
|
|
||||||
goto error;
|
goto error;
|
||||||
}
|
|
||||||
|
|
||||||
emif_onetime_settings(emif);
|
emif_onetime_settings(emif);
|
||||||
emif_debugfs_init(emif);
|
emif_debugfs_init(emif);
|
||||||
|
Reference in New Issue
Block a user