Merge "hwmon: qpnp-adc: Remove exporting qpnp_vadc_configure api"
diff --git a/drivers/hwmon/qpnp-adc-voltage.c b/drivers/hwmon/qpnp-adc-voltage.c
index c9620b3..d8d5b53 100644
--- a/drivers/hwmon/qpnp-adc-voltage.c
+++ b/drivers/hwmon/qpnp-adc-voltage.c
@@ -170,7 +170,7 @@
return 0;
}
-int32_t qpnp_vadc_configure(
+static int32_t qpnp_vadc_configure(
struct qpnp_adc_amux_properties *chan_prop)
{
struct qpnp_vadc_drv *vadc = qpnp_vadc;
@@ -261,7 +261,6 @@
return 0;
}
-EXPORT_SYMBOL(qpnp_vadc_configure);
static int32_t qpnp_vadc_read_conversion_result(int32_t *data)
{
diff --git a/include/linux/qpnp/qpnp-adc.h b/include/linux/qpnp/qpnp-adc.h
index 7ba91f1..3ab7b9d 100644
--- a/include/linux/qpnp/qpnp-adc.h
+++ b/include/linux/qpnp/qpnp-adc.h
@@ -965,13 +965,6 @@
struct qpnp_adc_drv *adc_qpnp);
/**
- * qpnp_vadc_configure() - Configure ADC device to start conversion.
- * @chan_prop: Individual channel properties for the AMUX channel.
- */
-int32_t qpnp_vadc_configure(
- struct qpnp_adc_amux_properties *chan_prop);
-
-/**
* qpnp_adc_scale_default() - Scales the pre-calibrated digital output
* of an ADC to the ADC reference and compensates for the
* gain and offset.