summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-07-27 12:46:04 -0700
committerJassi Brar <jassisinghbrar@gmail.com>2026-08-15 15:41:13 -0500
commit3ccffcc3672af5fc2f5809d349f26d2be8d318a3 (patch)
treef85aa8218a976abef2061b247c896496cf86400a /scripts/const_structs.checkpatch
parent66c7bcad72430a02c860521031350b84b31ad9a8 (diff)
downloadlinux-3ccffcc3672af5fc2f5809d349f26d2be8d318a3.tar.gz
linux-3ccffcc3672af5fc2f5809d349f26d2be8d318a3.zip
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 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions