diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-07-27 12:46:04 -0700 |
|---|---|---|
| committer | Jassi Brar <jassisinghbrar@gmail.com> | 2026-08-15 15:41:13 -0500 |
| commit | 3ccffcc3672af5fc2f5809d349f26d2be8d318a3 (patch) | |
| tree | f85aa8218a976abef2061b247c896496cf86400a /include | |
| parent | 66c7bcad72430a02c860521031350b84b31ad9a8 (diff) | |
mailbox: bcm2835: use platform_get_irq and simplify probe
Replace irq_of_parse_and_map() with platform_get_irq() for the mailbox
interrupt lookup, and move IRQ and MMIO resource acquisition to the top
of the probe function before any memory allocation.
Simplify error handling throughout: use direct return of platform_get_irq
and PTR_ERR values, remove the redundant platform_set_drvdata and
dev_info log, and inline the final return.
Assisted-by: Opencode:Big-Pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
