Andy Shevchenko
54e3aca84e
ACPI / utils: Drop reference in test for device presence
...
When commit 8661423eea1a ("ACPI / utils: Add new acpi_dev_present
helper") introduced acpi_dev_present(), it missed the fact that
bus_find_device() took a reference on the device found by it and
the callers of acpi_dev_present() don't drop that reference.
Drop the reference on the device in acpi_dev_present().
Fixes: 8661423eea1a ("ACPI / utils: Add new acpi_dev_present helper")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2019-03-19 22:34:21 +01:00
..
2019-02-24 21:12:01 +01:00
2019-03-04 11:16:35 +01:00
2019-01-11 10:02:59 +00:00
2019-01-29 11:04:15 +01:00
2019-03-16 13:05:32 -07:00
2019-02-18 13:27:15 +10:00
2019-02-15 00:19:58 +01:00
2018-06-05 10:08:27 -07:00
2018-10-16 10:03:00 +02:00
2016-04-27 23:42:57 +02:00
2018-12-11 12:16:41 +01:00
2016-06-04 00:20:07 +02:00
2019-03-12 09:50:56 +01:00
2019-01-24 22:46:04 +01:00
2017-06-07 12:20:49 +02:00
2018-09-18 16:15:33 -05:00
2017-07-24 22:52:00 +02:00
2018-10-04 09:01:06 +02:00
2019-02-22 00:14:31 -08:00
2018-10-31 08:54:17 -07:00
2018-09-27 18:29:00 +02:00
2018-11-21 13:30:13 +01:00
2016-01-04 22:10:30 +01:00
2018-10-04 08:58:32 +02:00
2018-10-18 09:11:53 +02:00
2019-02-13 23:38:34 +01:00
2018-05-24 10:52:49 +02:00
2018-08-09 10:49:35 +02:00
2017-07-04 22:15:20 +02:00
2017-09-14 11:59:30 +02:00
2019-02-27 10:47:59 +01:00
2018-07-09 11:32:44 +02:00
2015-07-08 02:27:32 +02:00
2015-07-08 02:27:32 +02:00
2019-02-18 11:27:42 +01:00
2019-01-22 19:45:52 +01:00
2015-08-07 02:55:18 +02:00
2018-10-12 12:29:48 +02:00
2019-03-12 09:56:18 +01:00
2017-11-09 00:55:16 +01:00
2019-01-22 19:45:52 +01:00
2019-02-01 12:56:49 +01:00
2017-11-02 11:10:55 +01:00
2017-12-16 03:05:37 +01:00
2018-06-12 16:19:22 -07:00
2018-11-26 18:19:11 +01:00
2015-07-08 02:27:32 +02:00
2019-01-29 11:01:30 +01:00
2017-06-22 02:18:20 +02:00
2019-02-24 21:12:01 +01:00
2019-01-14 11:42:18 +01:00
2019-01-15 23:16:18 +01:00
2019-03-16 13:05:32 -07:00
2018-12-18 11:06:05 +01:00
2018-12-20 10:19:49 +01:00
2016-09-10 02:50:50 +02:00
2019-02-24 21:12:01 +01:00
2017-04-24 11:58:56 -05:00
2018-09-17 16:32:24 -05:00
2017-09-14 11:59:30 +02:00
2019-01-02 11:45:49 +01:00
2019-03-11 12:14:57 +01:00
2017-11-02 11:10:55 +01:00
2018-08-20 14:46:18 -04:00
2017-07-27 01:51:06 +02:00
2019-02-18 11:29:13 +01:00
2017-11-02 11:10:55 +01:00
2018-06-12 16:19:22 -07:00
2016-12-24 11:46:01 -08:00
2018-06-12 16:19:22 -07:00
2018-12-05 12:01:55 +03:00
2018-12-20 10:19:49 +01:00
2019-02-24 21:12:01 +01:00
2018-10-08 08:41:35 +02:00
2018-10-08 08:41:35 +02:00
2017-11-02 11:10:55 +01:00
2019-02-05 19:38:20 +02:00
2018-12-18 10:51:16 +01:00
2017-11-02 11:10:55 +01:00
2018-11-26 18:29:47 +01:00
2019-03-12 10:34:58 +01:00
2019-01-14 11:42:18 +01:00
2017-09-14 11:59:30 +02:00
2019-03-19 22:34:21 +01:00
2018-03-20 10:38:17 +01:00
2017-11-02 11:10:55 +01:00