summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2022-08-04 13:59:38 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-08-31 20:50:47 +0200
commitb1a2c4ee8be1df1931599e3214402ed9d6f97f8e (patch)
tree3444ae43b1e8d9241c463440fca7703d9cea62e4
parentb90cb1053190353cc30f0fef0ef1f378ccc063c5 (diff)
thermal/drivers/thermal_mmio: Drop of_match_ptr()
Now that the driver depends on OF, we know what of_match_ptr() will always resolve to, so we might as well save cpp some work. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/thermal/thermal_mmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/thermal_mmio.c b/drivers/thermal/thermal_mmio.c
index 360b0dfdc3b0..c3e5def02cad 100644
--- a/drivers/thermal/thermal_mmio.c
+++ b/drivers/thermal/thermal_mmio.c
@@ -107,7 +107,7 @@ static struct platform_driver thermal_mmio_driver = {
.probe = thermal_mmio_probe,
.driver = {
.name = "thermal-mmio",
- .of_match_table = of_match_ptr(thermal_mmio_id_table),
+ .of_match_table = thermal_mmio_id_table,
},
};