net: dsa: update DSA drivers to use ds_to_priv
Use the helper function to retrieve the driver private context instead of using (void *)(ds + 1). Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录