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

Message ID 20230110140806.87432-1-andriy.shevchenko@linux.intel.com
Headers
Series rtc: isl12022: Clean up and simplify the driver |

Message

Andy Shevchenko Jan. 10, 2023, 2:08 p.m. UTC
  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(-)
  

Comments

Alexandre Belloni Feb. 22, 2023, 8:10 p.m. UTC | #1
On Tue, 10 Jan 2023 16:08:01 +0200, Andy Shevchenko wrote:
> 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
> 
> [...]

Applied, thanks!

[1/5] rtc: isl12022: Get rid of unneeded private struct isl12022
      commit: f525b210e9d4dcefb88594d50e426068e62840f4
[2/5] rtc: isl12022: Explicitly use __le16 type for ISL12022_REG_TEMP_L
      commit: 93219a4fb8bdf279f749b5eef40bef1bbe805fc3
[3/5] rtc: isl12022: Drop unneeded OF guards and of_match_ptr()
      commit: c8ae2735cb3d28892fd734804b60e5abf1f6fa91
[4/5] rtc: isl12022: Join string literals back
      commit: 9bb1e189d7d2c3838938efcc497333803b946081
[5/5] rtc: isl12022: sort header inclusion alphabetically
      commit: 303eac653a181be59674920725142cfbdd5ba4cd

Best regards,