net: stmmac: use sysfs_streq() instead of strncmp()
Replace the open-code with sysfs_streq(). Signed-off-by: NXu Panda <xu.panda@zte.com.cn> Signed-off-by: NYang Yang <yang.yang29@zte.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录