diff options
author | André Draszik <andre.draszik@linaro.org> | 2025-04-09 21:37:36 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-05-23 08:48:40 +0100 |
commit | fcc7f3b675b26c81ba07dc35eb849e6ea9afce7f (patch) | |
tree | 70082e0d13fcc471300196c17687047fb807b3bb /scripts/lib/kdoc/kdoc_files.py | |
parent | 1cea1b6b2c89ef67ebd09e43d85d7308f86a538c (diff) |
mfd: sec-irq: s2dos05 doesn't support interrupts
The commit bf231e5febcf ("mfd: sec-core: Add support for the Samsung
s2dos05") adding s2dos05 support didn't add anything related to IRQ
support, so I assume this works without IRQs.
Rather than printing a warning message in sec_irq_init() due to the
missing IRQ number, or returning an error due to a missing irq chip
regmap, just return early explicitly.
This will become particularly important once errors from sec_irq_init()
aren't ignored anymore in an upcoming patch and helps the reader of
this code while reasoning about what the intention might be here.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-15-d66d5f39b6bf@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions