commit | 9791ca0dcb46dcedc5fb93fb4e8791cedc91babd | [log] [tgz] |
---|---|---|
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | Sat Mar 21 14:36:24 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 23 11:32:43 2020 +0100 |
tree | 0610fe3a58e13d2ea6bd41b4c6b0bd971fb4dd01 | |
parent | 1a4bcfa6028563b358317515c0e514545231fb2a [diff] |
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>