Skip to content

rtc: isl12022: Clean up and simplify the driver

Andy Shevchenko linux-hwmon linux-rtc lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyApplied
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- added tags to patches 1,2,4,5 (Rasmus)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5rtc: isl12022: Get rid of unneeded private struct isl12022drivers/rtc/rtc-isl12022.c+21 -350 replies
2/5rtc: isl12022: Explicitly use __le16 type for ISL12022_REG_TEMP_Ldrivers/rtc/rtc-isl12022.c+5 -40 replies
3/5rtc: isl12022: Drop unneeded OF guards and of_match_ptr()drivers/rtc/rtc-isl12022.c+1 -90 replies
4/5rtc: isl12022: Join string literals backdrivers/rtc/rtc-isl12022.c+2 -60 replies
5/5rtc: isl12022: sort header inclusion alphabeticallydrivers/rtc/rtc-isl12022.c+5 -50 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchRasmus Villemoes
1/5A-b
2/5A-b
3/5
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] rtc: isl12022: Clean up and simplify the driver

While looking for something else I noticed that this driver is dusted a bit. Clean up and simplify it using available kernel types and APIs.

Changelog v2:
- added tags to patches 1,2,4,5 (Rasmus)

Andy Shevchenko (5):
rtc: isl12022: Get rid of unneeded private struct isl12022
rtc: isl12022: Explicitly use __le16 type for ISL12022_REG_TEMP_L
rtc: isl12022: Drop unneeded OF guards and of_match_ptr()
rtc: isl12022: Join string literals back
rtc: isl12022: sort header inclusion alphabetically

 drivers/rtc/rtc-isl12022.c | 93 ++++++++++++++------------------------
 1 file changed, 34 insertions(+), 59 deletions(-)
Signature · 1 line
2.39.0