aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorPascal Ernster <git@hardfalcon.net>2023-06-04 21:41:32 +0200
committerSander Vanheule <sander@svanheule.net>2023-07-01 20:25:48 +0200
commit8b2f654d4ca4db4204803c37610ed29a19198638 (patch)
tree5526cb7bf0d62310e0dedaafd3045bb9804c4627 /package/kernel/linux
parentf24c9b9d863c2635e472e83028d28cc8d0a7c7c6 (diff)
downloadupstream-8b2f654d4ca4db4204803c37610ed29a19198638.tar.gz
upstream-8b2f654d4ca4db4204803c37610ed29a19198638.tar.bz2
upstream-8b2f654d4ca4db4204803c37610ed29a19198638.zip
realtek: Use MII_BMCR and BMCR_* constants from <linux/mii.h>
Replace numerical values, BIT(x) and (1 << x) in drivers/net/phy/rtl83xx-phy.c with constants from <linux/mii.h> to improve code readability. To make reviewing easier, this commit only addresses MII_BMCR and BMCR_* constants. Suggested-by: DENG Qingfang <dqfext@gmail.com> Signed-off-by: Pascal Ernster <git@hardfalcon.net>
Diffstat (limited to 'package/kernel/linux')
0 files changed, 0 insertions, 0 deletions