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)
commit3e4e21292d0089d4c87b933ab05c67824e940b9e
tree16f687e9d9646e43c47c0f1bb1b7ed9a931a446e
parent91f3a6aaf280294b07c05dfe606e6c27b7ba3c72
drm/radeon: simplify driver data retrieval

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>
drivers/gpu/drm/radeon/radeon_pm.c