Jiasheng Jiang
71c2ea7055
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-20 09:06:41 +02:00
..
2016-03-14 17:08:18 +01:00
2018-11-21 09:26:03 +01:00
2018-08-03 07:55:13 +02:00
2020-04-02 17:20:26 +02:00
2016-08-31 18:21:34 +02:00
2020-01-29 10:24:14 +01:00
2020-01-29 10:24:14 +01:00
2015-11-08 14:12:25 +01:00
2015-09-05 13:19:08 +02:00
2016-07-19 17:27:42 +02:00
2016-09-22 00:14:41 +02:00
2015-09-05 19:37:22 +02:00
2016-03-14 17:08:25 +01:00
2016-10-19 08:45:48 +02:00
2016-09-02 01:24:06 +02:00
2015-11-08 14:12:28 +01:00
2016-07-26 00:09:18 +02:00
2015-09-05 13:19:09 +02:00
2016-08-31 18:21:35 +02:00
2018-09-26 08:36:39 +02:00
2022-01-27 08:47:31 +01:00
2016-09-02 01:24:06 +02:00
2015-09-05 13:19:07 +02:00
2016-07-19 18:15:21 +02:00
2016-07-19 18:15:21 +02:00
2019-05-08 07:19:10 +02:00
2016-09-02 01:24:06 +02:00
2015-09-05 13:19:07 +02:00
2016-09-02 01:24:06 +02:00
2016-05-20 12:33:51 +02:00
2016-07-08 16:23:11 +02:00
2016-09-02 01:24:06 +02:00
2016-07-09 10:24:45 +02:00
2016-08-31 18:21:34 +02:00
2016-07-09 10:24:45 +02:00
2016-09-22 00:14:40 +02:00
2018-03-24 11:00:22 +01:00
2015-11-10 10:01:21 -08:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2020-01-29 10:24:14 +01:00
2016-07-09 10:24:45 +02:00
2016-05-20 12:33:51 +02:00
2016-06-27 10:48:28 +02:00
2016-07-09 10:24:45 +02:00
2016-06-06 17:07:33 +02:00
2016-05-20 12:33:51 +02:00
2015-09-05 13:19:06 +02:00
2016-09-02 01:24:06 +02:00
2016-06-04 00:23:35 +02:00
2020-02-14 16:31:09 -05:00
2016-01-11 20:19:58 +01:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-09-02 01:24:06 +02:00
2019-03-27 14:13:04 +09:00
2015-09-05 13:19:06 +02:00
2016-01-11 20:19:59 +01:00
2015-06-21 21:53:59 +02:00
2019-01-09 16:16:45 +01:00
2015-10-28 10:30:17 +09:00
2015-10-28 10:30:17 +09:00
2016-05-20 12:33:51 +02:00
2015-09-05 13:19:10 +02:00
2016-06-27 18:15:25 +02:00
2016-05-20 12:33:51 +02:00
2015-10-28 10:30:17 +09:00
2016-06-04 16:05:59 +02:00
2019-12-21 10:41:03 +01:00
2015-06-25 01:13:36 +02:00
2021-07-28 09:14:25 +02:00
2016-05-20 12:33:51 +02:00
2022-02-08 18:15:29 +01:00
2016-09-02 01:24:06 +02:00
2015-09-05 19:37:22 +02:00
2015-09-05 19:37:22 +02:00
2016-07-09 10:24:45 +02:00
2020-01-23 08:19:37 +01:00
2020-01-23 08:19:34 +01:00
2015-09-05 19:37:22 +02:00
2016-05-20 12:33:51 +02:00
2016-09-02 01:24:06 +02:00
2020-04-24 07:58:58 +02:00
2018-05-01 15:13:09 -07:00
2016-09-02 01:24:06 +02:00
2016-08-31 18:21:34 +02:00
2018-12-01 09:44:20 +01:00
2019-11-06 12:18:04 +01:00
2020-01-29 10:24:26 +01:00
2015-09-05 13:19:06 +02:00
2016-09-02 01:24:06 +02:00
2016-07-19 19:11:54 +02:00
2016-08-31 18:21:35 +02:00
2017-12-25 14:23:43 +01:00
2020-04-24 07:59:09 +02:00
2021-07-20 16:21:15 +02:00
2015-09-05 19:37:16 +02:00
2015-10-28 10:30:17 +09:00
2016-07-19 18:15:21 +02:00
2015-12-20 13:39:00 +01:00
2015-09-05 13:19:10 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2016-07-09 10:24:45 +02:00
2016-05-21 17:07:16 +02:00
2016-10-12 13:24:39 +02:00
2015-10-28 10:30:17 +09:00
2016-09-02 01:24:06 +02:00
2020-11-10 10:23:59 +01:00
2016-09-02 01:24:06 +02:00
2016-05-20 12:33:51 +02:00
2016-07-19 17:48:06 +02:00
2016-03-14 17:08:18 +01:00
2019-11-28 18:28:34 +01:00
2015-09-05 19:37:16 +02:00
2015-09-05 19:37:16 +02:00
2019-05-08 07:19:08 +02:00
2015-09-05 13:19:06 +02:00
2018-12-21 14:11:40 +01:00
2016-09-02 01:24:06 +02:00
2015-07-23 17:07:35 +01:00
2016-05-20 12:33:51 +02:00
2016-09-02 01:24:06 +02:00
2017-03-12 06:41:52 +01:00
2016-01-11 20:19:57 +01:00
2016-08-31 18:21:35 +02:00
2017-04-21 09:31:24 +02:00
2016-05-21 17:07:17 +02:00
2021-09-22 11:43:02 +02:00
2016-03-14 17:08:24 +01:00
2016-09-02 01:24:06 +02:00
2018-05-25 16:13:15 +02:00
2016-07-09 10:24:21 +02:00
2016-03-14 17:08:25 +01:00
2015-09-05 19:37:22 +02:00
2022-04-20 09:06:41 +02:00
2016-05-20 12:33:51 +02:00
2016-05-20 12:33:51 +02:00
2015-06-25 01:13:42 +02:00