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

From: Andy Shevchenko
Date: Tue Jan 10 2023 - 09:08:40 EST


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

--
2.39.0