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
..
2022-10-08 08:56:37 -07:00
2022-05-22 11:32:32 -07:00
2022-11-04 16:47:01 -07:00
2022-09-25 14:22:11 -07:00
2022-09-25 14:22:11 -07:00
2022-11-23 19:11:22 +01:00
2021-10-12 07:22:41 -07:00
2021-10-12 07:22:41 -07:00
2022-10-04 19:02:54 -07:00
2022-02-09 13:00:45 +00:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2020-12-02 17:42:23 -08:00
2022-09-25 14:22:11 -07:00
2020-09-23 09:42:40 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-08-16 12:46:26 +02:00
2022-09-19 06:17:05 -07:00
2021-01-27 17:44:19 -08:00
2022-09-19 06:17:05 -07:00
2021-10-12 07:22:41 -07:00
2022-09-19 06:17:06 -07:00
2022-05-22 11:32:31 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-07-21 07:15:55 -07:00
2022-11-23 19:11:22 +01:00
2022-07-13 08:39:42 -07:00
2022-09-09 10:45:08 -07:00
2021-10-12 07:22:41 -07:00
2022-09-25 14:22:11 -07:00
2022-05-22 11:32:30 -07:00
2020-10-04 08:40:10 -07:00
2022-10-17 11:58:52 -07:00
2021-05-17 19:50:23 -05:00
2022-10-22 06:59:12 -07:00
2021-02-11 20:28:56 -08:00
2022-09-19 06:17:05 -07:00
2022-10-04 19:02:54 -07:00
2022-07-13 08:39:42 -07:00
2021-10-12 07:22:41 -07:00
2021-10-12 07:22:41 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-10-04 19:02:54 -07:00
2021-10-12 07:22:41 -07:00
2022-09-25 14:22:11 -07:00
2022-10-04 19:02:54 -07:00
2021-08-17 14:54:26 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2021-10-12 07:22:41 -07:00
2020-09-23 09:42:39 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-25 14:22:12 -07:00
2022-09-19 06:16:39 -07:00
2020-09-23 09:42:39 -07:00
2020-08-23 17:36:59 -05:00
2022-08-17 14:09:39 +02:00
2020-08-04 14:24:39 -07:00
2021-10-12 07:22:37 -07:00
2022-07-01 11:53:29 -07:00
2021-10-12 07:22:41 -07:00
2020-12-02 17:42:23 -08:00
2022-09-19 06:17:05 -07:00
2021-04-20 06:50:14 -07:00
2022-08-16 12:46:26 +02:00
2021-12-26 15:02:05 -08:00
2022-10-04 19:02:54 -07:00
2022-05-17 05:53:00 -07:00
2022-09-25 14:22:12 -07:00
2022-10-04 19:02:54 -07:00
2019-09-03 12:47:17 -07:00
2022-07-20 17:39:11 +02:00
2022-10-07 11:24:20 -07:00
2022-05-22 11:32:30 -07:00
2021-10-12 07:22:41 -07:00
2022-09-19 06:17:05 -07:00
2022-02-27 17:03:19 -08:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-07-13 08:38:19 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-25 14:22:12 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2021-04-20 06:50:14 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2019-11-06 14:37:19 -08:00
2021-04-20 06:50:14 -07:00
2022-05-22 11:32:31 -07:00
2021-10-12 07:22:41 -07:00
2021-10-12 07:22:41 -07:00
2021-04-20 06:50:14 -07:00
2020-09-23 09:42:39 -07:00
2021-04-20 06:50:14 -07:00
2021-10-12 07:22:41 -07:00
2022-09-20 07:10:58 -07:00
2020-12-02 17:42:24 -08:00
2019-06-19 17:09:55 +02:00
2022-02-09 13:00:45 +00:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2021-10-12 07:22:37 -07:00
2021-05-17 19:50:37 -05:00
2022-09-25 14:22:12 -07:00
2022-09-19 06:17:05 -07:00
2021-01-27 17:44:18 -08:00
2021-04-20 06:50:14 -07:00
2021-10-12 07:22:41 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-20 07:10:58 -07:00
2022-09-19 06:17:05 -07:00
2022-07-15 10:55:57 -07:00
2022-02-27 17:03:17 -08:00
2022-09-25 14:22:11 -07:00
2022-10-02 08:01:18 -07:00
2022-08-10 06:37:01 -07:00
2022-05-22 11:32:31 -07:00
2022-09-25 14:22:12 -07:00
2022-08-10 06:37:01 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2019-09-03 12:47:17 -07:00
2019-06-05 17:37:14 +02:00
2022-02-19 16:47:54 -08:00
2021-04-20 06:50:14 -07:00
2022-09-19 06:17:06 -07:00
2022-09-25 14:22:11 -07:00
2022-08-16 12:46:26 +02:00
2022-02-27 17:03:17 -08:00
2022-10-16 15:52:59 -07:00
2021-12-26 15:02:06 -08:00
2021-04-20 06:50:14 -07:00
2021-08-17 14:54:25 -07:00
2020-12-12 08:32:35 -08:00
2022-07-13 08:38:19 -07:00
2021-06-17 04:21:44 -07:00
2022-02-27 17:03:19 -08:00
2022-02-27 17:03:17 -08:00
2022-11-04 16:47:01 -07:00
2022-08-17 14:09:39 +02:00
2020-09-23 09:42:39 -07:00
2022-09-25 14:22:11 -07:00
2022-07-26 07:00:27 -07:00
2021-10-12 07:22:41 -07:00
2020-09-23 09:42:40 -07:00
2022-09-25 14:22:11 -07:00
2022-05-22 11:32:32 -07:00
2022-08-16 12:46:26 +02:00
2021-10-12 07:22:41 -07:00
2021-01-27 17:44:17 -08:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-02-08 09:27:33 +00:00
2020-09-23 09:42:39 -07:00
2022-02-27 17:03:18 -08:00
2022-09-19 06:17:05 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-25 14:22:12 -07:00
2022-09-19 06:17:05 -07:00
2022-09-19 06:17:05 -07:00
2022-03-03 07:40:42 -08:00
2020-10-04 08:40:10 -07:00
2022-10-04 19:02:54 -07:00
2022-03-08 09:15:22 -08:00
2022-09-25 14:22:11 -07:00
2020-03-24 21:33:36 +01:00
2021-10-12 07:22:41 -07:00
2022-09-25 14:22:11 -07:00
2022-10-04 19:02:54 -07:00
2022-09-19 06:17:05 -07:00
2022-09-25 14:22:12 -07:00
2022-09-26 15:21:33 -07:00
2020-09-23 09:42:39 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2022-10-04 19:02:54 -07:00
2019-06-05 17:30:30 +02:00
2019-06-05 17:30:30 +02:00
2021-12-28 08:04:10 -08:00