Dawei Li
6c0eb5ba35
ACPI: make remove callback of ACPI driver void
...
For bus-based driver, device removal is implemented as:
1 device_remove()->
2 bus->remove()->
3 driver->remove()
Driver core needs no inform from callee(bus driver) about the
result of remove callback. In that case, commit fc7a6209d571
("bus: Make remove callback return void") forces bus_type::remove
be void-returned.
Now we have the situation that both 1 & 2 of calling chain are
void-returned, so it does not make much sense for 3(driver->remove)
to return non-void to its caller.
So the basic idea behind this change is making remove() callback of
any bus-based driver to be void-returned.
This change, for itself, is for device drivers based on acpi-bus.
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Lee Jones <lee@kernel.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dawei Li <set_pte_at@outlook.com>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com> # for drivers/platform/surface/*
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2022-11-23 19:11:22 +01:00
..
2019-10-23 17:23:46 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2022-01-05 10:38:37 +01:00
2021-10-26 21:31:08 +02:00
2020-05-25 08:55:46 +02:00
2022-10-02 12:55:40 +02:00
2019-05-21 11:28:40 +02:00
2022-10-02 12:55:33 +02:00
2019-10-23 17:23:46 +02:00
2019-05-05 21:02:12 +02:00
2020-01-27 15:55:44 +01:00
2020-08-05 18:42:53 +02:00
2018-03-24 10:19:40 +01:00
2021-08-22 10:28:08 +02:00
2022-07-23 14:21:25 +02:00
2020-08-05 18:42:46 +02:00
2022-10-02 12:55:30 +02:00
2022-09-26 23:00:13 +10:00
2020-10-14 15:02:24 +02:00
2021-03-17 13:16:18 -07:00
2021-03-17 13:16:18 -07:00
2019-07-08 15:13:04 +02:00
2019-05-05 21:02:16 +02:00
2021-10-26 21:31:05 +02:00
2022-05-21 10:07:31 +02:00
2021-12-28 14:03:03 +01:00
2021-11-01 20:18:09 +01:00
2021-06-21 08:49:14 +02:00
2019-07-15 08:49:11 +02:00
2022-07-23 14:26:41 +02:00
2019-07-08 20:35:11 +02:00
2019-05-05 21:02:19 +02:00
2022-10-02 12:55:38 +02:00
2022-10-19 19:49:47 +02:00
2022-07-23 14:18:46 +02:00
2022-10-02 12:55:36 +02:00
2020-08-05 18:42:53 +02:00
2020-12-13 16:17:41 +01:00
2019-07-08 19:39:44 +02:00
2022-06-09 12:20:34 +02:00
2022-10-02 12:55:32 +02:00
2019-07-08 15:13:06 +02:00
2020-08-05 18:42:53 +02:00
2019-10-23 17:23:46 +02:00
2019-07-08 20:46:48 +02:00
2019-06-19 17:09:55 +02:00
2022-03-27 17:04:07 +02:00
2022-10-02 12:55:47 +02:00
2021-06-21 08:49:14 +02:00
2019-10-23 17:23:46 +02:00
2021-01-25 20:05:32 +02:00
2021-06-21 08:49:04 +02:00
2021-02-07 14:41:18 +01:00
2020-03-10 10:20:27 +01:00
2020-03-10 10:20:27 +01:00
2022-05-21 10:09:28 +02:00
2022-03-27 17:04:28 +02:00
2021-06-21 08:49:11 +02:00
2022-10-13 10:31:13 -07:00
2021-06-21 08:48:57 +02:00
2019-06-05 17:36:38 +02:00
2019-06-19 17:09:55 +02:00
2019-07-08 15:13:08 +02:00
2021-06-21 08:49:03 +02:00
2020-08-05 18:42:53 +02:00
2021-05-17 18:56:23 -05:00
2022-10-02 12:55:35 +02:00
2021-08-22 10:28:11 +02:00
2022-07-23 14:21:23 +02:00
2021-06-22 12:40:31 +02:00
2019-07-08 15:13:09 +02:00
2019-07-08 15:13:10 +02:00
2019-11-03 19:54:53 +01:00
2022-10-02 12:55:41 +02:00
2021-06-21 08:49:05 +02:00
2019-10-23 17:23:46 +02:00
2021-10-26 21:31:10 +02:00
2019-05-05 21:02:24 +02:00
2021-08-22 10:28:10 +02:00
2022-01-05 10:38:51 +01:00
2019-06-19 17:09:55 +02:00
2022-07-23 14:21:25 +02:00
2021-06-21 08:48:58 +02:00
2022-11-23 19:11:22 +01:00
2019-07-08 15:13:11 +02:00
2022-10-02 12:55:41 +02:00
2020-08-05 18:43:01 +02:00
2020-08-05 18:43:01 +02:00
2021-07-07 12:57:46 -07:00
2021-06-21 08:49:08 +02:00
2021-10-26 20:22:51 +02:00
2019-07-08 20:35:11 +02:00
2022-03-27 17:04:28 +02:00
2022-07-23 14:21:28 +02:00
2020-08-05 18:42:53 +02:00
2020-10-14 15:02:22 +02:00
2021-01-26 07:42:27 +01:00
2019-07-08 15:13:12 +02:00
2019-07-08 15:13:12 +02:00
2019-10-23 17:23:46 +02:00
2022-07-23 14:21:28 +02:00
2019-09-16 22:10:05 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2022-07-20 21:57:39 +10:00
2021-06-21 08:49:12 +02:00
2019-07-08 15:13:14 +02:00
2020-08-05 18:42:53 +02:00
2020-10-14 15:02:21 +02:00
2022-07-23 14:21:24 +02:00
2022-03-27 17:04:09 +02:00
2021-03-23 15:22:40 +01:00
2021-03-17 13:16:18 -07:00
2019-12-30 15:58:29 +01:00
2019-06-19 17:09:55 +02:00
2019-05-05 21:10:34 +02:00
2022-10-02 12:55:43 +02:00
2021-10-26 21:31:10 +02:00
2022-10-02 12:55:37 +02:00
2022-05-21 10:09:31 +02:00
2022-10-02 12:55:42 +02:00
2022-10-02 12:55:39 +02:00
2022-07-23 14:21:26 +02:00
2020-08-05 18:42:53 +02:00
2021-06-21 08:48:59 +02:00
2020-08-05 18:42:53 +02:00
2019-07-08 20:35:11 +02:00
2019-10-23 17:23:46 +02:00
2020-12-13 16:17:41 +01:00
2021-10-26 20:22:51 +02:00
2021-06-21 08:49:02 +02:00
2020-08-23 17:36:59 -05:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:54 +02:00
2019-05-30 11:26:32 -07:00
2022-07-14 10:50:36 +01:00
2021-08-22 10:28:09 +02:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:43:02 +02:00
2022-10-19 19:49:46 +02:00
2022-10-02 12:55:48 +02:00
2022-03-27 17:04:33 +02:00
2020-12-13 16:17:39 +01:00
2022-07-23 14:21:26 +02:00
2021-10-26 21:31:02 +02:00
2019-07-08 15:13:17 +02:00
2019-05-05 21:02:29 +02:00
2019-05-30 11:26:32 -07:00
2022-05-08 10:34:05 +02:00
2021-10-26 21:31:08 +02:00
2022-07-23 14:21:27 +02:00
2021-08-22 10:28:10 +02:00
2019-05-05 21:02:32 +02:00
2022-05-21 10:09:31 +02:00
2022-10-07 11:03:25 +02:00
2019-06-19 17:09:55 +02:00
2019-05-05 21:02:32 +02:00
2019-05-30 11:29:22 -07:00
2020-10-14 15:22:58 +02:00
2022-10-02 12:55:34 +02:00
2021-06-21 08:49:03 +02:00
2022-10-02 12:55:39 +02:00
2020-08-05 18:42:53 +02:00
2022-10-12 09:47:02 +02:00
2021-06-21 08:49:13 +02:00
2022-10-12 09:47:02 +02:00
2021-06-21 08:49:13 +02:00
2021-06-21 08:49:13 +02:00
2019-07-08 20:35:11 +02:00
2022-10-02 12:55:31 +02:00
2020-08-23 17:36:59 -05:00
2020-08-05 18:42:53 +02:00
2020-08-05 18:42:53 +02:00
2021-06-21 08:49:09 +02:00
2021-06-21 08:49:09 +02:00
2020-03-18 11:15:24 +01:00
2018-03-24 10:19:40 +01:00
2019-07-08 15:13:18 +02:00
2022-08-16 12:46:26 +02:00