Commit b1a2c4ee authored by Jean Delvare's avatar Jean Delvare Committed by Rafael J. Wysocki

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: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent b90cb105
......@@ -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,
},
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment