summaryrefslogtreecommitdiffstats
path: root/drivers
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 /drivers
parentLinux 6.0-rc3 (diff)
downloadlinux-b1a2c4ee8be1df1931599e3214402ed9d6f97f8e.tar.xz
linux-b1a2c4ee8be1df1931599e3214402ed9d6f97f8e.zip
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>
Diffstat (limited to 'drivers')
-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,
},
};