radeon: Call pci_clear_master() instead of open-coding it.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 12 Jan 2012 15:04:11 +0000 (16:04 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Jan 2012 09:02:34 +0000 (09:02 +0000)
commit642ce5251b4fefdb8f2a55396707b8fa9f953e05
tree1ea2fc1b2ac9c3a0fa3b5920b53f2eafdc415f63
parent9f821c675a389cf4aab7f1dc8ee0860fba4f3204
radeon: Call pci_clear_master() instead of open-coding it.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/rs600.c