The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Use HWMON_CHANNEL_INFO macro to simplify code
@ 2025-02-10  5:47 Huisong Li
  2025-02-10  5:47 ` [PATCH v2 1/5] net: aquantia: " Huisong Li
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Huisong Li @ 2025-02-10  5:47 UTC (permalink / raw)
  To: netdev, linux-kernel, oss-drivers
  Cc: irusskikh, andrew+netdev, davem, edumazet, kuba, pabeni,
	louis.peens, hkallweit1, linux, kabel, zhanjie9, zhenglifeng1,
	liuyonglong, lihuisong

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(-)

-- 
2.22.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-02-12  2:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10  5:47 [PATCH v2 0/5] Use HWMON_CHANNEL_INFO macro to simplify code Huisong Li
2025-02-10  5:47 ` [PATCH v2 1/5] net: aquantia: " Huisong Li
2025-02-10  5:47 ` [PATCH v2 2/5] net: nfp: " Huisong Li
2025-02-10  5:47 ` [PATCH v2 3/5] net: phy: marvell: " Huisong Li
2025-02-10  5:47 ` [PATCH v2 4/5] net: phy: marvell10g: " Huisong Li
2025-02-10  5:47 ` [PATCH v2 5/5] net: phy: aquantia: " Huisong Li
2025-02-12  2:00 ` [PATCH v2 0/5] " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox