Guenter Roeck
cfe9ee3ab3
watchdog: st_lpc_wdt: Convert to use device managed functions
...
Use device managed functions to simplify error handling, reduce
source code size, improve readability, and reduce the likelyhood of bugs.
The conversion was done automatically with coccinelle using the
following semantic patches. The semantic patches and the scripts
used to generate this commit log are available at
https://github.com/groeck/coccinelle-patches
- Use devm_add_action_or_reset() for calls to clk_disable_unprepare
- Introduce local variable 'struct device *dev' and use it instead of
dereferencing it repeatedly
- Use devm_watchdog_register_driver() to register watchdog device
Cc: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
2019-05-05 21:02:28 +02:00
..
2014-10-20 16:21:56 +02:00
2017-12-28 20:45:28 +01:00
2017-12-28 20:45:28 +01:00
2019-05-05 21:02:12 +02:00
2018-03-24 10:19:40 +01:00
2019-05-05 21:02:14 +02:00
2019-05-05 21:02:14 +02:00
2019-05-05 21:02:14 +02:00
2018-03-24 10:19:40 +01:00
2019-05-05 21:02:12 +02:00
2018-03-24 10:19:40 +01:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:15 +02:00
2018-03-24 10:19:40 +01:00
2018-03-24 10:19:40 +01:00
2019-05-05 21:02:15 +02:00
2019-05-05 21:02:15 +02:00
2019-05-05 21:02:16 +02:00
2019-05-05 21:02:10 +02:00
2018-10-02 13:32:25 +02:00
2019-05-05 21:02:16 +02:00
2019-05-05 21:02:12 +02:00
2017-11-21 15:57:07 -08:00
2018-12-09 15:03:27 +01:00
2019-05-05 21:02:16 +02:00
2019-05-05 21:02:16 +02:00
2019-05-05 21:02:17 +02:00
2019-05-05 21:02:17 +02:00
2019-05-05 21:02:18 +02:00
2017-09-09 20:29:53 +02:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:12 +02:00
2018-03-24 10:19:40 +01:00
2019-05-05 21:02:19 +02:00
2017-12-28 20:45:51 +01:00
2019-05-05 21:02:10 +02:00
2019-05-05 21:02:19 +02:00
2015-09-28 10:56:01 +02:00
2014-10-20 16:21:56 +02:00
2019-05-05 21:02:19 +02:00
2018-12-22 12:15:31 +01:00
2019-05-05 21:02:09 +02:00
2017-12-28 20:45:52 +01:00
2014-03-31 13:31:06 +02:00
2018-12-22 12:15:32 +01:00
2019-05-05 21:02:20 +02:00
2019-05-05 21:02:13 +02:00
2019-05-05 21:02:11 +02:00
2014-03-31 13:26:31 +02:00
2014-03-31 13:26:56 +02:00
2019-05-05 21:02:21 +02:00
2013-11-17 19:38:13 +01:00
2017-09-09 20:06:25 +02:00
2013-11-17 19:38:13 +01:00
2018-10-02 13:32:25 +02:00
2018-10-02 13:32:25 +02:00
2019-05-05 21:02:20 +02:00
2013-11-17 19:38:13 +01:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:11 +02:00
2019-05-05 21:02:21 +02:00
2015-08-05 10:35:49 -07:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:22 +02:00
2013-11-17 19:38:13 +01:00
2019-05-05 21:02:13 +02:00
2019-05-05 21:02:11 +02:00
2019-05-05 21:02:22 +02:00
2019-05-05 21:02:22 +02:00
2018-03-24 10:19:40 +01:00
2019-05-05 21:02:23 +02:00
2019-05-05 21:02:23 +02:00
2018-08-02 15:57:12 +02:00
2019-05-05 21:02:23 +02:00
2019-05-05 21:02:24 +02:00
2017-11-21 15:57:05 -08:00
2019-05-05 21:02:24 +02:00
2019-05-05 21:02:24 +02:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:25 +02:00
2018-12-24 08:27:56 +01:00
2014-10-20 16:21:56 +02:00
2016-03-01 16:25:39 +01:00
2017-02-24 14:00:23 -08:00
2019-05-05 21:02:25 +02:00
2019-05-05 21:02:12 +02:00
2016-07-17 21:04:13 +02:00
2017-09-04 21:19:03 +02:00
2017-09-04 21:19:03 +02:00
2019-05-05 21:02:25 +02:00
2019-05-05 21:02:12 +02:00
2015-06-22 15:54:35 +02:00
2019-05-05 21:02:12 +02:00
2019-03-02 15:28:20 +01:00
2017-12-28 20:45:29 +01:00
2017-12-28 20:45:50 +01:00
2017-11-21 15:57:07 -08:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:12 +02:00
2019-03-02 15:28:18 +01:00
2019-05-05 21:02:26 +02:00
2013-11-17 19:38:13 +01:00
2019-05-05 21:02:12 +02:00
2016-10-08 10:27:13 +02:00
2016-10-08 10:27:17 +02:00
2019-05-05 21:02:26 +02:00
2018-01-08 10:08:36 +00:00
2016-03-01 15:29:42 +01:00
2017-11-21 15:57:07 -08:00
2019-05-05 21:02:12 +02:00
2015-09-09 21:39:22 +02:00
2014-10-20 16:21:56 +02:00
2019-05-05 21:02:26 +02:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:26 +02:00
2019-05-05 21:02:27 +02:00
2019-05-05 21:02:12 +02:00
2017-02-24 14:00:23 -08:00
2019-05-05 21:02:27 +02:00
2019-05-05 21:02:12 +02:00
2019-03-02 15:28:21 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2013-11-17 19:38:13 +01:00
2019-05-05 21:02:12 +02:00
2019-03-02 15:28:22 +01:00
2019-03-02 15:28:21 +01:00
2018-04-16 10:22:39 +02:00
2018-12-01 22:21:56 +09:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:27 +02:00
2019-03-02 15:28:21 +01:00
2017-03-01 06:15:10 -08:00
2018-08-06 17:12:41 +02:00
2018-01-21 12:56:37 +01:00
2018-01-21 12:56:37 +01:00
2019-05-05 21:02:28 +02:00
2019-05-05 21:02:28 +02:00
2019-05-05 21:02:12 +02:00
2018-08-02 15:57:11 +02:00
2019-01-16 14:01:19 +00:00
2017-02-24 14:00:23 -08:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:12 +02:00
2019-05-05 21:02:12 +02:00
2019-01-07 10:10:35 +01:00
2019-05-05 21:02:12 +02:00
2018-10-22 10:16:28 +02:00
2017-09-04 14:41:02 +01:00
2019-05-05 21:02:12 +02:00
2018-03-24 10:19:40 +01:00
2015-09-09 21:39:22 +02:00
2018-10-02 13:32:25 +02:00
2018-12-09 15:03:28 +01:00
2019-03-02 15:28:22 +01:00
2018-04-16 10:22:39 +02:00
2018-04-16 10:22:39 +02:00
2017-12-28 20:45:56 +01:00
2015-12-29 20:36:01 +01:00
2018-10-02 13:32:24 +02:00
2016-10-08 10:27:24 +02:00
2017-11-02 11:10:55 +01:00
2018-05-21 21:24:40 +02:00
2013-11-17 19:38:13 +01:00
2014-03-31 13:28:20 +02:00
2013-11-17 19:38:13 +01:00
2017-12-28 20:45:30 +01:00
2017-04-20 12:02:32 +01:00
2018-03-24 10:19:40 +01:00
2018-03-24 10:19:40 +01:00
2017-12-28 20:45:44 +01:00
2017-09-09 21:16:17 +02:00
2019-05-05 21:02:12 +02:00