Files
linux/include/linux
Uwe Kleine-König 2b329f5694 platform/x86: wmi: Make remove callback return void
The driver core ignores the return value of struct bus_type::remove()
(and so wmi_dev_remove()) because there is only little that can be done.

To simplify the quest to make this function return void, let struct
wmi_driver::remove() return void, too. All implementers of this callback
return 0 already and this way it should be obvious to driver authors
that returning an error code is a bad idea.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20210301160404.1677064-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-03-08 11:33:39 +01:00
..
2021-02-26 15:49:51 -07:00
2021-02-26 09:41:03 -08:00
2021-02-17 14:07:48 +01:00
2021-02-08 12:28:07 +01:00
2021-02-11 13:24:44 -08:00
2021-03-04 06:36:22 -07:00
2021-02-26 09:41:03 -08:00
2021-02-17 14:12:42 +01:00
2021-02-26 09:41:02 -08:00
2021-02-26 09:41:03 -08:00
2021-02-26 09:41:03 -08:00
2021-02-08 12:28:07 +01:00
2021-02-16 16:11:14 -05:00
2021-02-17 13:17:49 -08:00
2021-02-26 09:40:59 -08:00
2021-02-26 09:41:03 -08:00
2021-03-02 17:25:46 -07:00
2021-02-20 10:13:32 -05:00
2021-02-09 12:27:29 -05:00
2021-02-13 17:17:53 +01:00
2021-02-09 12:15:07 +01:00
2021-02-08 22:58:55 +01:00