Commit 135d118b authored by Russell King (Oracle)'s avatar Russell King (Oracle) Committed by David S. Miller
Browse files

net: pcs: xpcs: rename xpcs_get_id()



Rename xpcs_get_id() to xpcs_read_id() which more closely reflects
the purpose of this function.

Signed-off-by: default avatarRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent accd5f5c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1190,7 +1190,7 @@ static void xpcs_an_restart(struct phylink_pcs *pcs)
	}
}

static int xpcs_get_id(struct dw_xpcs *xpcs)
static int xpcs_read_ids(struct dw_xpcs *xpcs)
{
	int ret;
	u32 id;
@@ -1405,7 +1405,7 @@ static int xpcs_init_id(struct dw_xpcs *xpcs)
		xpcs->info = *info;
	}

	ret = xpcs_get_id(xpcs);
	ret = xpcs_read_ids(xpcs);
	if (ret < 0)
		return ret;