Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Raphael Gallais-Pou and committed by
Daniel Lezcano
e61cc85e d5c38eec

-10
-10
drivers/thermal/st/st_thermal_memmap.c
··· 142 142 .enable_irq = st_mmap_enable_irq, 143 143 }; 144 144 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 - 154 145 /* Compatible device data stih407 thermal sensor */ 155 146 static const struct st_thermal_compat_data st_407_cdata = { 156 147 .reg_fields = st_mmap_thermal_regfields, ··· 152 161 }; 153 162 154 163 static const struct of_device_id st_mmap_thermal_of_match[] = { 155 - { .compatible = "st,stih416-mpe-thermal", .data = &st_416mpe_cdata }, 156 164 { .compatible = "st,stih407-thermal", .data = &st_407_cdata }, 157 165 { /* sentinel */ } 158 166 };