Jiasheng Jiang
5085a1f914
rtc: wm8350: Handle error for wm8350_register_irq
...
[ Upstream commit 43f0269b6b89c1eec4ef83c48035608f4dcdd886 ]
As the potential failure of the wm8350_register_irq(),
it should be better to check it and return error if fails.
Also, it need not free 'wm_rtc->rtc' since it will be freed
automatically.
Fixes: 077eaf5b40ec ("rtc: rtc-wm8350: add support for WM8350 RTC")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220303085030.291793-1-jiasheng@iscas.ac.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-15 14:15:00 +02:00
..
2018-07-26 15:08:53 +02:00
2018-11-21 09:19:23 +01:00
2019-12-17 20:35:43 +01:00
2021-03-04 09:39:44 +01:00
2018-04-10 10:22:27 -07:00
2018-05-21 22:34:38 +02:00
2020-01-27 14:50:20 +01:00
2020-04-23 10:30:18 +02:00
2018-03-01 10:49:41 +01:00
2018-03-27 10:45:05 +02:00
2018-05-17 22:23:25 +02:00
2018-03-02 10:12:23 +01:00
2018-06-06 11:15:43 -07:00
2019-11-20 18:47:52 +01:00
2016-03-14 17:08:25 +01:00
2016-10-19 08:45:48 +02:00
2018-05-17 22:23:14 +02:00
2018-03-17 14:20:57 +01:00
2018-03-02 10:09:58 +01:00
2018-03-17 14:20:56 +01:00
2018-07-11 20:41:01 +02:00
2020-01-17 19:47:13 +01:00
2022-01-27 09:04:15 +01:00
2018-07-07 17:52:26 +02:00
2018-08-14 22:56:27 +02:00
2018-07-07 17:52:26 +02:00
2019-05-08 07:21:45 +02:00
2018-03-02 10:11:02 +01:00
2018-03-02 10:11:02 +01:00
2019-05-08 07:21:49 +02:00
2016-09-02 01:24:06 +02:00
2018-07-26 15:08:53 +02:00
2016-09-02 01:24:06 +02:00
2017-08-15 08:06:14 +01:00
2018-05-03 22:08:00 +02:00
2018-03-02 10:09:58 +01:00
2018-03-02 10:09:58 +01:00
2018-03-02 10:09:58 +01:00
2021-05-22 10:59:43 +02:00
2018-03-02 10:09:58 +01:00
2018-03-02 10:09:58 +01:00
2020-10-01 13:14:38 +02:00
2018-03-02 10:09:58 +01:00
2018-05-03 22:08:00 +02:00
2018-05-03 22:08:00 +02:00
2020-01-27 14:50:19 +01:00
2018-06-20 12:38:14 +02:00
2018-05-21 22:34:36 +02:00
2018-03-02 10:09:58 +01:00
2018-03-02 10:09:58 +01:00
2017-11-02 11:10:55 +01:00
2018-03-02 10:09:58 +01:00
2017-09-01 01:10:11 +02:00
2016-05-20 12:33:51 +02:00
2018-03-02 10:09:58 +01:00
2018-07-07 17:52:26 +02:00
2016-06-04 00:23:35 +02:00
2020-08-26 10:31:00 +02:00
2018-12-05 19:32:13 +01:00
2020-02-14 16:33:24 -05:00
2017-06-20 12:19:14 +02:00
2019-11-20 18:47:52 +01:00
2018-04-03 16:40:46 +02:00
2018-03-17 14:20:51 +01:00
2018-03-01 10:49:41 +01:00
2018-03-17 14:20:50 +01:00
2014-10-20 16:21:31 +02:00
2018-03-02 10:09:58 +01:00
2018-05-03 22:08:00 +02:00
2018-05-18 09:38:22 +02:00
2019-01-09 17:38:48 +01:00
2018-03-02 10:12:19 +01:00
2018-03-02 10:09:58 +01:00
2018-03-02 10:09:58 +01:00
2018-07-12 21:17:36 +02:00
2018-03-02 10:09:58 +01:00
2018-03-17 14:20:46 +01:00
2018-03-02 10:09:58 +01:00
2018-03-02 10:09:58 +01:00
2014-10-20 16:21:31 +02:00
2017-07-31 00:17:48 +02:00
2019-12-13 08:51:35 +01:00
2018-08-14 23:38:45 +02:00
2021-07-28 11:13:44 +02:00
2018-07-07 17:52:26 +02:00
2022-02-08 18:23:18 +01:00
2018-03-17 14:20:56 +01:00
2015-09-05 19:37:22 +02:00
2018-03-01 10:49:41 +01:00
2018-06-20 12:43:11 +02:00
2020-01-17 19:47:13 +01:00
2020-01-27 14:50:37 +01:00
2018-04-03 16:40:48 +02:00
2018-05-03 22:08:00 +02:00
2021-07-28 11:13:42 +02:00
2018-05-22 09:47:17 +02:00
2018-03-02 10:12:17 +01:00
2020-04-17 10:48:51 +02:00
2018-04-25 13:24:13 +10:00
2016-09-02 01:24:06 +02:00
2018-05-03 22:08:00 +02:00
2018-03-02 10:09:58 +01:00
2020-01-27 14:51:07 +01:00
2019-11-06 13:05:33 +01:00
2020-01-27 14:50:56 +01:00
2015-09-05 13:19:06 +02:00
2018-03-02 10:09:58 +01:00
2018-07-28 14:49:25 +02:00
2019-10-07 18:57:12 +02:00
2018-03-02 10:09:58 +01:00
2019-11-20 18:46:18 +01:00
2017-10-12 16:30:30 +02:00
2020-01-27 14:50:20 +01:00
2021-07-20 16:16:14 +02:00
2018-03-01 10:49:41 +01:00
2017-08-22 12:05:21 +02:00
2022-01-27 09:04:33 +01:00
2018-07-07 17:52:26 +02:00
2018-03-02 10:09:58 +01:00
2016-07-19 18:15:21 +02:00
2018-03-17 14:20:42 +01:00
2018-03-02 10:09:58 +01:00
2016-05-20 12:33:51 +02:00
2018-03-01 10:49:40 +01:00
2018-03-17 14:20:45 +01:00
2017-09-05 09:55:02 +02:00
2020-01-27 14:51:06 +01:00
2019-11-20 18:45:25 +01:00
2018-03-02 10:12:24 +01:00
2018-03-02 10:09:58 +01:00
2020-11-05 11:08:54 +01:00
2018-03-02 10:09:58 +01:00
2018-05-17 22:43:22 +02:00
2019-12-13 08:51:16 +01:00
2018-08-14 23:38:47 +02:00
2019-12-01 09:16:52 +01:00
2020-10-01 13:14:37 +02:00
2017-11-02 11:10:55 +01:00
2018-05-31 23:02:11 +02:00
2019-05-08 07:21:46 +02:00
2018-03-01 10:49:27 +01:00
2019-10-07 18:57:11 +02:00
2018-03-02 10:12:21 +01:00
2018-05-23 09:26:19 +02:00
2018-03-01 10:49:41 +01:00
2018-05-03 22:08:00 +02:00
2021-07-20 16:15:41 +02:00
2018-07-11 20:42:08 +02:00
2016-11-04 23:31:33 +01:00
2021-01-06 14:45:01 +01:00
2018-06-04 14:36:14 +02:00
2019-11-20 18:45:25 +01:00
2018-07-07 17:52:26 +02:00
2018-07-12 20:16:10 +02:00
2018-05-17 22:54:24 +02:00
2021-09-22 11:47:57 +02:00
2016-03-14 17:08:24 +01:00
2017-09-04 14:41:02 +01:00
2019-11-20 18:47:52 +01:00
2016-07-09 10:24:21 +02:00
2018-05-17 22:54:21 +02:00
2015-09-05 19:37:22 +02:00
2018-03-01 10:49:41 +01:00
2022-04-15 14:15:00 +02:00
2016-05-20 12:33:51 +02:00
2019-05-31 06:46:26 -07:00
2018-05-03 22:08:00 +02:00
2018-03-27 10:45:05 +02:00