Skip to content
Commit 3e4e2129 authored by Jean Delvare's avatar Jean Delvare Committed by Alex Deucher
Browse files

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: default avatarJean Delvare <jdelvare@suse.de>
Cc: David Airlie <airlied@linux.ie>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 91f3a6aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment