[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250124022635.16647-1-lihuisong@huawei.com>
Date: Fri, 24 Jan 2025 10:26:26 +0800
From: Huisong Li <lihuisong@...wei.com>
To: <linux-hwmon@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-media@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-rtc@...r.kernel.org>
CC: <oss-drivers@...igine.com>, <matt@...ostay.sg>, <mchehab@...nel.org>,
<irusskikh@...vell.com>, <andrew+netdev@...n.ch>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<louis.peens@...igine.com>, <hkallweit1@...il.com>, <linux@...linux.org.uk>,
<kabel@...nel.org>, <alexandre.belloni@...tlin.com>, <krzk@...nel.org>,
<zhanjie9@...ilicon.com>, <zhenglifeng1@...wei.com>,
<liuyonglong@...wei.com>, <lihuisong@...wei.com>
Subject: [PATCH v1 0/9] Use HWMON_CHANNEL_INFO macro to simplify code
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.
Huisong Li (9):
media: video-i2c: Use HWMON_CHANNEL_INFO macro to simplify code
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
rtc: ab-eoz9: Use HWMON_CHANNEL_INFO macro to simplify code
rtc: ds3232: Use HWMON_CHANNEL_INFO macro to simplify code
w1: w1_therm: w1: Use HWMON_CHANNEL_INFO macro to simplify code
net: phy: aquantia: Use HWMON_CHANNEL_INFO macro to simplify code
drivers/media/i2c/video-i2c.c | 12 +-----
.../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 +----------
drivers/rtc/rtc-ab-eoz9.c | 24 +----------
drivers/rtc/rtc-ds3232.c | 24 +----------
drivers/w1/slaves/w1_therm.c | 12 +-----
9 files changed, 23 insertions(+), 183 deletions(-)
--
2.22.0
Powered by blists - more mailing lists