提交 b1a2c4ee 编写于 作者: J Jean Delvare 提交者: 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: NJean Delvare <jdelvare@suse.de>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 b90cb105
...@@ -107,7 +107,7 @@ static struct platform_driver thermal_mmio_driver = { ...@@ -107,7 +107,7 @@ static struct platform_driver thermal_mmio_driver = {
.probe = thermal_mmio_probe, .probe = thermal_mmio_probe,
.driver = { .driver = {
.name = "thermal-mmio", .name = "thermal-mmio",
.of_match_table = of_match_ptr(thermal_mmio_id_table), .of_match_table = thermal_mmio_id_table,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册