mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 09:56:53 +07:00
net: ethernet: cpsw-phy-sel: Remove redundant of_match_ptr
The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1e5c76d40f
commit
2afc6dff69
@ -152,7 +152,7 @@ static struct platform_driver cpsw_phy_sel_driver = {
|
||||
.driver = {
|
||||
.name = "cpsw-phy-sel",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(cpsw_phy_sel_id_table),
|
||||
.of_match_table = cpsw_phy_sel_id_table,
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user