-
由 Yang Yingliang 提交于
of_get_child_by_name() returns device node pointer with refcount incremented. The refcount should be decremented before returning from spl2sw_mdio_init(). Fixes: fd3040b9 ("net: ethernet: Add driver for Sunplus SP7021") Reported-by: NHulk Robot <hulkci@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Reviewed-by: NWells Lu <wellslutw@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
223153ea