Lars-Peter Clausen
c7a639dac8
rtc: jz4740: Make sure clock provider gets removed
...
The jz4740 RTC driver registers a clock provider, but never removes it.
This leaves a stale clock provider behind that references freed clocks when
the device is unbound.
Use the managed `devm_of_clk_add_hw_provider()` instead of
`of_clk_add_hw_provider()` to make sure the provider gets automatically
removed on unbind.
Fixes: 5ddfa148de8c ("rtc: jz4740: Register clock provider for the CLK32K pin")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20230409162544.16155-1-lars@metafoo.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-04-28 08:07:23 +02:00
..
2022-11-15 21:01:51 +01:00
2022-06-24 21:24:02 +02:00
2023-02-22 12:32:05 +01:00
2023-03-17 23:12:58 +01:00
2021-08-10 23:21:46 +02:00
2021-08-10 00:09:21 +02:00
2023-03-03 09:15:50 -08:00
2021-05-25 00:36:11 +02:00
2023-03-17 23:03:16 +01:00
2023-03-17 23:03:16 +01:00
2023-03-17 23:03:16 +01:00
2022-06-24 21:24:02 +02:00
2023-02-01 09:13:35 +01:00
2023-02-24 00:02:30 +01:00
2023-03-17 23:03:17 +01:00
2023-03-17 23:03:17 +01:00
2022-12-15 23:34:31 +01:00
2023-03-17 23:03:17 +01:00
2021-07-10 01:53:39 +02:00
2021-06-20 22:24:52 +02:00
2022-11-15 21:01:51 +01:00
2023-03-17 23:03:17 +01:00
2023-03-17 23:03:17 +01:00
2023-03-17 23:03:17 +01:00
2022-06-24 21:24:02 +02:00
2023-03-17 23:03:17 +01:00
2021-12-02 23:23:38 +01:00
2022-11-15 21:01:51 +01:00
2022-02-09 13:00:45 +00:00
2023-01-09 23:03:56 +01:00
2022-02-09 13:00:45 +00:00
2022-11-15 21:01:51 +01:00
2022-08-16 12:46:26 +02:00
2023-03-17 23:23:22 +01:00
2022-06-24 21:24:02 +02:00
2023-03-17 23:03:17 +01:00
2022-12-15 23:34:31 +01:00
2022-06-24 21:24:02 +02:00
2023-02-22 21:07:53 +01:00
2022-06-24 21:24:02 +02:00
2022-06-24 21:24:02 +02:00
2022-11-15 21:01:51 +01:00
2023-03-17 23:03:17 +01:00
2022-08-23 22:27:58 +02:00
2022-04-11 11:48:01 +02:00
2023-03-17 23:03:17 +01:00
2023-02-01 09:13:35 +01:00
2021-05-25 00:41:25 +02:00
2022-11-15 21:01:33 +01:00
2023-02-22 21:06:30 +01:00
2022-08-16 12:46:26 +02:00
2023-04-28 08:07:23 +02:00
2023-03-17 23:03:17 +01:00
2023-02-01 09:13:35 +01:00
2022-06-24 21:24:02 +02:00
2023-02-01 09:13:35 +01:00
2023-03-17 23:03:17 +01:00
2023-03-17 23:03:17 +01:00
2022-06-24 21:23:50 +02:00
2021-10-01 23:28:28 +02:00
2023-03-21 21:15:10 +01:00
2022-05-18 00:20:39 +02:00
2023-02-09 23:31:46 +01:00
2023-03-17 23:03:17 +01:00
2023-03-17 23:03:17 +01:00
2022-12-11 18:14:01 +01:00
2022-05-19 12:05:48 +02:00
2023-03-17 23:03:17 +01:00
2023-03-17 23:03:17 +01:00
2022-08-23 22:33:38 +02:00
2022-11-15 21:01:33 +01:00
2023-02-22 12:25:32 +01:00
2023-03-17 23:22:45 +01:00
2022-03-23 19:58:39 +01:00
2022-03-25 11:42:50 +01:00
2023-03-17 23:03:17 +01:00
2023-02-01 09:13:35 +01:00
2022-11-15 21:01:33 +01:00
2023-03-17 23:23:54 +01:00
2023-02-01 09:13:35 +01:00
2022-06-24 21:24:02 +02:00
2023-03-17 23:03:18 +01:00
2023-02-01 09:13:35 +01:00
2023-02-22 15:31:01 +01:00
2023-03-17 23:03:18 +01:00
2022-03-23 19:58:37 +01:00
2023-03-17 23:03:18 +01:00
2022-04-19 16:27:05 +02:00
2023-03-17 23:03:18 +01:00
2022-12-11 20:56:33 +01:00
2022-12-15 23:34:31 +01:00
2022-12-15 23:34:31 +01:00
2023-03-17 23:03:18 +01:00
2023-02-22 12:31:05 +01:00
2023-02-01 09:13:35 +01:00
2023-02-22 12:31:38 +01:00
2023-02-09 23:01:49 +01:00
2023-02-22 21:08:27 +01:00
2023-02-01 09:13:35 +01:00
2022-11-15 21:01:51 +01:00
2022-06-24 21:24:02 +02:00
2023-03-17 23:03:18 +01:00
2023-03-17 23:03:18 +01:00
2021-09-25 23:26:37 +02:00
2022-11-15 21:01:51 +01:00
2023-03-17 23:03:18 +01:00
2021-07-10 01:53:39 +02:00
2022-06-24 21:24:02 +02:00
2022-11-15 21:25:44 +01:00
2023-03-17 23:03:18 +01:00
2022-12-10 22:36:32 +01:00
2023-03-17 23:03:18 +01:00
2023-03-17 23:03:18 +01:00
2023-03-17 23:19:55 +01:00
2023-03-17 23:03:18 +01:00
2023-03-17 23:03:18 +01:00
2023-03-23 10:50:59 +01:00
2023-03-17 23:03:18 +01:00
2021-08-17 23:36:22 +02:00
2023-03-17 23:03:18 +01:00
2023-03-17 23:03:18 +01:00
2023-03-17 23:03:18 +01:00
2022-08-16 12:46:26 +02:00
2023-03-17 23:03:18 +01:00
2023-03-17 23:03:19 +01:00
2022-11-15 21:01:51 +01:00