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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx/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





[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux