Skip to content

Commit f1e96f0

Browse files
krzkdtor
authored andcommitted
Input: bcm_iproc_tsc - 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). This also fixes !CONFIG_OF error: Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230312131514.351603-4-krzysztof.kozlowski@linaro.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent f92dd6d commit f1e96f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/input/touchscreen/bcm_iproc_tsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ static struct platform_driver iproc_ts_driver = {
511511
.probe = iproc_ts_probe,
512512
.driver = {
513513
.name = IPROC_TS_NAME,
514-
.of_match_table = of_match_ptr(iproc_ts_of_match),
514+
.of_match_table = iproc_ts_of_match,
515515
},
516516
};
517517

0 commit comments

Comments
 (0)