Skip to content

Commit 9618efe

Browse files
lumagdlezcano
authored andcommitted
thermal/qcom/tsens: Drop ops_v0_1
Since the commit 6812d1d ("thermal/drivers/qcom/tsens-v0_1: Fix mdm9607 slope values") the default v0.1 implementation of tsens options is unused by the driver. Drop it now to stop compiler complaining about the unused static const. If it appears there is the need for the default v0.1 ops struct, this commit can be easily reverted without further considerations. Fixes: 6812d1d ("thermal/drivers/qcom/tsens-v0_1: Fix mdm9607 slope values") Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 5437d14 commit 9618efe

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/thermal/qcom/tsens-v0_1.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -325,12 +325,6 @@ static const struct reg_field tsens_v0_1_regfields[MAX_REGFIELDS] = {
325325
[TRDY] = REG_FIELD(TM_TRDY_OFF, 0, 0),
326326
};
327327

328-
static const struct tsens_ops ops_v0_1 = {
329-
.init = init_common,
330-
.calibrate = tsens_calibrate_common,
331-
.get_temp = get_temp_common,
332-
};
333-
334328
static const struct tsens_ops ops_8226 = {
335329
.init = init_8226,
336330
.calibrate = tsens_calibrate_common,

0 commit comments

Comments
 (0)