diff options
author | 2019-06-27 23:55:53 +0200 | |
---|---|---|
committer | 2019-06-27 19:25:02 -0700 | |
commit | 0f9c36e36bf0a5a12c19eed4e9bca5d8282b7454 (patch) | |
tree | dd82d854dbea690ba9706a7f5bee5b625244a8d1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: microchip: Replace ad-hoc polling with regmap (diff) | |
download | wireguard-linux-0f9c36e36bf0a5a12c19eed4e9bca5d8282b7454.tar.xz wireguard-linux-0f9c36e36bf0a5a12c19eed4e9bca5d8282b7454.zip |
net: dsa: microchip: Replace ksz9477_wait_vlan_ctrl_ready polling with regmap
Regmap provides polling function to poll for bits in a register. This
function is another reimplementation of polling for bit being clear in
a register. Replace this with regmap polling function. Moreover, inline
the function parameters, as the function is never called with any other
parameter values than this one.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Woojung Huh <Woojung.Huh@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions