Skip to content

Commit eb78332

Browse files
committed
Merge tag 'thermal-6.13-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull more thermal control updates from Rafael Wysocki: "These update a few thermal drivers used on ARM platforms and thermal tools: - Add SAR2130P compatible to DT bindings in the QCom Tsens driver (Dmitry Baryshkov) - Add static annotation to arrays describing platform sensors in the LVTS Mediatek driver (Colin Ian King) - Switch back to struct platform_driver::remove() from the previous callbacks prototype rework (Uwe Kleine-König) - Add MSM8937 compatible to DT bindings and its support in the QCom Tsens driver (Barnabás Czémán) - Remove a pointless sign test on an unsigned value in k3_bgp_read_temp() in the k3_j72xx_bandgap driver (Rex Nie) - Fix a pointer reference loss when realloc() fails in the thermal library (Zhang Jiao)" * tag 'thermal-6.13-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: tools/thermal: Fix common realloc mistake thermal/drivers/k3_j72xx_bandgap: Simplify code in k3_bgp_read_temp() thermal/drivers/qcom/tsens-v1: Add support for MSM8937 tsens dt-bindings: thermal: tsens: Add MSM8937 thermal: Switch back to struct platform_driver::remove() thermal/drivers/mediatek/lvts_thermal: Make read-only arrays static const dt-bindings: thermal: qcom-tsens: Add SAR2130P compatible
2 parents 6f9baa9 + fef664f commit eb78332

36 files changed

+62
-49
lines changed

Documentation/devicetree/bindings/thermal/qcom-tsens.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ properties:
3939
- description: v1 of TSENS
4040
items:
4141
- enum:
42+
- qcom,msm8937-tsens
4243
- qcom,msm8956-tsens
4344
- qcom,msm8976-tsens
4445
- qcom,qcs404-tsens
@@ -53,6 +54,7 @@ properties:
5354
- qcom,qcm2290-tsens
5455
- qcom,sa8255p-tsens
5556
- qcom,sa8775p-tsens
57+
- qcom,sar2130p-tsens
5658
- qcom,sc7180-tsens
5759
- qcom,sc7280-tsens
5860
- qcom,sc8180x-tsens

drivers/thermal/amlogic_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ static struct platform_driver amlogic_thermal_driver = {
333333
.of_match_table = of_amlogic_thermal_match,
334334
},
335335
.probe = amlogic_thermal_probe,
336-
.remove_new = amlogic_thermal_remove,
336+
.remove = amlogic_thermal_remove,
337337
};
338338

339339
module_platform_driver(amlogic_thermal_driver);

drivers/thermal/armada_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ static void armada_thermal_exit(struct platform_device *pdev)
970970

971971
static struct platform_driver armada_thermal_driver = {
972972
.probe = armada_thermal_probe,
973-
.remove_new = armada_thermal_exit,
973+
.remove = armada_thermal_exit,
974974
.driver = {
975975
.name = "armada_thermal",
976976
.of_match_table = armada_thermal_id_table,

drivers/thermal/broadcom/bcm2835_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ static void bcm2835_thermal_remove(struct platform_device *pdev)
268268

269269
static struct platform_driver bcm2835_thermal_driver = {
270270
.probe = bcm2835_thermal_probe,
271-
.remove_new = bcm2835_thermal_remove,
271+
.remove = bcm2835_thermal_remove,
272272
.driver = {
273273
.name = "bcm2835_thermal",
274274
.of_match_table = bcm2835_thermal_of_match_table,

drivers/thermal/broadcom/ns-thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ MODULE_DEVICE_TABLE(of, ns_thermal_of_match);
8080

8181
static struct platform_driver ns_thermal_driver = {
8282
.probe = ns_thermal_probe,
83-
.remove_new = ns_thermal_remove,
83+
.remove = ns_thermal_remove,
8484
.driver = {
8585
.name = "ns-thermal",
8686
.of_match_table = ns_thermal_of_match,

drivers/thermal/da9062-thermal.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,10 @@ static void da9062_thermal_remove(struct platform_device *pdev)
250250

251251
static struct platform_driver da9062_thermal_driver = {
252252
.probe = da9062_thermal_probe,
253-
.remove_new = da9062_thermal_remove,
253+
.remove = da9062_thermal_remove,
254254
.driver = {
255-
.name = "da9062-thermal",
256-
.of_match_table = da9062_compatible_reg_id_table,
255+
.name = "da9062-thermal",
256+
.of_match_table = da9062_compatible_reg_id_table,
257257
},
258258
};
259259

drivers/thermal/dove_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ MODULE_DEVICE_TABLE(of, dove_thermal_id_table);
170170

171171
static struct platform_driver dove_thermal_driver = {
172172
.probe = dove_thermal_probe,
173-
.remove_new = dove_thermal_exit,
173+
.remove = dove_thermal_exit,
174174
.driver = {
175175
.name = "dove_thermal",
176176
.of_match_table = dove_thermal_id_table,

drivers/thermal/hisi_thermal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,10 +637,10 @@ static struct platform_driver hisi_thermal_driver = {
637637
.driver = {
638638
.name = "hisi_thermal",
639639
.pm = pm_sleep_ptr(&hisi_thermal_pm_ops),
640-
.of_match_table = of_hisi_thermal_match,
640+
.of_match_table = of_hisi_thermal_match,
641641
},
642642
.probe = hisi_thermal_probe,
643-
.remove_new = hisi_thermal_remove,
643+
.remove = hisi_thermal_remove,
644644
};
645645

646646
module_platform_driver(hisi_thermal_driver);

drivers/thermal/imx8mm_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ static struct platform_driver imx8mm_tmu = {
399399
.of_match_table = imx8mm_tmu_table,
400400
},
401401
.probe = imx8mm_tmu_probe,
402-
.remove_new = imx8mm_tmu_remove,
402+
.remove = imx8mm_tmu_remove,
403403
};
404404
module_platform_driver(imx8mm_tmu);
405405

drivers/thermal/imx_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ static struct platform_driver imx_thermal = {
861861
.of_match_table = of_imx_thermal_match,
862862
},
863863
.probe = imx_thermal_probe,
864-
.remove_new = imx_thermal_remove,
864+
.remove = imx_thermal_remove,
865865
};
866866
module_platform_driver(imx_thermal);
867867

0 commit comments

Comments
 (0)