Uwe Kleine-König
e0191f305f
mfd: twl4030-audio: Convert to platform remove callback returning void
...
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is ignored (apart
from emitting a warning) and this typically results in resource leaks.
To improve here there is a quest to make the remove callback return
void. In the first step of this quest all drivers are converted to
.remove_new(), which already returns void. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().
Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231123165627.492259-19-u.kleine-koenig@pengutronix.de
Signed-off-by: Lee Jones <lee@kernel.org>
2023-12-07 13:50:28 +00:00
..
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2023-08-18 21:48:03 +01:00
2023-12-07 13:50:26 +00:00
2023-08-18 21:48:03 +01:00
2023-08-22 08:07:50 +01:00
2023-06-15 09:19:37 +01:00
2023-08-22 08:07:50 +01:00
2023-08-18 21:48:03 +01:00
2023-08-18 21:48:03 +01:00
2023-11-01 10:02:12 +00:00
2021-04-14 16:06:40 +01:00
2023-11-01 10:02:16 +00:00
2021-11-05 14:40:26 +00:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2020-11-19 08:34:22 +00:00
2023-08-18 21:48:03 +01:00
2023-06-15 09:19:37 +01:00
2023-04-26 11:40:27 +01:00
2023-11-01 10:02:11 +00:00
2023-04-26 11:40:32 +01:00
2023-06-15 09:19:37 +01:00
2021-01-15 13:23:36 +00:00
2023-11-01 10:02:17 +00:00
2023-08-18 21:48:03 +01:00
2023-04-26 11:40:32 +01:00
2023-06-15 09:19:37 +01:00
2023-12-07 13:50:26 +00:00
2023-08-17 12:06:11 +01:00
2023-08-17 12:06:11 +01:00
2023-09-23 11:10:23 -07:00
2023-08-17 12:06:11 +01:00
2023-08-18 21:48:01 +01:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:02 +01:00
2023-06-15 09:19:37 +01:00
2023-04-26 11:40:32 +01:00
2023-08-18 21:48:03 +01:00
2023-04-26 11:40:32 +01:00
2023-04-26 11:40:31 +01:00
2023-08-18 21:48:03 +01:00
2023-08-18 21:48:03 +01:00
2020-11-19 08:34:21 +00:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2021-08-05 14:19:59 +01:00
2023-11-01 10:02:14 +00:00
2023-11-01 10:02:13 +00:00
2023-06-15 09:19:37 +01:00
2023-12-07 13:50:26 +00:00
2023-04-26 11:40:31 +01:00
2023-12-07 13:50:26 +00:00
2023-06-15 09:19:37 +01:00
2023-12-07 13:50:26 +00:00
2023-11-01 10:02:17 +00:00
2021-10-05 08:56:08 +01:00
2020-04-24 11:18:44 +01:00
2021-08-11 16:00:53 +03:00
2022-07-19 10:54:42 +01:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2020-08-13 07:50:05 +01:00
2023-12-07 13:50:26 +00:00
2023-12-07 13:50:25 +00:00
2023-12-07 13:50:25 +00:00
2021-12-29 13:17:01 +00:00
2023-06-15 09:19:36 +01:00
2023-06-15 09:19:36 +01:00
2023-06-15 09:19:36 +01:00
2021-08-12 11:39:39 +01:00
2023-08-22 08:07:50 +01:00
2023-11-01 10:02:12 +00:00
2021-11-05 14:40:27 +00:00
2023-09-19 15:05:20 +01:00
2023-12-07 13:50:27 +00:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2020-07-01 14:54:29 +01:00
2023-11-01 10:02:17 +00:00
2023-08-18 21:48:03 +01:00
2023-06-15 09:19:37 +01:00
2022-09-28 16:09:50 +01:00
2023-06-15 09:19:37 +01:00
2023-11-01 10:02:17 +00:00
2023-11-01 10:02:18 +00:00
2021-09-07 08:44:07 +01:00
2022-12-07 13:28:07 +00:00
2023-11-01 10:02:12 +00:00
2023-08-18 21:48:03 +01:00
2023-08-17 12:06:11 +01:00
2023-11-01 10:02:15 +00:00
2023-08-18 21:48:03 +01:00
2023-06-15 09:19:37 +01:00
2023-11-01 10:02:09 +00:00
2023-11-01 10:02:13 +00:00
2023-11-01 10:02:17 +00:00
2023-11-01 10:02:12 +00:00
2023-11-01 10:02:15 +00:00
2023-06-15 09:19:37 +01:00
2023-11-01 10:02:15 +00:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2023-08-18 21:48:03 +01:00
2022-03-07 14:00:27 +00:00
2023-08-22 08:07:52 +01:00
2023-11-01 10:02:16 +00:00
2021-11-05 14:40:26 +00:00
2021-07-21 11:53:42 +02:00
2023-12-07 13:50:27 +00:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2023-11-01 10:02:10 +00:00
2023-11-01 10:02:16 +00:00
2023-06-15 09:19:37 +01:00
2023-08-18 21:48:03 +01:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2022-09-28 16:09:50 +01:00
2023-08-18 21:48:03 +01:00
2023-08-18 21:48:03 +01:00
2023-12-07 13:50:27 +00:00
2023-06-15 09:19:37 +01:00
2023-03-20 09:08:48 +00:00
2023-05-02 10:41:31 -07:00
2022-09-09 07:54:47 +01:00
2023-12-07 13:50:27 +00:00
2023-12-07 13:50:27 +00:00
2023-11-01 10:02:10 +00:00
2023-12-07 13:50:27 +00:00
2023-06-15 09:19:37 +01:00
2022-12-07 13:28:11 +00:00
2023-11-01 10:02:17 +00:00
2023-12-07 13:50:27 +00:00
2023-08-18 21:48:03 +01:00
2023-11-01 10:02:18 +00:00
2023-08-18 21:48:03 +01:00
2023-06-15 09:19:36 +01:00
2023-06-15 09:19:37 +01:00
2020-11-19 08:34:21 +00:00
2023-06-15 09:19:37 +01:00
2023-12-07 13:50:25 +00:00
2023-11-01 10:02:15 +00:00
2023-05-15 16:20:22 +01:00
2023-11-01 10:02:17 +00:00
2023-08-18 21:48:03 +01:00
2023-08-18 21:48:03 +01:00
2023-08-18 21:48:03 +01:00
2021-07-13 12:20:44 +01:00
2023-08-22 08:07:50 +01:00
2023-08-22 08:07:50 +01:00
2023-04-26 11:40:34 +01:00
2023-06-15 09:19:37 +01:00
2023-08-18 21:48:03 +01:00
2023-06-15 09:19:37 +01:00
2023-08-22 08:07:52 +01:00
2023-04-26 11:40:34 +01:00
2023-08-18 21:48:03 +01:00
2023-04-26 11:40:26 +01:00
2023-04-26 11:40:26 +01:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2021-08-16 13:45:34 +01:00
2023-06-15 09:19:37 +01:00
2023-12-07 13:50:28 +00:00
2023-06-15 09:19:37 +01:00
2023-08-18 21:48:03 +01:00
2023-08-18 21:48:03 +01:00
2022-03-08 09:44:05 +00:00
2023-08-18 21:48:03 +01:00
2023-12-07 13:50:28 +00:00
2023-06-15 15:05:49 +01:00
2023-08-22 08:07:51 +01:00
2023-04-26 11:40:31 +01:00
2023-06-21 18:45:37 +01:00
2021-11-05 14:40:26 +00:00
2023-08-22 08:07:51 +01:00
2023-06-15 09:19:37 +01:00
2023-08-18 21:48:03 +01:00
2021-06-02 10:51:19 +01:00
2023-02-22 08:25:53 +00:00
2023-08-22 08:07:52 +01:00
2023-12-07 13:50:28 +00:00
2023-08-18 21:48:03 +01:00
2022-12-07 13:28:13 +00:00
2023-06-15 09:19:37 +01:00
2023-08-18 21:48:03 +01:00
2023-11-01 10:02:14 +00:00
2023-08-18 21:48:03 +01:00
2023-06-26 16:38:30 +01:00
2023-12-07 13:36:29 +00:00
2023-07-03 10:55:04 -07:00
2023-12-07 13:50:26 +00:00
2023-11-01 10:02:14 +00:00
2023-08-18 21:48:03 +01:00
2023-11-01 10:02:14 +00:00
2023-06-15 09:19:38 +01:00
2023-11-01 10:02:17 +00:00
2023-12-07 13:50:28 +00:00
2023-11-01 10:02:15 +00:00
2023-06-15 09:19:37 +01:00
2022-06-10 14:51:36 +02:00
2023-04-26 11:40:28 +01:00
2023-12-07 13:50:28 +00:00
2022-09-28 16:17:41 +01:00
2023-11-01 10:02:17 +00:00
2023-11-01 10:02:17 +00:00
2023-08-18 21:48:03 +01:00
2023-11-01 10:02:15 +00:00
2022-04-28 17:24:40 +01:00
2021-06-15 13:02:01 +01:00
2022-12-07 13:28:11 +00:00
2022-11-14 10:01:39 +01:00
2023-11-01 10:02:11 +00:00
2023-06-15 09:19:37 +01:00
2023-01-25 09:34:20 +01:00
2021-02-08 13:54:40 +00:00
2023-08-18 21:48:03 +01:00
2023-11-01 10:02:17 +00:00
2021-06-15 13:01:45 +01:00
2023-11-01 10:02:16 +00:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:02 +01:00
2020-07-06 08:31:57 +01:00
2023-06-15 09:19:37 +01:00
2023-06-15 09:19:37 +01:00
2023-11-01 10:02:17 +00:00
2021-08-05 12:41:06 +01:00
2023-08-18 21:48:02 +01:00
2023-08-18 21:48:03 +01:00
2023-08-18 21:48:03 +01:00