diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-01-25 21:00:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-25 23:13:44 -0500 |
commit | 5e7bfa6cb0a94c673f6d565e58353366d88e2aa5 (patch) | |
tree | 418ae6eb3373ade68fc733c32c6ecb20d77335cd /README | |
parent | 8293c7bcdef1b866610bf21dee3eb0d181cee753 (diff) | |
download | lwn-5e7bfa6cb0a94c673f6d565e58353366d88e2aa5.tar.gz lwn-5e7bfa6cb0a94c673f6d565e58353366d88e2aa5.zip |
net: phy: bcm-phy-lib: clean up remaining AUXCTL register defines
1) Use 0x%02x format for register number. This follows some other
defines and makes it easier to distinct register from values.
2) Put register define above values and sort the values. It makes
reading header code easier.
3) Use 0x%04x format for all values. It's about consistency with other
values (and most of the header) not a personal preference.
4) Separate define for reading shift value with an extre empty line.
It's user for all AUXCTL registers in a bcm54xx_auxctl_read.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions