drm/radeon: simplify driver data retrieval
authorJean Delvare <jdelvare@suse.de>
Tue, 10 Sep 2013 08:30:44 +0000 (10:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:36 +0000 (11:44 -0400)
You can get the driver data from struct device directly, there's no
need to get the PCI device first.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: David Airlie <airlied@linux.ie>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

No differences found