Skip to content

Commit b1a2c4e

Browse files
jdelvarerafaeljw
authored andcommitted
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>
1 parent b90cb10 commit b1a2c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thermal/thermal_mmio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static struct platform_driver thermal_mmio_driver = {
107107
.probe = thermal_mmio_probe,
108108
.driver = {
109109
.name = "thermal-mmio",
110-
.of_match_table = of_match_ptr(thermal_mmio_id_table),
110+
.of_match_table = thermal_mmio_id_table,
111111
},
112112
};
113113

0 commit comments

Comments
 (0)