Arnd Bergmann be0e975264 ACPI: dock: fix enum-conversion warning
gcc points out a type mismatch:

drivers/acpi/dock.c: In function 'hot_remove_dock_devices':
drivers/acpi/dock.c:234:53: warning: implicit conversion from 'enum <anonymous>' to 'enum dock_callback_type' [-Wenum-conversion]
  234 |   dock_hotplug_event(dd, ACPI_NOTIFY_EJECT_REQUEST, false);

This is harmless because 'false' still has the correct numeric value,
but passing DOCK_CALL_HANDLER documents better what is going on
and avoids the warning.

Fixes: 37f908778f20 ("ACPI / dock: Walk list in reverse order during removal of devices")
Fixes: f09ce741a03a ("ACPI / dock / PCI: Drop ACPI dock notifier chain")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2020-10-27 19:30:27 +01:00
..
2020-10-23 10:06:38 -07:00
2020-10-15 14:43:29 -07:00
2020-10-13 14:44:50 +02:00
2020-10-14 11:42:04 -07:00
2019-06-23 09:23:33 +02:00
2020-10-15 10:46:16 -07:00
2020-10-27 19:30:27 +01:00
2020-07-09 14:09:28 +02:00
2020-06-30 19:32:45 +02:00
2019-11-13 11:12:08 +01:00
2020-08-05 10:51:40 -07:00
2020-05-14 13:49:33 +02:00
2020-10-15 14:43:29 -07:00
2020-06-02 13:25:52 -07:00
2020-07-09 14:09:28 +02:00
2020-10-22 18:58:26 +02:00
2020-10-13 14:44:57 +02:00