diff options
author | Egil Hjelmeland <privat@egil-hjelmeland.no> | 2017-12-13 15:42:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-13 16:25:34 -0500 |
commit | 5c13e07580c8bd2af6aa902d6b62faa968c360bc (patch) | |
tree | 0bad4b4c7c484df859f35d64e02622a276ceba20 /tools | |
parent | f4d87ad2a3b875ca103be75e213f18f27fe089f7 (diff) | |
download | linux-5c13e07580c8bd2af6aa902d6b62faa968c360bc.tar.gz |
net: dsa: lan9303: Introduce lan9303_read_wait
Simplify lan9303_indirect_phy_wait_for_completion()
and lan9303_switch_wait_for_completion() by using a new function
lan9303_read_wait()
Changes v1 -> v2:
- param 'mask' type u32
- removed param 'value' (will probably never be used)
- add newline before return
Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions