summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@linaro.org>2025-01-17 14:18:53 +0000
committerBjorn Andersson <andersson@kernel.org>2025-02-14 11:37:16 -0600
commit1e9e40fc6fb06d80fd9d834fab5eb5475f64787a (patch)
treefff42ce0ba9617ca279562b5a2ebd29b18bc73ee /include/soc
parentded40f32b55f7f2f4ed9627dd3c37a1fe89ed8c6 (diff)
soc: qcom: ice: make of_qcom_ice_get() static
There's no consumer calling it left, make the method static. Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20250117-qcom-ice-fix-dev-leak-v2-4-1ffa5b6884cb@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/qcom/ice.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/soc/qcom/ice.h b/include/soc/qcom/ice.h
index d5f6a228df65..fdf1b5c21eb9 100644
--- a/include/soc/qcom/ice.h
+++ b/include/soc/qcom/ice.h
@@ -33,7 +33,6 @@ int qcom_ice_program_key(struct qcom_ice *ice,
const u8 crypto_key[], u8 data_unit_size,
int slot);
int qcom_ice_evict_key(struct qcom_ice *ice, int slot);
-struct qcom_ice *of_qcom_ice_get(struct device *dev);
struct qcom_ice *devm_of_qcom_ice_get(struct device *dev);
#endif /* __QCOM_ICE_H__ */