Skip to content

Commit

Permalink
thermal/drivers/thermal_mmio: Drop of_match_ptr()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
  • Loading branch information
jdelvare authored and rafaeljw committed Aug 31, 2022
1 parent b90cb10 commit b1a2c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/thermal/thermal_mmio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down

0 comments on commit b1a2c4e

Please sign in to comment.