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:

commit de
Eduardo Valentin

pai
774ccb0819
commit
582a0c4194
@@ -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;
|
||||
|
||||
|
Referência em uma nova issue
Block a user