drm/radeon: simplify driver data retrieval
authorJean Delvare <[email protected]>
Tue, 10 Sep 2013 08:30:44 +0000 (10:30 +0200)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/radeon/radeon_pm.c