kernel_optimize_test/drivers/acpi
Andy Shevchenko 54e3aca84e ACPI / utils: Drop reference in test for device presence
When commit 8661423eea ("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: 8661423eea ("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
..
acpica ACPI/ACPICA: Trivial: fix spelling mistakes and fix whitespace formatting 2019-02-24 21:12:01 +01:00
apei Merge branch 'acpi-apei' 2019-03-04 11:16:35 +01:00
arm64 ACPI/IORT: Fix rc_dma_get_range() 2019-01-11 10:02:59 +00:00
dptf ACPI / DPTF: remove header search path to the parent directory 2019-01-29 11:04:15 +01:00
nfit device-dax for 5.1 2019-03-16 13:05:32 -07:00
pmic Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
x86 ACPI / x86: Make PWM2 device always present at Lenovo Yoga Book 2019-02-15 00:19:58 +01:00
ac.c
acpi_adxl.c
acpi_amba.c
acpi_apd.c ACPI / APD: Add clock frequency for Hisilicon Hip08 SPI controller 2018-12-11 12:16:41 +01:00
acpi_cmos_rtc.c
acpi_configfs.c ACPI / configfs: Mark local data structures static 2019-03-12 09:50:56 +01:00
acpi_dbg.c ACPI: debug: Clean up acpi_aml_init() 2019-01-24 22:46:04 +01:00
acpi_extlog.c
acpi_ipmi.c
acpi_lpat.c
acpi_lpit.c
acpi_lpss.c clk: x86: Move clk-lpss.h to platform_data/x86 2019-02-22 00:14:31 -08:00
acpi_memhotplug.c mm/memory_hotplug: make add_memory() take the device_hotplug_lock 2018-10-31 08:54:17 -07:00
acpi_pad.c
acpi_platform.c ACPI / platform: Add SMB0001 HID to forbidden_id_list 2018-11-21 13:30:13 +01:00
acpi_pnp.c
acpi_processor.c
acpi_tad.c
acpi_video.c ACPI / video: Extend chassis-type detection with a "Lunch Box" check 2019-02-13 23:38:34 +01:00
acpi_watchdog.c
battery.c
bgrt.c
blacklist.c
bus.c ACPI / bus: Respect PRP0001 when retrieving device match data 2019-02-27 10:47:59 +01:00
button.c
cm_sbs.c
container.c
cppc_acpi.c ACPI / CPPC: Add a helper to get desired performance 2019-02-18 11:27:42 +01:00
custom_method.c ACPI: no need to check return value of debugfs_create functions 2019-01-22 19:45:52 +01:00
debugfs.c
device_pm.c
device_sysfs.c ACPI / device_sysfs: Avoid OF modalias creation for removed device 2019-03-12 09:56:18 +01:00
dock.c
ec_sys.c ACPI: no need to check return value of debugfs_create functions 2019-01-22 19:45:52 +01:00
ec.c Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk" 2019-02-01 12:56:49 +01:00
event.c
evged.c
fan.c
glue.c ACPI / glue: Add acpi_platform_notify() function 2018-11-26 18:19:11 +01:00
hed.c
internal.h ACPI: EC: Clean up probing for early EC 2019-01-29 11:01:30 +01:00
ioapic.c
irq.c ACPI/ACPICA: Trivial: fix spelling mistakes and fix whitespace formatting 2019-02-24 21:12:01 +01:00
Kconfig ACPI / tables: table override from built-in initrd 2019-01-14 11:42:18 +01:00
Makefile ACPI / LPSS: Make PCI dependency explicit 2019-01-15 23:16:18 +01:00
numa.c device-dax for 5.1 2019-03-16 13:05:32 -07:00
nvs.c
osi.c ACPI / OSI: Add OEM _OSI string to enable dGPU direct output 2018-12-18 11:06:05 +01:00
osl.c ACPICA: Remove PCI bits from ACPICA when CONFIG_PCI is unset 2018-12-20 10:19:49 +01:00
pci_irq.c
pci_link.c ACPI/ACPICA: Trivial: fix spelling mistakes and fix whitespace formatting 2019-02-24 21:12:01 +01:00
pci_mcfg.c
pci_root.c
pci_slot.c
power.c ACPI: power: Skip duplicate power resource references in _PRx 2019-01-02 11:45:49 +01:00
pptt.c ACPI: tables: Simplify PPTT leaf node detection 2019-03-11 12:14:57 +01:00
proc.c
processor_core.c
processor_driver.c
processor_idle.c ACPI / processor: Set P_LVL{2,3} idle state descriptions 2019-02-18 11:29:13 +01:00
processor_pdc.c
processor_perflib.c
processor_thermal.c
processor_throttling.c
property.c PCI / ACPI: Identify untrusted PCI devices 2018-12-05 12:01:55 +03:00
reboot.c ACPI: Allow CONFIG_PCI to be unset for reboot 2018-12-20 10:19:49 +01:00
resource.c ACPI/ACPICA: Trivial: fix spelling mistakes and fix whitespace formatting 2019-02-24 21:12:01 +01:00
sbs.c
sbshc.c
sbshc.h
scan.c ACPI / scan: Create platform device for BSG2150 ACPI nodes 2019-02-05 19:38:20 +02:00
sleep.c ACPI: PM: Loop in full LPS0 mode only 2018-12-18 10:51:16 +01:00
sleep.h
spcr.c ACPI: SPCR: Consider baud rate 0 as preconfigured state 2018-11-26 18:29:47 +01:00
sysfs.c ACPI: sysfs: Prevent get_status() from returning acpi_status 2019-03-12 10:34:58 +01:00
tables.c ACPI / tables: table override from built-in initrd 2019-01-14 11:42:18 +01:00
thermal.c
utils.c ACPI / utils: Drop reference in test for device presence 2019-03-19 22:34:21 +01:00
video_detect.c
wakeup.c