Commit 57fea8f7 authored by Xiaotian Feng's avatar Xiaotian Feng Committed by Ingo Molnar
Browse files

x86/reboot: Add pci_dev_put in reboot_fixup_32.c for consistency

pci_get_device will increase the ref count of found device.
Although we're going to reset soon, we should use pci_dev_put
to decrease the ref count for consistency.
Signed-off-by: default avatarXiaotian Feng <>
Acked-by: default avatarH. Peter Anvin <>
Cc: Yinghai Lu <>
LKML-Reference: <>
Signed-off-by: default avatarIngo Molnar <>
parent 22763c5c
......@@ -80,6 +80,7 @@ void mach_reboot_fixups(void)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment