net: ieee802154: ca8210: 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/net/ieee802154/ca8210.c:3174:34: error: ‘ca8210_of_ids’ defined but not used [-Werror=unused-const-variable=] Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Stefan Schmidt <stefan@datenfreihafen.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
32b7030681
commit
cdfe4fc4d9
@ -3180,7 +3180,7 @@ static struct spi_driver ca8210_spi_driver = {
|
||||
.driver = {
|
||||
.name = DRIVER_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(ca8210_of_ids),
|
||||
.of_match_table = ca8210_of_ids,
|
||||
},
|
||||
.probe = ca8210_probe,
|
||||
.remove = ca8210_remove
|
||||
|
Loading…
Reference in New Issue
Block a user