]> www.infradead.org Git - users/willy/xarray.git/commit
ACPI: battery: use driver core managed async probing
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 3 Sep 2024 21:20:46 +0000 (23:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Sep 2024 12:41:43 +0000 (14:41 +0200)
commiteea3d532d87ada4d844d4b00c2e17879c5ca0e9c
treebe7fb4b38d6462a37a8f20a62fd2f4fb3431ad2b
parent3745de7f2d00d44e098a2cae148cd9c1f1534070
ACPI: battery: use driver core managed async probing

In commit 0f66af530116 ("ACPI: battery: asynchronous init") the ACPI
battery driver switched to a custom async driver probing to avoid
delaying the system boot.

In the meantime the driver core gained its own async probing logic for
"slow devices which probing order is not essential for booting the system".
Switch over to the core logic and drop the custom one.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20240903-acpi-battery-async-v1-1-e4deb74fcdba@weissschuh.net
[ rjw: Changelog edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c