projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b90cb10
)
thermal/drivers/thermal_mmio: Drop of_match_ptr()
author
Jean Delvare
<jdelvare@suse.de>
Thu, 4 Aug 2022 11:59:38 +0000
(13:59 +0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Wed, 31 Aug 2022 18:50:47 +0000
(20:50 +0200)
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>
drivers/thermal/thermal_mmio.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/thermal_mmio.c
b/drivers/thermal/thermal_mmio.c
index 360b0dfdc3b07efcf99d622ab89f344221ffd1a4..c3e5def02cad8e022da96679008de213eea82feb 100644
(file)
--- 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
,
},
};