drivers: thermal: tsens: Merge tsens-8974 into tsens-v0_1

8974 and 8916 have the same version of the TSENS IP. Merge the files to
allow for better code reuse.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Esse commit está contido em:
Amit Kucheria
2019-03-20 18:47:49 +05:30
commit de Eduardo Valentin
commit 582a0c4194
4 arquivos alterados com 236 adições e 239 exclusões

Ver arquivo

@@ -116,8 +116,12 @@ void compute_intercept_slope(struct tsens_priv *priv, u32 *pt1, u32 *pt2, u32 mo
int init_common(struct tsens_priv *priv);
int get_temp_common(struct tsens_priv *priv, int i, int *temp);
/* TSENS v1 targets */
extern const struct tsens_plat_data data_8916, data_8974, data_8960;
/* TSENS target */
extern const struct tsens_plat_data data_8960;
/* TSENS v0.1 targets */
extern const struct tsens_plat_data data_8916, data_8974;
/* TSENS v2 targets */
extern const struct tsens_plat_data data_8996, data_tsens_v2;