diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-22 12:02:21 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-22 12:02:21 -0700 |
commit | 57f1c3caf5137d4493fcd1d07c3ae4a5636f4949 (patch) | |
tree | 1a4f6003f3f1e8730abc476020bbf33452813f24 /drivers/hsi/controllers/omap_ssi_port.c | |
parent | 5d4156ac48a4f4c0b7f980a51937e33362f78911 (diff) | |
parent | c1030cd456198a2c58f718c3c4b215698d635553 (diff) | |
download | linux-next-57f1c3caf5137d4493fcd1d07c3ae4a5636f4949.tar.gz |
Merge tag 'hsi-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi
Pull HSI updates from Sebastian Reichel:
"Misc cleanups"
* tag 'hsi-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
HSI: Remove dev_err() usage after platform_get_irq()
HSI: ssi_protocol: Mark expected switch fall-throughs
Diffstat (limited to 'drivers/hsi/controllers/omap_ssi_port.c')
-rw-r--r-- | drivers/hsi/controllers/omap_ssi_port.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hsi/controllers/omap_ssi_port.c b/drivers/hsi/controllers/omap_ssi_port.c index 2cd93119515f..a0cb5be246e1 100644 --- a/drivers/hsi/controllers/omap_ssi_port.c +++ b/drivers/hsi/controllers/omap_ssi_port.c @@ -1038,10 +1038,8 @@ static int ssi_port_irq(struct hsi_port *port, struct platform_device *pd) int err; err = platform_get_irq(pd, 0); - if (err < 0) { - dev_err(&port->device, "Port IRQ resource missing\n"); + if (err < 0) return err; - } omap_port->irq = err; err = devm_request_threaded_irq(&port->device, omap_port->irq, NULL, ssi_pio_thread, IRQF_ONESHOT, "SSI PORT", port); |