drm/radeon: use kobj_to_dev()
authorGeliang Tang <geliangtang@163.com>
Wed, 13 Jan 2016 14:48:43 +0000 (22:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jan 2016 17:15:53 +0000 (12:15 -0500)
commite3837b00b6bb2b0344dd28c601edda8eba42de7f
treef9c93f9085c734caf300393a6228a7c8eabe3f89
parentcc29ec874b3727e3f5a606bd1875e34f6e3f1593
drm/radeon: 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/radeon/radeon_pm.c