]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/sysfs: use kobj_to_dev()
authorGeliang Tang <geliangtang@163.com>
Wed, 13 Jan 2016 14:48:41 +0000 (22:48 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Jan 2016 15:43:07 +0000 (16:43 +0100)
commitd122cbf1a310d962cef45c2f161b8dc3ec1475a3
treebdfc704495cb7c659407f2c795b081e37b2841d1
parentf5949141a21ee16edf1beaf95cbae7e419171ab5
drm/sysfs: use kobj_to_dev()

Use kobj_to_dev() instead of open-coding it.

Link: http://patchwork.freedesktop.org/patch/msgid/3fea991541fbfc4ffece2c174adeb02cb9436c90.1452696179.git.geliangtang@163.com
Signed-off-by: Geliang Tang <geliangtang@163.com>
drivers/gpu/drm/drm_sysfs.c