soc: qcom: llcc: make irq truly optional
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 4 Nov 2022 15:30:41 +0000 (16:30 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sun, 6 Nov 2022 04:23:13 +0000 (23:23 -0500)
commitc882c899ead3545102a4d71b5fbe73b9e4bc2657
tree3ad11dd88481018edebece2ae6bae57831624606
parentf98e12a7e0dab30b48a75554510634c06eecd3e5
soc: qcom: llcc: make irq truly optional

The function platform_get_irq prints an error message into the kernel
log when the irq isn't found.

Since the interrupt is actually optional and not provided by some SoCs,
use platform_get_irq_optional which does not print an error message.

Fixes: c081f3060fab ("soc: qcom: Add support to register LLCC EDAC driver")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221104153041.412020-1-luca.weiss@fairphone.com
drivers/soc/qcom/llcc-qcom.c