Richard Genoud 94d4154792 rtc: tps6594: Fix memleak in probe
struct rtc_device is allocated twice in probe(), once with
devm_kzalloc(), and then with devm_rtc_allocate_device().

The allocation with devm_kzalloc() is lost and superfluous.

Fixes: 9f67c1e63976 ("rtc: tps6594: Add driver for TPS6594 RTC")
Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Link: https://lore.kernel.org/r/20240618141851.1810000-2-richard.genoud@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2024-06-28 00:18:55 +02:00
..
2024-03-08 12:05:10 +01:00
2022-06-24 21:24:02 +02:00
2024-04-17 01:45:33 +02:00
2024-04-17 01:45:33 +02:00
2022-06-24 21:24:02 +02:00
2024-01-18 01:00:21 +01:00
2023-10-15 23:01:08 +02:00
2024-05-07 23:40:10 +02:00
2023-04-26 11:40:26 +01:00