mfd: qcom-spmi-pmic: Switch to EXPORT_SYMBOL_GPL()
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 3 Oct 2023 15:29:25 +0000 (17:29 +0200)
committerLee Jones <lee@kernel.org>
Wed, 1 Nov 2023 10:02:16 +0000 (10:02 +0000)
Switch to using EXPORT_SYMBOL_GPL() for the revid helper as there is no
reason not to use it.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20231003152927.15000-4-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/qcom-spmi-pmic.c

index 8e449cff5cec40d74edc9c59861552bb1979e2eb..ee55f09da3ba5dbe918620d6cc81d307b2e18a64 100644 (file)
@@ -241,7 +241,7 @@ const struct qcom_spmi_pmic *qcom_pmic_get(struct device *dev)
 
        return &spmi->pmic;
 }
-EXPORT_SYMBOL(qcom_pmic_get);
+EXPORT_SYMBOL_GPL(qcom_pmic_get);
 
 static const struct regmap_config spmi_regmap_config = {
        .reg_bits       = 16,