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