mbox series

[v2,0/5] Use HWMON_CHANNEL_INFO macro to simplify code

Message ID 20250210054710.12855-1-lihuisong@huawei.com (mailing list archive)
Headers show
Series Use HWMON_CHANNEL_INFO macro to simplify code | expand

Message

Huisong Li Feb. 10, 2025, 5:47 a.m. UTC
The HWMON_CHANNEL_INFO macro is provided by hwmon.h and used widely by many
other drivers. This series use HWMON_CHANNEL_INFO macro to simplify code
in net subsystem.

Note: These patches do not depend on each other. Put them togeter just for
belonging to the same subsystem.

---
 -v2:
  * detach these patches from the series[1]

[1] https://lore.kernel.org/lkml/20250124022635.16647-3-lihuisong@huawei.com/T/

Huisong Li (5):
  net: aquantia: Use HWMON_CHANNEL_INFO macro to simplify code
  net: nfp: Use HWMON_CHANNEL_INFO macro to simplify code
  net: phy: marvell: Use HWMON_CHANNEL_INFO macro to simplify code
  net: phy: marvell10g: Use HWMON_CHANNEL_INFO macro to simplify code
  net: phy: aquantia: Use HWMON_CHANNEL_INFO macro to simplify code

 .../ethernet/aquantia/atlantic/aq_drvinfo.c   | 14 +------
 .../net/ethernet/netronome/nfp/nfp_hwmon.c    | 40 +++----------------
 drivers/net/phy/aquantia/aquantia_hwmon.c     | 32 +++------------
 drivers/net/phy/marvell.c                     | 24 +----------
 drivers/net/phy/marvell10g.c                  | 24 +----------
 5 files changed, 17 insertions(+), 117 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 12, 2025, 2 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 10 Feb 2025 13:47:05 +0800 you wrote:
> The HWMON_CHANNEL_INFO macro is provided by hwmon.h and used widely by many
> other drivers. This series use HWMON_CHANNEL_INFO macro to simplify code
> in net subsystem.
> 
> Note: These patches do not depend on each other. Put them togeter just for
> belonging to the same subsystem.
> 
> [...]

Here is the summary with links:
  - [v2,1/5] net: aquantia: Use HWMON_CHANNEL_INFO macro to simplify code
    https://git.kernel.org/netdev/net-next/c/43a0d7f26ad7
  - [v2,2/5] net: nfp: Use HWMON_CHANNEL_INFO macro to simplify code
    https://git.kernel.org/netdev/net-next/c/e05427c4d138
  - [v2,3/5] net: phy: marvell: Use HWMON_CHANNEL_INFO macro to simplify code
    https://git.kernel.org/netdev/net-next/c/0cb595e80edc
  - [v2,4/5] net: phy: marvell10g: Use HWMON_CHANNEL_INFO macro to simplify code
    https://git.kernel.org/netdev/net-next/c/4798f4834b2e
  - [v2,5/5] net: phy: aquantia: Use HWMON_CHANNEL_INFO macro to simplify code
    https://git.kernel.org/netdev/net-next/c/d6085a23b3b4

You are awesome, thank you!