Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit e61cc85

Browse files
GallaisPoutinedlezcano
authored andcommitted
thermal/drivers/sti: Cleanup code related to stih416
"st,stih416-mpe-thermal" compatible seems to appear nowhere in the device-tree nor in the documentation. Remove compatible and related code. Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com> Link: https://lore.kernel.org/r/20240708161840.102004-1-rgallaispou@gmail.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent d5c38ee commit e61cc85

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/thermal/st/st_thermal_memmap.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,6 @@ static const struct st_thermal_sensor_ops st_mmap_sensor_ops = {
142142
.enable_irq = st_mmap_enable_irq,
143143
};
144144

145-
/* Compatible device data stih416 mpe thermal sensor */
146-
static const struct st_thermal_compat_data st_416mpe_cdata = {
147-
.reg_fields = st_mmap_thermal_regfields,
148-
.ops = &st_mmap_sensor_ops,
149-
.calibration_val = 14,
150-
.temp_adjust_val = -95,
151-
.crit_temp = 120,
152-
};
153-
154145
/* Compatible device data stih407 thermal sensor */
155146
static const struct st_thermal_compat_data st_407_cdata = {
156147
.reg_fields = st_mmap_thermal_regfields,
@@ -161,7 +152,6 @@ static const struct st_thermal_compat_data st_407_cdata = {
161152
};
162153

163154
static const struct of_device_id st_mmap_thermal_of_match[] = {
164-
{ .compatible = "st,stih416-mpe-thermal", .data = &st_416mpe_cdata },
165155
{ .compatible = "st,stih407-thermal", .data = &st_407_cdata },
166156
{ /* sentinel */ }
167157
};

0 commit comments

Comments
 (0)