]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdgpu: use kobj_to_dev()
authorGeliang Tang <geliangtang@163.com>
Wed, 13 Jan 2016 14:48:42 +0000 (22:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jan 2016 17:14:59 +0000 (12:14 -0500)
commitcc29ec874b3727e3f5a606bd1875e34f6e3f1593
tree8e387e1b8eae223692d3116f1237852d7c8324dc
parent403664bbf840e80a45c4b97115ac518b40487f91
drm/amdgpu: use kobj_to_dev()

Use kobj_to_dev() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c