pci: use pci_word_test_and_clear_mask() in pci_device_reset()
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 19 Oct 2010 09:06:30 +0000 (18:06 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Oct 2010 11:57:33 +0000 (13:57 +0200)
commit7b5c41a8b032c29ed67c3babfa0001af7a4f0ab5
treea15b183fe6020027123a978021d56871cfabfddf
parent54816cd0035219f7138fe162962e0f8ad9d40fe0
pci: use pci_word_test_and_clear_mask() in pci_device_reset()

use pci_clear_bit_word() in pci_device_reset() where appropriate.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c