| .. | .. |
|---|
| 362 | 362 | } |
|---|
| 363 | 363 | for (i = 0; i < priv->nr_perips; ++i) { |
|---|
| 364 | 364 | irq = platform_get_irq(pdev, 1 + i); |
|---|
| 365 | | - if (irq < 0) { |
|---|
| 366 | | - dev_err(&pdev->dev, "cannot find perip IRQ #%u\n", i); |
|---|
| 365 | + if (irq < 0) |
|---|
| 367 | 366 | return irq; |
|---|
| 368 | | - } |
|---|
| 369 | 367 | priv->perip_irqs[i] = irq; |
|---|
| 370 | 368 | } |
|---|
| 371 | 369 | /* check if too many were provided */ |
|---|
| .. | .. |
|---|
| 376 | 374 | |
|---|
| 377 | 375 | /* Get syswake IRQ number */ |
|---|
| 378 | 376 | irq = platform_get_irq(pdev, 0); |
|---|
| 379 | | - if (irq < 0) { |
|---|
| 380 | | - dev_err(&pdev->dev, "cannot find syswake IRQ\n"); |
|---|
| 377 | + if (irq < 0) |
|---|
| 381 | 378 | return irq; |
|---|
| 382 | | - } |
|---|
| 383 | 379 | priv->syswake_irq = irq; |
|---|
| 384 | 380 | |
|---|
| 385 | 381 | /* Set up an IRQ domain */ |
|---|