Skip to content

Commit f9d0393

Browse files
krzkchanwoochoi
authored andcommitted
PM / devfreq: exyos-bus: drop of_match_ptr for ID table
The driver can match only via the DT table so the table should be always used and the of_match_ptr does not have any sense (this also allows ACPI matching via PRP0001, even though it might not be relevant here). drivers/devfreq/exynos-bus.c:504:34: error: ‘exynos_bus_of_match’ defined but not used [-Werror=unused-const-variable=] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
1 parent 737dbd6 commit f9d0393

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/devfreq/exynos-bus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ static struct platform_driver exynos_bus_platdrv = {
513513
.driver = {
514514
.name = "exynos-bus",
515515
.pm = &exynos_bus_pm,
516-
.of_match_table = of_match_ptr(exynos_bus_of_match),
516+
.of_match_table = exynos_bus_of_match,
517517
},
518518
};
519519
module_platform_driver(exynos_bus_platdrv);

0 commit comments

Comments
 (0)