x86/reboot: Add pci_dev_put in reboot_fixup_32.c for consistency
authorXiaotian Feng <dfeng@redhat.com>
Thu, 3 Dec 2009 11:06:40 +0000 (19:06 +0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 3 Dec 2009 11:17:55 +0000 (12:17 +0100)
commit57fea8f7ab67ef42b7f84999e49e47f8717a2d5b
treee5c0dc49f35dc8af33abad4bad33ea17de94db9d
parent22763c5cf3690a681551162c15d34d935308c8d7
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: Xiaotian Feng <dfeng@redhat.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1259838400-23833-1-git-send-email-dfeng@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/reboot_fixups_32.c