mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 10:17:32 +00:00
wlcore: spi: Remove redundant of_match_ptr()
The driver depends on CONFIG_OF, it is not necessary to use of_match_ptr() here. Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
537a6b9927
commit
cf2abd8724
@ -554,7 +554,7 @@ static void wl1271_remove(struct spi_device *spi)
|
||||
static struct spi_driver wl1271_spi_driver = {
|
||||
.driver = {
|
||||
.name = "wl1271_spi",
|
||||
.of_match_table = of_match_ptr(wlcore_spi_of_match_table),
|
||||
.of_match_table = wlcore_spi_of_match_table,
|
||||
},
|
||||
|
||||
.probe = wl1271_probe,
|
||||
|
Loading…
x
Reference in New Issue
Block a user