| .. | .. |
|---|
| 341 | 341 | |
|---|
| 342 | 342 | /* get status interruption resource */ |
|---|
| 343 | 343 | ret = platform_get_irq(pdev, 0); |
|---|
| 344 | | - if (ret < 0) { |
|---|
| 345 | | - dev_err(dev, "%s failed to get status IRQ\n", HVA_PREFIX); |
|---|
| 344 | + if (ret < 0) |
|---|
| 346 | 345 | goto err_clk; |
|---|
| 347 | | - } |
|---|
| 348 | 346 | hva->irq_its = ret; |
|---|
| 349 | 347 | |
|---|
| 350 | 348 | ret = devm_request_threaded_irq(dev, hva->irq_its, hva_hw_its_interrupt, |
|---|
| .. | .. |
|---|
| 360 | 358 | |
|---|
| 361 | 359 | /* get error interruption resource */ |
|---|
| 362 | 360 | ret = platform_get_irq(pdev, 1); |
|---|
| 363 | | - if (ret < 0) { |
|---|
| 364 | | - dev_err(dev, "%s failed to get error IRQ\n", HVA_PREFIX); |
|---|
| 361 | + if (ret < 0) |
|---|
| 365 | 362 | goto err_clk; |
|---|
| 366 | | - } |
|---|
| 367 | 363 | hva->irq_err = ret; |
|---|
| 368 | 364 | |
|---|
| 369 | 365 | ret = devm_request_threaded_irq(dev, hva->irq_err, hva_hw_err_interrupt, |
|---|