diff options
author | 2020-03-21 14:36:24 +0100 | |
---|---|---|
committer | 2020-03-23 11:32:43 +0100 | |
commit | 9791ca0dcb46dcedc5fb93fb4e8791cedc91babd (patch) | |
tree | 0610fe3a58e13d2ea6bd41b4c6b0bd971fb4dd01 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | staging: mt7621-pci-phy: use builtin_platform_driver() (diff) | |
download | wireguard-linux-9791ca0dcb46dcedc5fb93fb4e8791cedc91babd.tar.xz wireguard-linux-9791ca0dcb46dcedc5fb93fb4e8791cedc91babd.zip |
staging: mt7621-pci-phy: re-do 'xtal_mode' detection
Detection of the Xtal mode is using magic numbers that
can be avoided using properly some definitions and a more
accurate variable name from 'reg' into 'xtal_mode'. This
increase readability.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20200321133624.31388-4-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions