openwrt/target/linux/realtek/files-5.15/drivers
Pascal Ernster 8b2f654d4c 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>
2023-07-01 20:25:48 +02:00
..
clk/realtek realtek: Follow kernel comment style recommendation 2023-01-13 22:34:16 +01:00
clocksource realtek: timer: Fix cosmetic whitespace in comments 2023-01-28 17:31:12 +01:00
gpio realtek: Replace C++ style comments 2022-12-27 16:33:01 +01:00
i2c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
net realtek: Use MII_BMCR and BMCR_* constants from <linux/mii.h> 2023-07-01 20:25:48 +02:00