[PATCH v2 0/2] Use HWMON_CHANNEL_INFO macro to simplify code

Huisong Li posted 2 patches 12 months ago
There is a newer version of this series
drivers/rtc/rtc-ab-eoz9.c | 24 ++----------------------
drivers/rtc/rtc-ds3232.c  | 24 ++----------------------
2 files changed, 4 insertions(+), 44 deletions(-)
[PATCH v2 0/2] Use HWMON_CHANNEL_INFO macro to simplify code
Posted by Huisong Li 12 months ago
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
for rtc 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 (2):
  rtc: ab-eoz9: Use HWMON_CHANNEL_INFO macro to simplify code
  rtc: ds3232: Use HWMON_CHANNEL_INFO macro to simplify code

 drivers/rtc/rtc-ab-eoz9.c | 24 ++----------------------
 drivers/rtc/rtc-ds3232.c  | 24 ++----------------------
 2 files changed, 4 insertions(+), 44 deletions(-)

-- 
2.22.0
Re: [PATCH v2 0/2] Use HWMON_CHANNEL_INFO macro to simplify code
Posted by Alexandre Belloni 11 months, 1 week ago
On Mon, 10 Feb 2025 13:45:44 +0800, Huisong Li 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
> for rtc subsystem.
> 
> belonging to the same subsystem.
> 

Applied, thanks!

[1/2] rtc: ab-eoz9: Use HWMON_CHANNEL_INFO macro to simplify code
      https://git.kernel.org/abelloni/c/f432c5d502b4
[2/2] rtc: ds3232: Use HWMON_CHANNEL_INFO macro to simplify code
      https://git.kernel.org/abelloni/c/d659dfec7d35

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com