qpnp-adc: Add a ctx pointer for btm support

Add a context pointer as part of the BTM param to allow
BTM client to pass any pointer that they need during
threshold notifications.

Change-Id: I7cf4df829069fdffede96c9eb8632b2fc278f78b
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 903cc3f..a3347c4 100644
--- a/include/linux/qpnp/qpnp-adc.h
+++ b/include/linux/qpnp/qpnp-adc.h
@@ -680,6 +680,7 @@
  * @state_request: Enable/disable the corresponding high and low temperature
  *		thresholds.
  * @timer_interval: Select polling rate from qpnp_adc_meas_timer_2 type.
+ * @btmid_ctx: A context of void type.
  * @threshold_notification: Notification callback once threshold are crossed.
  */
 struct qpnp_adc_tm_btm_param {
@@ -687,7 +688,9 @@
 	int32_t					low_temp;
 	enum qpnp_state_request			state_request;
 	enum qpnp_adc_meas_timer_2		timer_interval;
-	void	(*threshold_notification) (enum qpnp_tm_state state);
+	void					*btm_ctx;
+	void	(*threshold_notification) (enum qpnp_tm_state state,
+						void *ctx);
 };
 
 /**