hwmon: qpnp-adc: Increase the buffer length
Increase the output buffer length for the sysfs string to
display the ADC code for debug.
Change-Id: I8e84c6b713c1d04a6a5e93dbed7e5c6d72915fb1
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
diff --git a/include/linux/qpnp/qpnp-adc.h b/include/linux/qpnp/qpnp-adc.h
index e5516ab..9d5de90 100644
--- a/include/linux/qpnp/qpnp-adc.h
+++ b/include/linux/qpnp/qpnp-adc.h
@@ -137,7 +137,7 @@
};
#define QPNP_ADC_625_UV 625000
-#define QPNP_ADC_HWMON_NAME_LENGTH 16
+#define QPNP_ADC_HWMON_NAME_LENGTH 64
/**
* enum qpnp_adc_decimation_type - Sampling rate supported.