diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-02-25 16:19:36 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-02-26 12:44:28 +0000 |
| commit | 864ba485ac52eaf426992e5fd4bec50b7ea107b4 (patch) | |
| tree | f5c5a3a9bf9aca66c0a1a4f6a5a0cc23f6232a91 /lib/string_helpers.c | |
| parent | e57a15401e820b56c17bf9128245131cbee74c42 (diff) | |
net: dsa: ocelot: convert to mac_select_pcs()
Convert the PCS selection to use mac_select_pcs, which allows the PCS
to perform any validation it needs, and removes the need to set the PCS
in the mac_config() callback, delving into the higher DSA levels to do
so.
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
